[Typo3] why <A> tag shows up twice?

Bing Du du_bing at hotmail.com
Wed Jun 8 19:03:26 CEST 2005


Typo3 generated the following HTML for the second level menu item:

<a href="index.php?id=8" onfocus="blurLink(this);" onclick="return 
toggleSubmenu(this);"><a href="index.php?id=8" 
onfocus="blurLink(this);">Overview</a></a>

This is how the second level defined.

====================
temp.nav.2 {
   expAll = 1
   wrap = <tr><td nowrap><ul> | </ul></td></tr>

   NO {

     RO = 1

     before.data = field:uid
     beforeWrap = <li><a href="index.php?id=|" onfocus="blurLink(this);" 
onclick="return toggleSubmenu(this);">
     stdWrap.field = title
     stdWrap.wrap = |</a>
     after.field = uid
     afterWrap = <ul style="display:none;" id="page|">
     wrapItemAndSub = |<li></li></ul></li>
   }

   ACT < .NO
}
==================

What was done wrong in temp.nav.2 that caused the duplicate <a 
href="index.php?id=8" onfocus="blurLink(this);">?

Thanks in advance for help.

Bing



More information about the TYPO3-english mailing list