Field information

View: New views
1 Messages — Rating Filter:   Alert me  

Field information

by Tapio Markula-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I created a new menu for nsb_cat2menu and I would like to publich a
plugin, which extends it.

I created static template and there
lib.nsbcat2menu

it is by user fuction made HMENU, which lacks features.
It doesn't support in allWrap.dataWrap and std.dataWrap {field:xxx}

I would need info of uid - I must use arficial way to create unique
numeric id values



NO.before.cObject=LOAD_REGISTER
NO.before.cObject{
        mainMenuNumber.cObject=TEXT
        mainMenuNumber.cObject{
        value={register:mainMenuNumber}+1
        insertData=1
      }
      mainMenuNumber.prioriCalc=intval
}
...

IFSUB < .NO
IFSUB.allWrap.dataWrap =<li
id="tx_dropdownsitemap_pi1_{register:mainMenuNumber}">...


NO.before.cObject=LOAD_REGISTER
NO.before.cObject{
        subMenuNumber.cObject=TEXT
        subMenuNumber.cObject{
        value={register:subMenuNumber}+1
        insertData=1
      }
      subMenuNumber.prioriCalc=intval
}


IFSUB < .NO
IFSUB.allWrap.dataWrap =<li
id="tx_dropdownsitemap_pi1_{register:mainMenuNumber}{register:subMenuNumber}">...


using register all values are unique and at the point of functionality
of the menu everything is ok


Would there be however a way to get real uid values.
Artificial uid values are bad for setting defauld expanded menu - uid
must look from source code.
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
LightInTheBox - Buy quality products at wholesale price