Zum Inhalt springen

Menü und CSS

Erstellt am 28. September 2005 · 2 Antworten · letzte Antwort am 30. September 2005

Tags: Frage

TeisT ·

Hallo!

Ich habe das modern template building tutorial 1 durch und wollte nun etwas Praxis haben, aber nun stoße ich schon auf das erste Problem.

So soll das Layout ungefähr aussehen:
Bild

Mit dem Autoparser hat das auch ganz gut geklappt.Das Menü oben rechts wird zwar angezeigt aber ich bekomme es über das stylesheet nicht formatiert.

http://www.zweihochacht.de/typo.css

Ist dort noch irgendwas falsch definiert?

Und bekomme ich die zweite Ebene (links) durch Offset verschiebung hin oder würde das jemand anders machen?

aktueller Stand: hier

# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/zweihochacht/zweihochacht.html
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
DIV.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/zweihochacht/
}



# Menu 1 cObject
temp.menu1 = HMENU
# First level menu-object, textual
temp.menu1.1 = TMENU
temp.menu1.1 {
# Normal state properties
NO.allWrap = <div class="a.menu1No"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="a.menu1Act"> | </div>
}


# 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
workOnSubpart = DOCUMENT_BODY
# Substitute the ###menu_1### subpart with some example content:
subparts.menu1 < temp.menu1


# Substitute the ###content### subpart with some example content:
subparts.content <styles.content.get


}
# 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
TeisT ·

Keiner eine Idee?

Bin mir ziemlich sicher, dass mit der CSS-Datei irgendwie etwas falsch definiert ist. Die formatierung passt nicht, weil kein <a> Tag definiert ist...

Leider wird's im Tutorial nicht wieter erläutert.