Zum Inhalt springen

New und Gästebuch werden nicht angezeigt

Erstellt am 9. Juni 2005 · 1 Antwort · letzte Antwort am 22. Juni 2005

Tags: tt_news, Frage

hubert12 ·

Hallo
Ich bin ein Typo3 Anfänger und fange langsam an zu verzweifeln.

Ich habe meine Site laut der Doku "modern template building 1" erstellt.
mit auto-parser plugin und css content.

Normalen Content kann ich damit anzeigen.

Nur news und das Gästebuch werden nicht angezeigt. Ich vermute das ich da irgendetwas generelles übersehen habe!?

Ich hoffe irgenwer kann mir da weiterhelfen?!

Danke Hubert

Folgende Template TS habe ich angelegt (aufgeteilt in einzlne elemente):

ext: Auto-parser plugin
Setup:
# Configuring the Auto-Parser:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/template/lwg_typo3_template_02.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/template/
}

ext:Navigation
Setup:
###########################################################
#Navigation cObject
###########################################################
temp.navigation = HMENU
#temp.navigation.special = directory
#temp.navigation.special.value = 3
#temp.navigation.entryLevel=1

# First level menu-object, textual
temp.navigation.1 = TMENU
temp.navigation.1 {

# Normal state properties
NO.allWrap = <ul><li>|</li>|*|<li>|</li>|*|<li>|</li></ul>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <ul><li class="selected">|</li>|*|<li class="selected">|</li>|*|<li class="selected">|</li></ul>
}
#Second level menu-object, textual
temp.navigation.2 < temp.navigation.1
temp.navigation.3 < temp.navigation.1

###########################################################
#Toolbox cObject
###########################################################
temp.toolbox = HMENU
temp.toolbox.special = directory
temp.toolbox.special.value = 2

# First level menu-object, textual
temp.toolbox.1 = TMENU
temp.toolbox.1 {

# Normal state properties
NO.allWrap = <ul><li>|</li>|*|<li>|</li>|*|<li>|</li></ul>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <ul><li class="selected">|</li>|*|<li class="selected">|</li>|*|<li class="selected">|</li></ul>
}

ext: Main TEMPLATE cObject
Setup:
# 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

#subparts.container = TEXT
#subparts.container.value = Container

# Substitute the ###menu_1### subpart with dynamic menu:
subparts.navigation < temp.navigation

subparts.toolbox < temp.toolbox

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

#subparts.additional-content < plugin.tt_news

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

tt_content.stdWrap.wrap (
<div class="cItem">
|
</div><div class="cItemEnd"></div>
)

# Default PAGE object:
page = PAGE
page.typeNum = 0

#page.stylesheet = EXT:css_styled_content/css/example.css
page.stylesheet = fileadmin/css/content.css

# 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

hubert12 ·

Problem gelöst! Offenbar haben die Extensions css-styled-conten, tt_news und guestbook nicht zusammengepasst. Nach dem löschen der bestehenden und draufkopieren der neuersten Versionen hats funktioniert!

lg. hubert