DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Multiline page header

Licensing

The extension icon is retrieved from the "Silk" icon set of Mark James, which can be found at http://www.famfamfam.com/lab/icons/silk/. This set is distributed under a Creative Commons Attribution 2.5 License. The license text can be found at http://creativecommons.org/licenses/by/2.5/.

What does the extension do?

This extension allows you to enter not just one line for the page header, but multiple lines. (It will not change anything with the header of a single content element.)

Screenshot

How does it work?

After installing the extension in the extension manager, there is only one thing you need to do:

In the setup field of your TypoScript template you have to set the br switch from stdWrap for your header so that the linebreaks you enter in the backend are transformed to <br> tags in your actual output.

Example:

Let's assume your page headline uses the marker HEADER. You then would have to write something like the following (the line "HEADER.br = 1" is the important one):

page.20.marks {
  HEADER = TEXT
  HEADER.field = title
  HEADER.br = 1
}

That's it!