[TYPO3] How to show content from parent page to all subpages
Jan Bednarik
info at bednarik.org
Wed Aug 15 14:24:00 CEST 2007
> temp.mycontent = COA
> temp.mycontent {
> 10 = CONTENT
> 10 {
> table = tt_content
> select {
> pidInList.data = leveluid:2
> # or any other level instead of 2
> # depends on the level of the parent pages
> }
> }
> 20 < styles.content.get
> }
I'd change this TS a bit:
temp.mycontent = COA
temp.mycontent {
10 < styles.content.get
10 {
select {
pidInList.data = leveluid:2
# or any other level instead of 2
# depends on the level of the parent pages
}
}
20 < styles.content.get
}
then you don't need to worry about language overlay etc.
--
Jan Bednarik
www.bednarik.org - web about Typo3 in czech
More information about the TYPO3-english
mailing list