[TYPO3-german] Templavoila/Multilanguage
lee perry
leeperry at slack.de
Wed Dec 5 20:17:36 CET 2007
so oliver,
ich glaub nicht, dass es dich weiter bringt, aber wer weiß ...
hier also mal ein komplettes XML.
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
<meta type="array">
<langChildren type="integer">1</langChildren>
<langDisable type="integer">1</langDisable>
</meta>
<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>
<langOverlayMode>ifBlank</langOverlayMode>
<pageModule type="array">
<titleBarColor>#66A926</titleBarColor>
<displayHeaderFields>
pages.title
pages.description
pages.keywords
pages.author
pages.lastUpdated
</displayHeaderFields>
</pageModule>
</tx_templavoila>
<type>array</type>
<el type="array">
<field_menu type="array">
<tx_templavoila type="array">
<title>Main menu</title>
<description>Pick the HTML container element where you want the
automatically made menu items to be placed.</description>
<sample_data type="array">
<numIndex index="0">[Menu goes here]</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>lib.mainMenu</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.mainMenu</TypoScriptObjPath>
</tx_templavoila>
</field_menu>
<field_submenu type="array">
<tx_templavoila type="array">
<title>Sub menu (if any)</title>
<description>Pick the HTML container element where you want the
automatically made submenu items to be placed.</description>
<sample_data type="array">
<numIndex index="0">[Menu goes here]</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<tags>table:inner,ul,div,tr,td</tags>
<eType_EXTRA type="array">
<objPath>lib.subMenu</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.subMenu</TypoScriptObjPath>
</tx_templavoila>
</field_submenu>
<field_content_headline type="array">
<tx_templavoila type="array">
<title>Content Headline</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>none</eType>
<TypoScript>
10= TEXT
10.value = {page:title}
10.insertData = 1
</TypoScript>
<proc type="array">
<HSC type="integer">0</HSC>
</proc>
</tx_templavoila>
</field_content_headline>
<field_header_infobox type="array">
<tx_templavoila type="array">
<title>Header Infobox</title>
<eType>ce</eType>
<TypoScript>
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap =
</TypoScript>
<oldStyleColumnNumber type="integer">0</oldStyleColumnNumber>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
</tx_templavoila>
<TCEforms type="array">
<label>Header Infobox</label>
<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>
</TCEforms>
</field_header_infobox>
<field_langmenu type="array">
<tx_templavoila type="array">
<title>Language Menu</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>lib.langMenu</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.langMenu</TypoScriptObjPath>
</tx_templavoila>
</field_langmenu>
<field_content type="array">
<tx_templavoila type="array">
<title>Content Boxen</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>ce</eType>
<TypoScript>
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap =
</TypoScript>
<oldStyleColumnNumber type="integer">1</oldStyleColumnNumber>
</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 Boxen</label>
</TCEforms>
</field_content>
<field_content_submenu type="array">
<tx_templavoila type="array">
<title>Submenu in Content Part</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>lib.contentsubmenu</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.contentsubmenu</TypoScriptObjPath>
</tx_templavoila>
</field_content_submenu>
<field_marginal_box type="array">
<tx_templavoila type="array">
<title>Marginal Boxes</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>ce</eType>
<TypoScript>
<![CDATA[
10= RECORDS
10.source.current=1
10.tables = tt_content
10.stdWrap.required = 1
10.stdWrap.wrap = <div id="content_marginal">|</div>
]]>
</TypoScript>
<oldStyleColumnNumber type="integer">2</oldStyleColumnNumber>
</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>Marginal Boxes</label>
</TCEforms>
</field_marginal_box>
<field_content_wide type="array">
<tx_templavoila type="array">
<title>Content Wide for Startpage</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>ce</eType>
<TypoScript>
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap =
</TypoScript>
<oldStyleColumnNumber type="integer">3</oldStyleColumnNumber>
</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 Wide for Startpage</label>
</TCEforms>
</field_content_wide>
<field_topteaserbox type="array">
<tx_templavoila type="array">
<title>Top Teaser Box</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<oldStyleColumnNumber type="integer">4</oldStyleColumnNumber>
<eType_EXTRA type="array">
<objPath>lib.teaserBox</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.teaserBox</TypoScriptObjPath>
</tx_templavoila>
<TCEforms type="array">
<label>Top Teaser Box</label>
</TCEforms>
</field_topteaserbox>
<field_logolink type="array">
<type>attr</type>
<tx_templavoila type="array">
<title>Logo Link</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>lib.logoLink</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.logoLink</TypoScriptObjPath>
</tx_templavoila>
</field_logolink>
<field_startpage_extra type="array">
<tx_templavoila type="array">
<title>Startpage Extra</title>
<sample_data type="array">
<numIndex index="0"></numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<eType_EXTRA type="array">
<objPath>lib.startpageExtra</objPath>
</eType_EXTRA>
<TypoScriptObjPath>lib.startpageExtra</TypoScriptObjPath>
</tx_templavoila>
</field_startpage_extra>
</el>
</ROOT>
</T3DataStructure>
aber nochmal meine frage, was ist denn überhaupt dein fehler?
was passiert oder passiert nicht?
grüße,
lee
> Hi Lee,
>
> Danke für Die antwort, aber das ist die Antwort, die man überall findet,
> die nur leider bei mir überhaupt nichts bringt... deswegen muss der
> fehler woanders stecken...
> ... vielleicht liegt es daran, dass ich die Seite mit einer alten
> Templavoila-Version aufgebaut habe (1.0.1 oder so) und nun die aktuelle
> verwende...
> ich weiß es nicht, aber zum vergleich hätte ich deswegen gerne mal ein
> komplettest XML
>
> MfG
> Thomas Moll
> Webmaster Team
> ZAIK/RRZK
> Universtität zu Köln
> Robert-Koch-Str. 10
> 50931 Köln
> Tel.: 0221-478-5524
More information about the TYPO3-german
mailing list