Gist title Gist summary

One-page template with dynamic sections

Pages

FluidTYPO3.Flux

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

Content, Pages, Provider

FluidTYPO3.Fluidcontent, FluidTYPO3.Fluidpages

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

Content, Pages, ViewHelpers

FluidTYPO3.Vhs

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

Content, Pages

FluidTYPO3.Fluidpages, FluidTYPO3.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)

Pages, ViewHelpers

FluidTYPO3.Fluidpages, FluidTYPO3.Vhs

Rendering a browse menu with prev/next which detects first and last page. (2 Buttons only)

Reusable FlexForms / Use FlexForms from Partials

Content, Pages, Forms

FluidTYPO3.Flux, FluidTYPO3.Fluidpages

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

Pages, ViewHelpers

FluidTYPO3.Fluidpages, FluidTYPO3.Vhs

How to manually render page menus or treat specific page uids different from others in a menu

Set page meta-tags - contains FAL example

Pages, ViewHelpers

FluidTYPO3.Fluidpages, FluidTYPO3.Vhs

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

Pages, ViewHelpers

FluidTYPO3.Fluidpages, FluidTYPO3.Vhs

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.