[TYPO3-english] Make page overlap its children
Hannes Lau
office at hanneslau.de
Wed Sep 16 19:57:59 CEST 2015
Hey!
On 16.09.15 19:37, alex kek wrote:
> Hey I have a main page that contains a few sub pages. The sub pages can
> be accessed by clicking on the dropdown of the main page.
>
> I want some content to be shown on the right column of the sub pages.
> The content there is supposed to be the same on every sub page.
> The "Main Page" item just links to the first Sub Page. Is there any way
> to just put the content (which I want to be shown on the right of every
> Sub Page) into the "Main Page" so I don't have to add it to every single
> page manually?
Assuming that you render your content in TypoScript, you can use the
slide feature:
https://wiki.typo3.org/Content_Slide
lib.content_right < styles.content.getRight
lib.content_right {
slide = -1
}
You might just have to convince the TYPO3 BE to let you add content to
the shortcut page. Maybe you will have to switch the doktype to Standard
to do this or use the list module.
> Or can you even set this to to your whole project?
You can collect you content to a sysfolder and then select it from there
lib.content_right = CONTENT
lib.content_right {
table = tt_content
select.pidInList = {$sysfolder_with_sidebar_contents}
}
https://docs.typo3.org/typo3cms/TyposcriptReference/ContentObjects/Content/Index.html
Cheers,
Hannes
--
Hannes Lau
[Berlin, GMT+2]
Tel: +49 30 45096367
Mob: +49 179 1304344
More information about the TYPO3-english
mailing list