[TYPO3-templavoila] TV fields not showing up

Dmitry Dulepov typo3 at fm-world.ru
Sat Mar 4 11:22:00 CET 2006


Hi!

wes currier wrote:
> Dmitry,
> Here is the XML. I re-mapped all the elements and made sure that I di
> not do something incorrectly. It is still the same.

I see.. I left only some lines in the analyses below.

>                     <field_head type="array">
>                         <type>array</type>
>                         <tx_templavoila type="array">
>                             <title>Header</title>
>                             <eType>ce</eType>

<type>array</type> cannot have <eType>ce</eType> and <eType>ce</eType>
cannot have subelements. This will confuse TemplaVoila.

>                         </tx_templavoila>
>                         <el type="array">
>                             <field_branding type="array">
>                                 <tx_templavoila type="array">
>                                     <title>Branding</title>
>                                     <eType>ce</eType>
>                                 </tx_templavoila>
>                                 <TCEforms type="array">
>                                     <config type="array">
>                                         <type>group</type>
>                                         <internal_type>db</internal_type>
>                                     </config>
>                                 </TCEforms>
>                             </field_branding>

So, this should be a first CE field to display.

>                             <field_search type="array">
>                                 <tx_templavoila type="array">
>                                     <title>Search</title>
>                                     <eType>ce</eType>
>                                 </tx_templavoila>
>                                 <TCEforms type="array">
>                                     <config type="array">
>                                         <type>group</type>
>                                         <internal_type>db</internal_type>
>                                         <allowed>tt_content</allowed>
>                                     </config>
>                                 </TCEforms>
>                             </field_search>

This is a second CE field

>                         </el>
>                     </field_head>
>                     <field_content type="array">
>                         <type>array</type>
>                         <tx_templavoila type="array">
>                             <title>CONTENT</title>
>                             <eType>ce</eType>
>                             <tags>div:inner</tags>
>                         </tx_templavoila>

Again type and eType conflict.

>                         <el type="array">
>                             <field_main type="array">
>                                 <tx_templavoila type="array">
>                                     <title>Main</title>
>                                     <eType>ce</eType>
>                                 </tx_templavoila>
>                                 <TCEforms type="array">
>                                     <config type="array">
>                                         <type>group</type>
>                                         <internal_type>db</internal_type>
>                                         <allowed>tt_content</allowed>
>                                     </config>
>                                 </TCEforms>
>                             </field_main>


Next CE field, in second block

>                             <field_sub type="array">
>                                 <tx_templavoila type="array">
>                                     <title>Sub</title>
>                                     <eType>ce</eType>
>                                 </tx_templavoila>
>                                 <TCEforms type="array">
>                                     <config type="array">
>                                         <type>group</type>
>                                         <internal_type>db</internal_type>
>                                         <allowed>tt_content</allowed>
>                                     </config>
>                                 </TCEforms>
>                             </field_sub>

Second CE field in second block

>                             <field_nav_local type="array">
>                                 <tx_templavoila type="array">
>                                     <title>Nav Local</title>
>                                     <eType>TypoScriptObject</eType>
>                                 </tx_templavoila>
>                             </field_nav_local>

Not visible in page module

>                             <field_nav_main type="array">
>                                 <tx_templavoila type="array">
>                                     <title>Nav MAIN</title>
>                                     <eType>TypoScriptObject</eType>
>                                 </tx_templavoila>
>                             </field_nav_main>

Not visible in page module

>                         </el>
>                     </field_content>
>                     <field_footer type="array">
>                         <tx_templavoila type="array">
>                             <title>Footer</title>
>                             <eType>ce</eType>
>                         </tx_templavoila>
>                         <TCEforms type="array">
>                             <config type="array">
>                                 <type>group</type>
>                                 <internal_type>db</internal_type>
>                                 <allowed>tt_content</allowed>
>                             </config>
>                         </TCEforms>
>                     </field_footer>

CE field in third group.

>                 </el>
>             </field_page>
>             <field_extra1 type="array">
>                 <tx_templavoila type="array">
>                     <title>Extra Div 1</title>
>                     <eType>ce</eType>
>                 </tx_templavoila>
>                 <TCEforms type="array">
>                     <config type="array">
>                         <type>group</type>
>                         <internal_type>db</internal_type>
>                         <allowed>tt_content</allowed>
>                     </config>
>                     <label>Extra Div 1</label>
>                 </TCEforms>
>             </field_extra1>

CE field in forth group.

>             <field_extra2 type="array">
>                 <tx_templavoila type="array">
>                     <title>Extra Div 2</title>
>                     <eType>ce</eType>
>                 </tx_templavoila>
>                 <TCEforms type="array">
>                     <config type="array">
>                         <type>group</type>
>                         <internal_type>db</internal_type>
>                         <allowed>tt_content</allowed>
>                     </config>
>                 </TCEforms>
>             </field_extra2>

CE field in fifth group.

>             <field_valid type="array">
>                 <tx_templavoila type="array">
>                     <title>Valid</title>
>                     <eType>ce</eType>
>                 </tx_templavoila>
>                 <TCEforms type="array">
>                     <config type="array">
>                         <type>group</type>
>                         <internal_type>db</internal_type>
>                         <allowed>tt_content</allowed>
>                     </config>
>                     <label>Valid</label>
>                 </TCEforms>
>             </field_valid>

CE field in sixth group.

So, there are some errors in DS but there are also clearly six blocks
with a number of CE fields in them. Try to cleanup errors and see if it
helps.

Are you sure you need so many content element areas? It can be solved
with fewer areas and a number of flexible content elements in them.

Dmitry.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-project-templavoila mailing list