[TYPO3-english] alwaysActivePIDlist problem

Adrian Marcinkowski ad1822 at gmail.com
Mon Jan 28 21:43:03 CET 2013


Hi Sinisa,
Thank you for your response! It works :)

Best regards,
Adi

2013/1/28 <sinisa.mitrovic at europoint.com>

> 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
> >
>
>
> _______________________________________________
> 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