For now this feature is only active in the Insider Builds. If you like to enable it on regular installations just follow these steps:
https://github.com/microsoft/vscode/issues/183297#issuecomment-1594350702
Some code snippets which I need in my daily life
For now this feature is only active in the Insider Builds. If you like to enable it on regular installations just follow these steps:
https://github.com/microsoft/vscode/issues/183297#issuecomment-1594350702
After getting an new 4k monitor you may wounder how to adjust the font setting of Thunderbird. May the font is a little bit to small. So you will go and search for the right setting. But there isn’t one in the UI. You need to use the configuration editor. (about:config). So open Options, scoll down to the end and open the „Config Editor“.
Now you can adjust this setting:
layout.css.devPixelsPerPx
Per default it is set to -1. Which means „use the system settings“.
But if you do not want to adjust the system settings for some reasons you can override it.
A value of 1.5 will scale the display by 150%. A value of 2.0 by 200%.
Find the setting you like đ
Since Typo3 Version 9 you don’t longer need an extention to rewrite urls. All you need is a site configuration. The basic setup can be done with the UI. But at least for me an important setting isn’t set as default. The routes are servered withouth the .html extention.
How ever it’s very easy to extend this setting via a the config.yaml
file. You’ll find this file at typo3conf/site/<name>
. Just append these settings and you are fine:
... routeEnhancers: PageTypeSuffix: type: PageType default: '.html' index: 'index' map: '.html': 0
If you like to improve the search experience of you website you may want to add a rich card. One of these rich cards are the breadcrumbs. First, you need to decide which format you like: microdata or JSON-LD.
These snippets will generate a microdata that you can also use as your standard breadcrumb:
lib.richcard_breadcrumb { special = rootline special.range = 1 | 7 wrap = <ol itemscope itemtype="http://schema.org/BreadcrumbList"> | </ol> 1 = TMENU 1 { NO.ATagParams = itemprop="item" NO.allWrap =<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">|</li> NO.stdWrap.wrap = <span itemprop="name">|</span> NO.after.cObject = COA NO.after.cObject { 5 = TEXT 5.dataWrap = <meta itemprop="position" content="{register:count_MENUOBJ}|" /> } } }
If you do not want to show a breadcrumb or like the JSON-LD more just use this code:
lib.richcard_breadcrumb = HMENU lib.richcard_breadcrumb { special = rootline special.range = 1 | 7 wrap = { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": | ] } 1 = TMENU 1 { NO.allWrap = [ || ,| NO.doNotLinkIt = 1 NO.stdWrap.wrap = { "@type": "ListItem", "item": { | } NO.stdWrap.cObject = COA NO.stdWrap.cObject { 10 = TEXT 10 { stdWrap.typolink.parameter.field = uid stdWrap.typolink.forceAbsoluteUrl = 1 stdWrap.typolink.returnLast = url htmlSpecialChars = 1 wrap = "@id": "|", } 20 = TEXT 20 { field = title wrap = "name": "|" } } NO.after.cObject = COA NO.after.cObject { 5 = TEXT 5.dataWrap = ,"position": {register:count_MENUOBJ} | } } } }
If you like to modify the „Append with Link to Top of Page“ output of fluidtemplate (fluid_styled_content) (which is the default setting of Typo3 Version 8. However you can even use it with Version 6 or 7) you need to create an partial override.
Hint: When using css_style_content you can use tt_content.stdWrap.innerWrap2 ...
to modify the output.
First you need to add the location of your override directory to you setup:
lib.contentElement.partialRootPaths.100 = EXT:tpl_site/Resources/Private/Partials/override/
Within this directory you now can override any file of
typo3/sysext/fluid_styled_content/Resources/Private/Partials
Beware of the folder structure!
The render of the „to top“-feature is in the file „Footer/All.html“. Therefore we need to create this file. It is a good idea to copy the original file and then make the modifications you like to do. I liked to add a class. So this is my file:
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:if condition="{data.linkToTop}">
<a class="topTopLink" href="#top"><f:translate key="toTop" extensionName="fluid_styled_content" /></a>
</f:if>
</html>
When you are using Synergy with Windows as server you may notice that Max OS has some slightly different key bindings đ The most annoying one can be fixed by Synergy itself. Just open the configuration editor double click on the Mac computer and change the modifiery keys (ctrl=meta, meta=ctrl). So Ctrl+S will work on the Mac the same way as it do on an Windows PC.
Most of the time a finde -mtime x
does a good job. But it not always return the expected results đ But you just need to use on of the other options đ
find -newermt '2016-08-01T00:00:00'
Will return all files modified since the give timestamp.
While trying to run an Windows Universal App on a Windows 10 Emulator I got this error message:
Microsoft Synthetic 3D Display Controller: Failed to Power on with Error 'Insufficient system resources exist to complete the requested service.' (0x800705AA).
Ups!
Quick Solution:
Now it should work.
Since a long time it’s possible to split your TypoScripts into external files and include them from your template via
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/fileToInclude.ts">
So it’s very easy to use your favorite editor and, more important, organize the TypoScript-Files into smaller, reusable chunks.
My common setup is something like that:
Template-Code:
<INCLUDE_TYPOSCRIPT: source="FILE: fileadmin/tpl/include.ts">
fileadmin/tpl/include.ts:
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/tpl/ts/site.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/tpl/ts/defaults.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/tpl/ts/header.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/tpl/ts/menu.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/tpl/ts/plugin_news.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/tpl/ts/plugin_facebook.ts">
But there is one large downside. Every include adds an [GLOBAL]
at the end of file. So it’s not possible to include files based on a multi level condition. For example if you like to develop a new design and want to test it on a test domain. For more information see https://forge.typo3.org/issues/16525
But since Typo3 7.6 there is something which can help. Continue reading
After upgrading a Typo3 4.5 Installation to Version 6.2 your old pibase extension may still running. Hmm .. at least mostly đ
You just need to remove some requice_once
statements and modify the ext_table.php
to use the \TYPO3\CMS\Core\Utility\ExtensionManagementUtility
class. Most of the other stuff is still there.
Once when you try to upgrade to version 7.6 you are in need to modify a bit more. But don’t worry. After all it isn’t that complicated. And by the way … you don’t need to wait until you upgrade. These changes are running very well even in an 6.2 installation.
So here is a small list of needed action to upgrade from 4.5 via 6.2 to 7.6 đ
Continue reading