[TYPO3-dev] sublink is not showed IFSUB problem

Thomas Petersen tp at codem.dk
Wed Sep 18 11:55:00 CEST 2013


No sry. i still only get the mainNavi link

lib.mainNavi = HMENU
lib.mainNavi.entryLevel=0
lib.mainNavi.1 = TMENU
lib.mainNavi.1 {
  wrap = <ul id="navigation">|</ul>
  expAll = 0
  NO.allWrap = <li class="drop">|</li>
  NO.stdWrap.wrap = <span>|</span>
  RO < .NO 
  RO = 1
  CUR < .NO 
  CUR = 1
  CUR.allWrap = <li class="current_page_item">|</li>
  CUR.stdWrap.wrap = <span>|</span>
  ACT < .CUR 
  #Sub menu links
  IFSUB = 1
  IFSUB.wrapItemAndSub= <li class="drop">|</li>
  IFSUB.stdWrap.wrap = <span>|</span>
    ACTIFSUB < .IFSUB
    CURIFSUB < .IFSUB
}
lib.mainNavi.2 < lib.mainNavi.1



Quote: Soren Malling (sorenmalling) wrote on Wed, 18 September 2013 11:31
----------------------------------------------------
> Hi Thomas,
> 
> Try and add a
> 
> lib.mainMenu.2 < lib.mainMenu.1
> 
> to the bottom of the configuration
> 
> 
> On Wed, Sep 18, 2013 at 11:23 AM, Thomas Petersen <tp at codem.dk> wrote:
> 
> > Hi.
> >
> > I have this menu code, its working fine for the main menu, but the
> > SUBlinks is not generated.
> > I have made some pages under one of my mainlinks, so the pages is there.
> >
> > So its must be the IFSUB code thats something wrong with.
> > Can someone maybe help ?
> >
> > lib.mainNavi.entryLevel=0
> > lib.mainNavi.1 = TMENU
> > lib.mainNavi.1 {
> >  wrap = <ul id="navigation">|</ul>
> >  expAll = 0
> >  NO.allWrap = <li class="drop">|</li>
> >  NO.stdWrap.wrap = <span>|</span>
> >  RO < .NO  RO = 1
> >  CUR < .NO  CUR = 1
> >  CUR.allWrap = <li class="current_page_item">|</**li>
> >  CUR.stdWrap.wrap = <span>|</span>
> >  ACT < .CUR  #Sub menu links
> >  IFSUB = 1
> >  IFSUB.wrapItemAndSub= <li class="drop">|</li>
> >  IFSUB.stdWrap.wrap = <span>|</span>
> >    ACTIFSUB < .IFSUB
> >    CURIFSUB < .IFSUB
> > }
> > ______________________________**_________________
> > TYPO3-dev mailing list
> > TYPO3-dev at lists.typo3.org
> > http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-dev<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev>
> >
----------------------------------------------------





More information about the TYPO3-dev mailing list