Discussion:
[Typo3] <LINK> is not converted to <a> using FlexForms and htmlarea with css_styled_content
franz ripfel
2005-03-30 13:29:45 UTC
Permalink
Hi,

I am using version 3.7 with htmlarea and flexforms and css_styled_content.
I created a flexform including an RTE-field.
In the backend everything is fine, but the <link>-Tags are not converted
to <a>-Tags while rendering the content for the frontend.

After searching the list i got the configuration below, but still <link>
is not converted.
What did i miss? Any suggestions?

Probably i need to set some content rendering flags in TSConfig?
Or should i include some TypoScript to render that content?

I also tried to use the transformation filter ts_reglinks, but there was
still <LINK> saved to the DB.

Thanks for your help!
Franz

My XML Data Structure:
<field_teasertext type="array">
<tx_templavoila type="array">
<title>Teasertext</title>
<description>teasertext</description>
<sample_data type="array">
<numIndex index="0">[...teasertext...]</numIndex>
</sample_data>
<eType>text</eType>
<tags>*:inner</tags>
<proc type="array">
<HSC type="integer">0</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>text</type>
<cols>48</cols>
<rows>5</rows>
</config>
<label>Teasertext</label>
<defaultExtras>richtext[*]:rte_transform[mode=ts_css]</defaultExtras>
</TCEforms>
</field_teasertext>

My Data from tt_content for that field: <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> <T3FlexForms> <data type="array"> <sDEF type="array"> <lDEF type="array"> <field_image type="array"> <vDEF></vDEF> </field_image> <field_headline type="array"> <vDEF>asdfasdf</vDEF> </field_headline> <field_teasertext type="array"> <vDEF>asdfasdf&lt;b&gt;asdfsadf asdfsadf&lt;/b&gt; sss
&lt;p align=&quot;right&quot;&gt;&lt;LINK
260&gt;myLink&lt;/LINK&gt;&lt;br&gt;&lt;/p&gt;</vDEF>
</field_teasertext>
</lDEF>
</sDEF>
</data>
</T3FlexForms>
franz ripfel
2005-03-30 16:09:20 UTC
Permalink
Hi List,

this is the solution:
don?t forget the CDATA, otherwise you get an XML Parsing error.
Thank?s to Irene H?ppner.

<field_teasertext type="array">
<tx_templavoila type="array">
<title>Teasertext</title>
<description>teasertext</description>
<sample_data type="array">
<numIndex index="0">[...teasertext...]</numIndex>
</sample_data>
<eType>text</eType>
<tags>*:inner</tags>
<proc type="array">
<HSC type="integer">0</HSC>
</proc>
<TypoScript>
<![CDATA[
10 = TEXT
10.current = 1
10.parseFunc =< lib.parseFunc_RTE
]]>
</TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>text</type>
<cols>48</cols>
<rows>5</rows>
</config>
<label>Teasertext</label>
<defaultExtras>richtext[*]:rte_transform[mode=ts_css]</defaultExtras>
</TCEforms>
</field_teasertext>

Loading...