Zum Inhalt springen

Content wird nicht angezeigt

Erstellt am 11. Januar 2006 · 1 Antwort · letzte Antwort am 11. Januar 2006

Tags: Frage

paukul ·

Guten Tag,

ich arbeite mich im Moment durch das Buch "Typo3 - Handbuch für entwickler" und bin derzeit im Kapitel über TemplaVoila.
Ich habe das Problem dass die Inhalte welche ich eingebe nicht auf der Seite auftauchen.
Die Elemente sind an der richtigen stelle im Template gemaped, wenn ich auf Preview gehe sehe ich die Platzhalter genau da wo sie stehen solle, jedoch zeigt mir Typo im Frontend die Seite OHNE Inhalt an. Ich habe den content über das TV-Seite Menü eingegeben, es taucht dort auch auf.

Ich bin kurz vorm verzweifeln. Habe jetzt auch schon:
http://typo3.org/documentation/document-library/doc_tv_de/Datenstruktur_DS_u/
komplett durchgelesen aber nichts gefunden was ich anders gemacht habe!

Wo könnte der Fehler denn liegen?

Das XML sieht so aus:

<T3DataStructure>
<ROOT type="array">
<tx_templavoila type="array">
<title>ROOT</title>
<description>Select the HTML element on the page which you want to be the overall container element for the template.</description>
<tags>body</tags>
</tx_templavoila>
<type>array</type>
<el type="array">
<field_header type="array">
<tx_templavoila type="array">
<title>Header</title>
<description>Seitentitel</description>
<sample_data type="array">
<numIndex index="0">Hier steht der Seitentitel</numIndex>
</sample_data>
<eType>input_h</eType>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>48</size>
<eval>trim</eval>
</config>
<label>Header</label>
</TCEforms>
</field_header>
<field_content type="array">
<tx_templavoila type="array">
<title>Content</title>
<description>Bindet den Inhalt im Hauptfenster ein</description>
<sample_data type="array">
<numIndex index="0">Hier steht der Content blalbal Hier steht der Content blalbalHier steht der Content blalbalHier steht der Content blalbalHier steht der Content blalbal Hier steht der Content blalbalHier steht der Content blalbal Hier steht der Content blalbal Hier steht der Content blalbal Hier steht der Content blalbal Hier steht der Content blalbal Hier steht der Content blalbal</numIndex>
</sample_data>
<eType>ce</eType>
<TypoScript>
10= RECORDS
10.source.current=1
10.tables = tt_content
</TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>Content</label>
</TCEforms>
</field_content>
<field_leserservice type="array">
<tx_templavoila type="array">
<title>Leserservice</title>
<description>Box mit Login und LinkCodes</description>
<sample_data type="array">
<numIndex index="0">Leserservice steht hier</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>lib.leserservice</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.leserservice</TypoScriptObjPath>
</tx_templavoila>
</field_leserservice>
<field_margicontent type="array">
<tx_templavoila type="array">
<title>Content_Marginalie</title>
<description>Inhalte für die rechte Marginalienspalt</description>
<sample_data type="array">
<numIndex index="0">Hier der inhalt der Marginalie</numIndex>
</sample_data>
<eType>ce</eType>
<TypoScript>
10= RECORDS
10.source.current=1
10.tables = tt_content
</TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>Content_Marginalie</label>
</TCEforms>
</field_margicontent>
<field_werbung type="array">
<tx_templavoila type="array">
<title>Buchwerbung</title>
<description>Kasten mit Hinweisen zum Buchkauf</description>
<sample_data type="array">
<numIndex index="0">Hier steht Buchwerbung</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>lib.buchwerbung</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.buchwerbung</TypoScriptObjPath>
</tx_templavoila>
</field_werbung>
<field_googleads type="array">
<tx_templavoila type="array">
<title>Googleads</title>
<description>Eingebundenes Werbeskript für Google-Textanzeige</description>
<sample_data type="array">
<numIndex index="0">Hier spammt die Googlewerbung</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>lib.googleads</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.googleads</TypoScriptObjPath>
</tx_templavoila>
</field_googleads>
<field_hmenue type="array">
<tx_templavoila type="array">
<title>Hauptmenue</title>
<description>Bindet das Hauptmenü (horizontal) ein</description>
<sample_data type="array">
<numIndex index="0">Hier steht das Hauptmenü</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>lib.hmenue</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.hmenue</TypoScriptObjPath>
</tx_templavoila>
</field_hmenue>
<field_settings type="array">
<tx_templavoila type="array">
<title>Settings</title>
<description>Obere leiste mit Einstellungen</description>
<sample_data type="array">
<numIndex index="0">Hier sind die Settings</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>lib.settings</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.settings</TypoScriptObjPath>
</tx_templavoila>
</field_settings>
<field_footer type="array">
<tx_templavoila type="array">
<title>Footer</title>
<description>Einbinden der Fußzeile</description>
<sample_data type="array">
<numIndex index="0">Hier ist die Fußzeile</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>lib.footer</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.footer</TypoScriptObjPath>
</tx_templavoila>
</field_footer>
</el>
</ROOT>
</T3DataStructure>

Im Main Template steht bei Setup

# Default PAGE object:
page = PAGE
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page

Hilfe bitte...

paukul ·

hat sich erledigt...
Das template css_styled_content sollte auch unter statics eingefügt sein... #angry#