[TYPO3] How to loop in TS?
Mattias Borell
Mattias.Borell at med.lu.se
Tue Apr 8 12:48:57 CEST 2008
Hi!
Tyler Kraft wrote:
> Really easy, look at tsref in the tmenu and tmenuitems parts.
>
> temp.quickMenu-list = HMENU
> temp.quickMenu-list {
> special = list
> special.value = 90,89,87
> 1=TMENU
> 1.wrap=<select>|</select>
> 1.NO{
> doNotLinkIt = 1
> subst_elementUid = 1
> stdWrap = <option value="/index.php?id={elementUid}">|</option>
> }
> }
That seems to be the right kind of magic! :->
I had to change stdWrap to allWrap, but the rest was right on the mark -
thanks a bundle!
/Mattias, now TS enlightened...
--
Mattias Borell
Sysadmin // Developer
LUDC - Lund University Diabetes Centre
CRC, Entrance 72, House 60, floor 13
SE 205 02, Malmö, SWEDEN
Tel: +46 40 39 12 27
More information about the TYPO3-english
mailing list