<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog for the Web Programmers &#187; HTML</title>
	<atom:link href="http://blog.chandanweb.com/tags/html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.chandanweb.com</link>
	<description>A useful blog with code assitance on Typo3, Drupal, PHP, Apache, OpenSSL and PHP Frameworks</description>
	<lastBuildDate>Thu, 08 Jul 2010 05:44:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Html tags like table,p are not comming for the newly added RTE field in tt_news</title>
		<link>http://blog.chandanweb.com/typo3/html-tags-like-tablep-are-not-comming-for-the-newly-added-rte-field-in-tt_news</link>
		<comments>http://blog.chandanweb.com/typo3/html-tags-like-tablep-are-not-comming-for-the-newly-added-rte-field-in-tt_news#comments</comments>
		<pubDate>Wed, 19 Aug 2009 12:08:15 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Extension Programming]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[p]]></category>
		<category><![CDATA[RTEfield]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[tt_news]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/?p=158</guid>
		<description><![CDATA[While I was working on some project, there was a requirement to add extra RTE field for tt_news. I extended the table tt_news by adding RTE fields. I faced the following problem 1) I inserted the table but after saving the tt_news record the table started disappearing 2) &#60;p&#62; tag was not inserted automatically for [...]]]></description>
			<content:encoded><![CDATA[<p>While I was  working on some  project, there was a requirement to add extra RTE field for tt_news. I extended the table tt_news  by  adding  RTE fields.   I faced  the following  problem</p>
<p>1)  I   inserted  the table   but   after saving the tt_news record the table started  disappearing</p>
<p>2) &lt;p&gt; tag was not inserted automatically  for  press of   Enter</p>
<p>After doing  some research I found the solution</p>
<p>1) Set the transformation mode for the RTE to &#8220;ts_css&#8221;  in  ext_tables.php</p>
<p>ex-</p>
<blockquote><p>if (t3lib_extMgm::isLoaded(&#8216;css_styled_content&#8217;)) {<br />
t3lib_extMgm::addPageTSConfig(&#8216;<br />
# RTE mode for  table &#8220;tt_news&#8221;<br />
RTE.config.tt_news.exampleField.proc.overruleMode=ts_css&#8217;);<br />
}</p></blockquote>
<p>Here  the  table used  is tt_news and  the filed name is exampleField</p>
<p>2) For P tag to be inserted  for  every  new line  character I added the code</p>
<blockquote><p>$rowfrntbl[$tblcol]=$pObj-&gt;local_cObj-&gt;stdWrap($rowfrntbl[$tblcol], $pObj-&gt;conf['general_stdWrap.'])</p></blockquote>
<p>Here I am using hook  for tt_news  to  get  the desired result.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/html-tags-like-tablep-are-not-comming-for-the-newly-added-rte-field-in-tt_news/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
