[TYPO3-english] Re: [Templating] Separating 1st level menu and 2nd level menu?
Salander
luc.berro at epitech.eu
Tue Oct 15 15:26:36 CEST 2013
Hello,
Thanks for your quick response.
The link you gave me is the tutorial I followed to create my TS config. I thought my Script was good because it's exactly the same from the documentation, except I changed menu_1 by the <div> sub_naviguation.
When you say "give your root page id to "special value" paramater", you mean I must give it the PID of my root page?
Sorry, I'm a newbie and I have some difficulties to understand everything...
Thanks again.
Cordialement,
Salander
Quote: Typo Three wrote on Tue, 15 October 2013 13:27
----------------------------------------------------
> Hi,
>
> First you need to give your root page id to "special.value" parameter. And all other scripts in my code is correct for a 2 level menu.
>
> You can check the HTML integration here;
>
>
> Can you please go through the url http://typo3.org/documentation/document-library/tutorials/doc_tut_templselect/0.1.0/view/1/3/
>
> May be problem with your scripting; Please find an example below;
> # Main TEMPLATE cObject for the BODY
> temp.mainTemplate = TEMPLATE
> temp.mainTemplate {
> # Feeding the content from the Auto-parser to the TEMPLATE cObject:
> template =< plugin.tx_automaketemplate_pi1
> # Select only the content between the <body>-tags
> workOnSubpart = DOCUMENT_BODY # Substitute the ###menu_1### subpart with dynamic menu:
> subparts.menu_1 < temp.menu_1
>
> Please check once more;
>
> With Regards,
> Arun Chandran
> Software Engineer
> PIT Solutions Pvt Ltd.
More information about the TYPO3-english
mailing list