[TYPO3] How to create menu with page titles as id?

Redvald Hjulstad redvald at mac.com
Sat Oct 13 23:13:46 CEST 2007


Thank you, but what I am really after is for the ID to be the page 
title, and not the number...

redvald

Christopher Torgalson skrev:
> 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>
> 
> 


More information about the TYPO3-english mailing list