[TYPO3-templavoila] BE Layout problems

Andrei Kantor andi_bvro at yahoo.com
Mon May 17 00:07:38 CEST 2010


Yes, you understood correctly, thank you for your answer.
So there's no way to show rich text editors with BELayout, ok, if there's an extension or something that can do that I would be grateful for it.

So, I left them set as container for elements, they show in backend correctly, but when I "create a new element" inside the container it will not show on the front-end.

But I don't know what possible problem there can be in the DS or in the mapping.

Here is the DS xml for one of the fields:
<field_content type="array">
                <tx_templavoila
 type="array">
                   
 <title>Content</title>
                   
 <description>[Content]</description>
                   
 <sample_data type="array">
                       
 <numIndex index="0"></numIndex>
                   
 </sample_data>
                   
 <eType>ce</eType>
                   
 <TypoScript>10= RECORDS
10.source.current=1
10.tables = 
tt_content</TypoScript>
                    <proc 
type="array">
                        <int>0</int>
  
                      <HSC type="integer">0</HSC>
       
                 <stdWrap></stdWrap>
                   
 </proc>
                   
 <preview>disable</preview>
                   
 <oldStyleColumnNumber>0</oldStyleColumnNumber>
       
         </tx_templavoila>
                <TCEforms 
type="array">
                   
 <label>Content</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>
                   
 <defaultExtras>richtext:rte_transform[flag=rte_enabled|mode=ts_css]</defaultExtras>
  
              </TCEforms>
            </field_content>

And I mapped it like this:
- Mapped to a div with no mapping rules
- No TypoScript constants
- Typo Script code:
    10= RECORDS
    10.source.current=1
    10.tables = tt_content
-Extra: Cast content to integer
 Pass content through htmlSpecialChars (HSC) - not checked 
 Empty stdWrap
 Enable data preview in Page-Module: disabled (I think I tried with enabled to with same result)
 Old style column number: 0
- Form configuration
     <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>
- Form extras:
richtext:rte_transform[flag=rte_enabled|mode=ts_css]


Sorry for the kilometric mail and thank you again for your help
Regards,
Andrei Kantor.

--- On Mon, 17/5/10, Ron Hall <ronslists at busynoggin.com> wrote:

From: Ron Hall <ronslists at busynoggin.com>
Subject: Re: [TYPO3-templavoila] BE Layout problems
To: "TYPO3 Templavoila project" <typo3-project-templavoila at lists.typo3.org>
Date: Monday, 17 May, 2010, 0:40

Andrei 

>> I have made a new template. Inside I mapped some fields and I want to make them look properly in the Web>Page module.
>> What I have learned is that to be able to arrange the layout with the BELayout file the elements need to be set as "element:page content elements" or otherwise they won't be affected by BELayout but when I do this and add some content into them the content is not displayed in the front-end (Yes I cleared the cache).

If I am understanding you correctly, it sounds like the issue is with the mapping not the backend layout.

If by element:container you mean the setting in the DS for the type of field then element:container will be shown by beLayout but if you set as element: Rich text editor then it will not be shown by beLayout but will be in the extended tab of the page properties.

So it sounds like the backend is working properly for you. If the content is not showing up on the front end the it is either (1) something is wrong with the mapping or (2) something is off with the TypoScript in the data structure for rendering the field.


Thanks,
Ron Hall

Busy Noggin, Inc.
a web development agency

www.busynoggin.com
templavoila.busynoggin.com

Twitter: busynoggin (general web tweets)
Twitter: typo3ron (for TYPO3 specific tweets)

Facebook: Keep track of Busy Noggin, Inc. by clicking "like" on our Facebook page:
http://www.facebook.com/pages/Busy-Noggin-Inc/114526831896689
_______________________________________________
TYPO3-project-templavoila mailing list
TYPO3-project-templavoila at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-templavoila



      


More information about the TYPO3-project-templavoila mailing list