[TYPO3-templavoila] TemplaVoila
Matej Smitala
matej.smitala at gmail.com
Sat Jul 18 00:04:07 CEST 2009
Hello, i have this problem with templavoila content rendering. The thing is,
that no matter what kind of content do i insert with templavoila web > page
module it doesnt appear in frontend.
When preview button after mapping did render "sample data" correctly in the
content element.
here is my DS
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<T3DataStructure>
<meta type="array">
<langDisable>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>
</tx_templavoila>
<type>array</type>
<el type="array">
<field_content type="array">
<tx_templavoila type="array">
<title>Content of page</title>
<description>Map this for main content
element</description>
<sample_data type="array">
<numIndex index="0">Toto je obsah</numIndex>
</sample_data>
<eType>ce</eType>
<TypoScript><![CDATA[
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
]]></TypoScript>
<oldStyleColumnNumber
type="integer">0</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 of page</label>
</TCEforms>
</field_content>
</el>
</ROOT>
</T3DataStructure>
Now all i get in frontend html source is
<div id="main"><!--TYPO3SEARCH_begin--><!--TYPO3SEARCH_end--></div>
I am wondering if it has anything to do with table tt_content being empty or
something.
I am running typo3 source 4.1.12 with dummy on local computer with WAMP.
Page structure is pretty simple.
Root page emplate setup contains
page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
i have no problem creating menu like in tutorial , but i just cant get the
CONTENT to apear in frontend
I am new to templavoila, so i am sorry in advance if i missed some basic
part of tutorial, but i read it up-down and find nothing that would help me.
Thanx for reply
Matej Smitala
More information about the TYPO3-project-templavoila
mailing list