Einzelnen Beitrag anzeigen
  #1  
Alt 12.03.06, 11:49
maze maze ist offline
Forum Zuschauer
 
Registriert seit: 12.03.06
Beiträge: 4

TMENU ATagParams nicht in HTML


Ich verwende das template CrCPH und habe ein Problem, die Farbe der SubMenuLinks anders zu machen.
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
temp.L2menuItems = HMENU
temp.L2menuItems.entryLevel = 1
temp.L2menuItems.1 = TMENU
temp.L2menuItems.1.NO {
before.cObject < temp.mainTemplate
before.cObject {
workOnSubpart = SUB_L2MENU_ITEM
marks.MENU_TITLE = TEXT
marks.MENU_TITLE.field = title
wraps.LINK = TEXT
wraps.LINK {
value = |
typolink.parameter.field = uid
typolink.ATagParams = class="top"
}
}
doNotShowLink = 1 - ERROR: Line 16: The script is short of 1 end brace(s)
HTML-Code:
..
<style type="text/css">
.top:link {text-decoration: none ;color: #333333;}
.top:visited {text-decoration: none ;color: #333333;}
.top:active {text-decoration: none ;color: #333333;}
.top:hover {text-decoration: underline ;color: #333333;}
</style>
...
<!-- ###SUB_L2MENU### start     --> <table width="100%" border="0" cellspacing="2" cellpadding="2"> <!-- ###SUB_L2MENU_ALLITEMS### start      --> <!-- ###SUB_L2MENU_ITEM### start  --> <tr> <td valign="top"><img src="media/uploads/crcph/pil2.gif" width="3" height="9" alt="" /></td> <td valign="top" align="left"><font class="top" face="Verdana, Arial, Helvetica, sans-serif" size="1"><!--###LINK###-->###MENU_TITLE###<!--###LINK###--></font></td> </tr> <!-- ###SUB_L2MENU_ITEM### end  --> <!-- ###SUB_L2MENU_ITEM_ACT### start    --> <tr> <td valign="top"><img src="media/uploads/crcph/pil2.gif" width="3" height="9" alt="" /></td> <td valign="top" align="left"><font class="top" face="Verdana, Arial, Helvetica, sans-serif" size="1"><!--###LINK###--><strong>###MENU_TITLE###</strong><!--###LINK###--></font></td> </tr> <!-- ###SUB_L2MENU_ITEM_ACT### end      --> <!-- ###SUB_L2MENU_ALLITEMS### end --> </table> <!-- ###SUB_L2MENU### end -->
Im A-Tag des HTML-Files wird der Parameter class aber leider nicht angezeigt. Hat jemand eine Idee, was ich falsch mache?

Danke!
Mit Zitat antworten