Gist title | Gist summary |
---|---|
Migration, flux:field.file to inline FAL |
Upgrade wizard class to convert instances of flux:field.file which is now deprecated on TYPO3 9.5 and removed on TYPO3 10.4, to instances of inline FAL relations. |
One-page template with dynamic sections |
Realize dynamic colPos based sections with custom configurations like background-color using flux. This is especially useful if you want to build a "one-pager". |
SQL to rename a TYPO3 Provider Extension |
If you are in the need for a one liner to migrate all EXT:fluidpages based page layouts and EXT:fluidcontent based fluid content elements because the provider extension has got a new name (for whatever reason) use these SQL commands |
Simple language switcher |
Useful if you have two languages in your typo3 project and want to switch between them. 1. Get current language id with v:page.language 2. Create link to same page and a GET Param e.g. "&L=1" for the other language |
Workaround content_fallback with VHS |
If you want to use `content_fallback` you will notice that `v:content.render` doesn't work here in older versions of VHS.
The gist shows a quick workaround how you can achieve this nevertheless. |
Manual browse menus (two-button navigation) |
Rendering a browse menu with prev/next which detects first and last page. (2 Buttons only) |
Reusable FlexForms / Use FlexForms from Partials |
If you want to split long FlexForm definitions into multiple partials and use them in other templates, here is the way to go! |
Manual rendering of page menus |
How to manually render page menus or treat specific page uids different from others in a menu |
Set page meta-tags - contains FAL example |
This section defines all metatags which are used to have defined in a website. It also contains the most relevant OG-Tags for facebook. It can also be used as an example how to read FAL images related to a page record. Here it is used as og:image. |
Manual rendering of VHS menus |
Shows how to manually loop and render pages using v:page.menu instead of the built-in rendering which can only be affected in key aspects like class names. Includes a demonstration and small explanation of special properties which are added to each page's data, containing a pre-built link, link text and link tag CSS class name. |