TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] content doesn't load - probably error in template TS

This is a discussion on [TYPO3] content doesn't load - probably error in template TS within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi there, I am using the auto template parser for my new website and encounter the following problem: The template ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 20.08.2008, 11:12
Jonas Kaiser
Gast
 
Beiträge: n/a
Standard [TYPO3] content doesn't load - probably error in template TS

Hi there,
I am using the auto template parser for my new website and encounter the
following problem: The template is imported and the menu is created as I
have so far set it up, but for some reason, the content columns are not
imported and instead the dummy text in the template file shows up.
Here is the link to the website as it currently looks: cms.landaro.de
and this is my typoscript from the template record:

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

# Menu 1 cObject
temp.dyn-menu = HMENU

# First level menu-object, textual
temp.dyn-menu.1 = TMENU
temp.dyn-menu.1 {
# Normal state properties
NO.allWrap = <div class="vnav-l1-no"> | </div>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="vnav-l1-act"> | </div>
ACT.stdWrap.htmlSpecialChars = 1
}

# Second level menu-object, textual
temp.dyn-menu.2 = TMENU
temp.dyn-menu.2 {
# Normal state properties
NO.allWrap = <div class="vnav-l2-no"> | </div>
NO.stdWrap.htmlSpecialChars = 1
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="vnav-l2-act"> | </div>
ACT.stdWrap.htmlSpecialChars = 1
}

# 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 dynamic menu in
subparts.main-menu < temp.dyn-menu
# substitute content from normal column
subparts.content-primary < styles.content.get
# substitute content from border column [uncomment next line]
# subparts.content-border < styles.content.getBorder
}

# 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.config.doctype = xhtml_trans
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


[end of TS]
For your information: typo3 version 4.2.1 and I have checked that there is a
content record present in the normal column of the subpage "home" which is
definitely not set on hide or something ...
Same thing is happening on the subpage storyboard, so I guess there's an
error in my TS which I can't spot ...

Probably some of you have an idea?
many thanks in advance, yours
Jonas


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jonas Kaiser
Churchill College - Cambridge
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 20.08.2008, 13:55
Arjen Hoekema
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] content doesn't load - probably error in template TS

Hi Jonas,

Did you add "CSS Styled Content" to the list of static includes in your
template? Looks like there's no content in "styles.content.get".

Grtz,

Arjen
_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] Load content from another page Jan Bednarik typo3-english@lists.netfielders.de 6 03.06.2008 09:22
[TYPO3] SmoothGallery does not load in Tex w/ Pic Content Finees Mendez typo3-english@lists.netfielders.de 0 29.05.2008 13:26
[TYPO3] Bug? Using UTF-8, 'Ä' in template.constants: Error 102! Martin Bless typo3-english@lists.netfielders.de 11 22.08.2007 10:55
[TYPO3-templavoila] preview and compare shows template error? werner mueller typo3-project-templavoila@lists.netfielders.de 8 29.03.2007 10:30
[TYPO3] template not found error John Nicholas typo3-english@lists.netfielders.de 0 24.01.2007 01:22


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:09 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39