[TYPO3-english] How can I access content from child pages?

Sergey Alexandrov serg at alexandrov.us
Fri Aug 19 22:45:35 CEST 2011


remove temp.pageIds.entryLevel = 2
Insert:
     temp.pageIds.special =directory
     temp.pageIds.special.value = pid_of_page_1

On 8/19/2011 3:59 PM, Ernesto Domato wrote:
> On Fri, Aug 19, 2011 at 16:12, Ernesto Domato<edomat at gmail.com>  wrote:
>> Hi everyone,
>>
>> Can someone help me point out how can I display the content of
>> sub-pages?. I'm trying to use the CONTENT cObject but have no luck.
>>
> Well, using Google a little I ended with this code:
>
> # Right container
> temp.pageIds = HMENU
> temp.pageIds.entryLevel = 2
> temp.pageIds.1 = TMENU
> temp.pageIds.1 {
>    noBlur = 1
>    NO.allWrap = {elementUid}, |
>    NO.doNotLinkIt = 1
>    NO.subst_elementUid = 1
> }
> lib.right_container = CONTENT
> lib.right_container.table = tt_content
> lib.right_container.select {
>    pidInList.cObject<  temp.pageIds
> }
>
> but it only shows me the first child page content instead of of the childs :-(
>
> If you don't understand well what I want to do, taking this structure:
>
> Page 1
> - Subpage 1
> -- Content for Subpage 1
> - Subpage 2
> -- Content for Subpage 2
> - Subpage 3
> -- Content for Subpage 3
>
> I can only see the "Content for Subpage 1" instead of all the content
> for subpages
>
> Thanks,
> Ernesto.
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list