[TYPO3] Gmenu not working
typo3 at net-products.nl
typo3 at net-products.nl
Fri Feb 24 15:46:08 CET 2006
I already posted this, but without a subject.
Sorry!
Hello,
Iam a newbie on typo3 Hopefully someone can help me. I must be making a
basic syntax mistake
I want to make a Gmenu but is will not work. When I make a TMENU it works!!
(which is great!!)
What am i doing wrong???
Thanx
Nico
Step 1 is the auto parser
Step 2
###############################################################################
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
# Substitute the ###menu_1### subpart with some example content:
subparts.menu_1 = IMAGE
subparts.menu_1.value < temp.gmenu
#subparts.menu_1.file = fileadmin/template/main/images/button.gif
# Substitute the ###content### subpart with some example content:
subparts.content = TEXT
subparts.content < styles.content.get
#subparts.content.value = HALLO
}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
###############################################################################
Step 3
###############################################################################
temp.gmenu = HMENU
temp.gmenu.1 = GMENU
temp.gmenu.1 {
NO {
wrap = <a class="t3menu"> | </br>
XY =100,32
5 = IMAGE
5.file = fileadmin/template/main/images/button.gif
10 = TEXT
10.niceText=1
10.text.field = title
#10.fontFile = fileadmin/fonts/Agent_Orange.ttf
10.offset=6,20
}
RO < NO
RO = 1
RO.10.fontColor = #FFFFFF
RO.5.file = fileadmin/template/main/images/button.gif
}
_______________________________________________
TYPO3-UG-dutch mailing list
TYPO3-UG-dutch at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list