[TYPO3] How to create menu with page titles as id?
Christopher Torgalson
bedlamhotel at gmail.com
Sat Oct 13 22:30:37 CEST 2007
Hi,
On 10/13/07, Redvald Hjulstad <redvald at mac.com> wrote:
> Bartosz Aninowski skrev:
> >> But this will give me the uid number of the menu item and not the title,
> >> or???
> > title and uid
> > fg MenuItem1 MenuItem2 etc
> >
> > page.10.1.NO {
> >
> > allWrap = <tr><td valign=top id="1tmenu{elementUid}"
> > style="background:#eeeeee;">|{elementUid}</td></tr>
> >
> > subst_elementUid = 1
> >
> > }
> >
> >
> Hmmm, just not getting it. Tried this:
>
> NO {
> wrapItemAndSub = <li id="{elemenUid}">|</li>
> subst_elementUid = 1
> }
>
> and got
>
> <li id="{elemenUid}"><a href="index.php?id=8" >Tjenester</a></li>
Notice that this is invalid html however. Id's may *not* begin with a
numeral. Just do something like
NO.wrapItemAndSub = <li id="page_{elementUid}">|</li>
--
Christopher Torgalson
http://www.typo3apprentice.com/
More information about the TYPO3-english
mailing list