[TYPO3-english] alwaysActivePIDlist problem

sinisa.mitrovic at europoint.com sinisa.mitrovic at europoint.com
Mon Jan 28 21:37:23 CET 2013


Hi,

Try this before "1 = TMENU":
alwaysActivePIDlist = 1,2
So it becomes:
...
temp.main_menu{
     alwaysActivePIDlist = 1,2
     1 = TMENU
...

Best regards,
Sinisa Mitrovic

> Hi list,
> I try to build the standard menu in TS. My tree looks like this:
>
> -Root pape - Home (id=1)
> ---Home - shortcut to root (id=2)
> ---subpage 2 (id=3)
> ---subpage 3 (id=4)
>
> I have this TS for that menu:
>
> temp.main_menu = HMENU
> temp.main_menu.entryLevel = 0
> temp.main_menu{
>     1 = TMENU
>     1 {
>         wrap = <nav id="main_menu"><ul>|</ul></nav>
>         alwaysActivePIDlist = 2
>         expAll = 1
>         NO = 1
>         NO {
>             ATagTitle {
>                 field = title
>                 fieldRequired = nav_title
>             }
>             wrapItemAndSub = <li>|</li>
>             stdWrap.htmlSpecialChars = 1
>         }
>         ACT < .NO
>         ACT {
>             ATagParams = class="active"
>         }
>         CUR < .NO
>         CUR {
>             ATagParams = class="selected"
>         }
>     }
> }
>
> The menu looks and works ok, but I can't set the the active state for home
> item, using alwaysActivePIDlist.
>
> I would be greateful for your help,
> Adi
> _______________________________________________
> 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