Gist title Gist summary

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

Using allowedContentTypes for Fluidcontent

Content

FluidTYPO3.Flux, FluidTYPO3.Fluidcontent, FluidTYPO3.Fluidpages

This is an example to show how you could specify a fluidcontent element as only allowedContentType

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.

Recursive page menu using VHS

ViewHelpers

FluidTYPO3.Vhs, FluidTYPO3.Fluidpages

Example for creating a menu with vhs:page.menu in a recursive way. Just set a start page and the whole tree gets rendered.

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.