Цитата:
Сообщение от Alex Podusov
Левая колонка: Web - Templavoila; Средняя колонка - системная папка с шаблонами TV; в правом поле - клик по иконке DS шаблона, в выпавшей меню - Правка. Откроется структура DS, с блоком textarea - XML структуры данных.
|
Спасибо за подробное разъяснение!
Вот XML
Код:
<?xml version="1.0" encoding="windows-1251" 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_menu type="array">
<tx_templavoila>
<title>Main menu</title>
<sample_data type="array">
<numIndex index="0">This is menu!</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<tags>*:inner</tags>
<TypoScriptObjPath>lib.menu_1</TypoScriptObjPath>
</tx_templavoila>
</field_menu>
<field_content type="array">
<tx_templavoila type="array">
<title>Paje content</title>
<sample_data type="array">
<numIndex index="0">Page content here!</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>Paje content</label>
</TCEforms>
</field_content>
</el>
</ROOT>
</T3DataStructure>