Zum Inhalt springen

Seite teilweise nicht sichtbar

Erstellt am 14. September 2004 · 5 Antworten · letzte Antwort am 15. September 2004

Tags: Frage

rumburack ·

hallo,

ich habe mir das dummy paket installiert und meine seiten zusammengestellt. jetzt habe ich das problehm das hin und wieder die seiten in der front nicht sichtbar sind sondern eine weise seite angezeigt wirt.

ich habe für das template die anleitung Moderne Templateerstellung, Teil 1 benutzt.

wenn ich die anzeige aus dem backand starte werden die seiten meistens angezeigt. Alle Caches löschen hilft auch hin und wieder.

ich bin rahtlos da der fehler nur hin und wieder auftaucht.

kann einer helfen? die url ist: http://1versicherung.de/typo3

danke

rumburack ·

ich noch mal,

der fehler tritt zum Beispiel auf wenn man die KFZ - Versicherung Seite aufruft. die Seite ist genau so erstellt wie die andern. kann den keiner helfen?

mfg

jenses ·

Nu könntest du aber wirklich mal mit etwas Code rüberkommen,
oder möchtest du nicht,
daß man dir hilft ? 😉

viele Grüße
jenses

rumburack ·

hätte ich auch selber drauf kommen können 🙂 hier mein setup:

# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
#content.file = fileadmin/template/main/start.html
content.file = fileadmin/template/main2/index_sub.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

TD.all = 1
}

# Prefix all relative paths with this value:
# relPathPrefix = fileadmin/template/main/
relPathPrefix = fileadmin/template/main2/
}

#-------
# Menu 1 cObject
temp.menu_1 = HMENU
# First level menu-object, textual
temp.menu_1.1 = TMENU
temp.menu_1.1 {
# Normal state properties
NO.allWrap = <div class="menu1-level1-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level1-act"> | </div>
}
# Second level menu-object, textual
temp.menu_1.2 = TMENU
temp.menu_1.2 {
# Normal state properties
NO.allWrap = <div class="menu1-level2-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level2-act"> | </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 dynamic menu:
subparts.menu_1 < temp.menu_1

# Substitute the ###content### subpart with some example content:
subparts.content = TEXT
subparts.menu_1.value = HELLO WORLD - MENU

# Substitute the ###content### subpart with some example content:
subparts.content = TEXT
subparts.content.value = HELLO WORLD - CONTENT
#-----
# 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

ist halt eigenartig das es nur bei einigen seiten ist

jenses ·

Hallo rumburack !

Streiche mal folgendes aus deinem Template :

# Substitute the ###content### subpart with some example content: 
subparts.content = TEXT 
subparts.menu_1.value = HELLO WORLD - MENU 

# Substitute the ###content### subpart with some example content: 
subparts.content = TEXT 
subparts.content.value = HELLO WORLD - CONTENT 
#-----

Warum "subparts.menu_1.value = HELLO WORLD - MENU " nur bei einigen Seiten Ärger macht, weiß ich nicht !
Eigentlich sollte es überall Ärger machen !!
Nimms raus, das ist auf jeden Fall Quatsch.

viele Grüße
jenses