[TYPO3-dev] Substitute an ul element?

B.Wolf bw at shs-it.de
Mon Nov 23 13:04:10 CET 2009


Hi
sorry for posting on the wrong list, I'll take care now.


B.Wolf schrieb:
> Hi there,
> 
> in my template I got a structure like this:
> 
> <ul id="topinfolist">
>     <li class="rss">
>             <a href="#">RSS</a>
>      </li>
> </ul>
> 
> When I try to subtitute this, it doesn't work:
> subparts.einetestid = TEXT
> subparts.einetestid.value = test
> 
> 
> Now, wrap a div arond the UL in my temaplte and substitue this, it works:
> <div id="wrapperdiv">
> <ul id="topinfolist">
>     <li class="rss">
>             <a href="#">RSS</a>
>      </li>
> </ul>
> </div>
> This works:
> subparts.wrapperdiv = TEXT
> subparts.wrapperdiv.value = test
> 
> 
> Can you explain this to me?
> Thanks very much,
> greets b




More information about the TYPO3-dev mailing list