<?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; Typo3</title>
	<atom:link href="http://blog.chandanweb.com/tags/typo3/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>Wed, 25 Jan 2012 08:35:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>How to Customize RTE for table fields in Typo3 Extensions ?</title>
		<link>http://blog.chandanweb.com/typo3/how-to-customize-rte-for-table-fields-in-typo3-extensions</link>
		<comments>http://blog.chandanweb.com/typo3/how-to-customize-rte-for-table-fields-in-typo3-extensions#comments</comments>
		<pubDate>Wed, 07 Sep 2011 05:49:42 +0000</pubDate>
		<dc:creator>Ganybhat</dc:creator>
				<category><![CDATA[Extension Programming]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[customise]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[RTE]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/?p=306</guid>
		<description><![CDATA[In the ext_localconf.php file of the extension, add the below code. t3lib_extMgm::addUserTSConfig(&#8216; page.RTE.config.your_table_name.field_name.showButtons = bold, italic, orderedlist, unorderedlist &#8216;);]]></description>
			<content:encoded><![CDATA[<p>In the ext_localconf.php file of the extension, add the below code.</p>
<blockquote><p>t3lib_extMgm::addUserTSConfig(&#8216;<br />
page.RTE.config.your_table_name.field_name.showButtons = bold, italic, orderedlist, unorderedlist<br />
&#8216;);</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/how-to-customize-rte-for-table-fields-in-typo3-extensions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding new fields to existing TYPO3 tables at desired location.</title>
		<link>http://blog.chandanweb.com/typo3/adding-new-fields-to-existing-typo3-tables-at-desired-location</link>
		<comments>http://blog.chandanweb.com/typo3/adding-new-fields-to-existing-typo3-tables-at-desired-location#comments</comments>
		<pubDate>Fri, 06 May 2011 10:28:00 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Extension Programming]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Extension Development]]></category>
		<category><![CDATA[New fields]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/adding-new-fields-to-existing-typo3-tables-at-desired-location</guid>
		<description><![CDATA[NOTE: This post is intended to add a new field to an existing TYPO3 table at any desired position. Kickstarter is initially used to add the new field, then we will use fthe following trick to add our new field to a desired location. GOAL: Add new field called company name, after the subheader field [...]]]></description>
			<content:encoded><![CDATA[<p>NOTE: This post is intended to add a new field to an existing TYPO3 table at any desired position. <br/>Kickstarter is initially used to add the new field, then we will use fthe following trick to add our new field to a desired location. <br/></p>
<p><strong>GOAL:</strong> Add new field called company name, after the subheader field for tt_news of type &#8220;External URLS&#8221;</p>
<p><strong>STEP 1: Look into the ext_tables.php containing the following method of adding new field to TCA Array.</strong></p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr"><p>t3lib_div::loadTCA(&#8216;tt_news&#8217;); <br/>t3lib_extMgm::addTCAcolumns(&#8216;tt_news&#8217;,$tempColumns,1); <br/>t3lib_extMgm::addToAllTCAtypes(&#8216;tt_news&#8217;,'tx_ttnews_fieldcompany;;;;1-1-1&#8242;);</p>
</blockquote>
<p><strong>STEP 2: Replace the above 3 lines as follows:</strong></p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr"><p>t3lib_div::loadTCA(&#8216;tt_news&#8217;); <br/>t3lib_extMgm::addTCAcolumns(&#8216;tt_news&#8217;,$tempColumns,1); <br/>$TCA['tt_news']['types']['2']['showitem'] = str_replace(&#8216;short,&#8217;, &#8216;short, tx_ttnews_fieldcompany,&#8217;, $TCA['tt_news']['types']['2']['showitem']); <br/><br/></p>
</blockquote>
<p><strong>STEP 2: Alternate, using TYPO3 API (Thanks to Oliver for the code):</strong></p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr"><p>t3lib_div::loadTCA(&#8216;tt_news&#8217;); <br/>t3lib_extMgm::addTCAcolumns(&#8216;tt_news&#8217;,$tempColumns,1); <br/>t3lib_extMgm::addToAllTCAtypes(&#8220;tt_news&#8221;,&#8221;tx_ttnews_fieldcompany;;;;1-1-1&#8243;, &#8220;&#8221;, &#8220;after:short&#8221;);</p>
</blockquote>
<p><strong>STEP 3 Clear cahce and check the news record. <br/></strong> That&#8217;s it, now clear your TYPO3 config cache, and check the record, the new field is now just after the sub header field in tt_news record of type External URL.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/adding-new-fields-to-existing-typo3-tables-at-desired-location/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to add a postUserFunc or parseFunc or binding any userFunction in TYPO3</title>
		<link>http://blog.chandanweb.com/typo3/how-to-add-a-postuserfunc-or-parsefunc-or-binding-any-userfunction-in-typo3</link>
		<comments>http://blog.chandanweb.com/typo3/how-to-add-a-postuserfunc-or-parsefunc-or-binding-any-userfunction-in-typo3#comments</comments>
		<pubDate>Thu, 05 May 2011 15:06:00 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Extension Programming]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[parseFunc]]></category>
		<category><![CDATA[postUserFunc]]></category>
		<category><![CDATA[userFunction]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/how-to-add-a-postuserfunc-or-parsefuncin-or-any-binding-userfunction-in-typo3</guid>
		<description><![CDATA[This is one of the easiest thing that just helps us do almost anything with TYPO3 content. Well, yes, still the basic stuff we need to find out is how to get this done. Generally you might have seem in extensions that they use stdWrap, and consider you wish to process the content after the [...]]]></description>
			<content:encoded><![CDATA[<p>This is one of the easiest thing that just helps us do almost anything with TYPO3 content.</p>
<p>Well, yes, still the basic stuff we need to find out is how to get this done.</p>
<p>Generally you might have seem in extensions that they use stdWrap, and consider you wish to process the content after the stdWrap is applied.</p>
<p>ex: <br/>After generating a menu, after a news text is displayed from tt_news etc&#8230;</p>
<p>As with all my posts, I just love to keep thngs short, so I will just explain this with relation to a tt_news example:</p>
<p><strong>Step 1: Find out where you can bind your user function:</strong></p>
<p>I was in need of processing the news content to strip some special characters from word, so this is what I did.</p>
<p>I could also have used the plugin.tt_news.general_stdWrap.postUserFunc, I however did not wish to touch each field, as I only needed some selected fields to be affected. <br/>Thus, on looking into tt_news/pi/class.tx_ttnews.php I found that there is a config I can make use of that is &#8220;itemMarkerArrayFunc&#8221;.</p>
<p><strong>Step 2 : Write your user function.</strong></p>
<blockquote><p><strong>NOTE 1: <br/></strong> Write your userFunc within standard PHP tags, and save it in fileadmin, or EXT folder. <br/>ex: <br/><br/>&lt;?php <br/>//code here <br/>?&gt;</p>
<p><strong>NOTE 2: <br/></strong> Makse sure to understand what type of data is available to us, well sometimes it might be an array as in this case. <br/><br/><strong>NOTE 3: <br/></strong> Your function name should start with &#8220;<strong>user_</strong>&#8221; <br/><br/><strong>NOTE 4: <br/></strong> Your function declaration should have enough arguments, if not you might be in a surprise. <br/>Generally if you are using parseFunc of stdWrap your function may look like this: <br/>ex:</p>
<blockquote><p>function user_ProcessData($content,$config){</p>
<p>// do something with $content <br/>$modifiedContent = $content . &#8221; This is modifed&#8221;; <br/>return $modifiedContent;</p>
<p>}</p>
</blockquote>
<p><br/><br/><strong>THE USER FUNCTION</strong> <br/>In my case the function looks like this</p>
<blockquote><p>function user_ProcessData($markerArray, $conf) {</p>
<p>$str = $markerArray['###NEWS_CONTENT###']; <br/>$str = str_replace(&#8216;###CUSTOMER###&#8217;,'Customer Name&#8217;,$str); <br/>$markerArray['###NEWS_CONTENT###'] = $str ; <br/>return $markerArray;</p>
<p>}</p>
</blockquote>
</blockquote>
<p><strong>Step 3: Include this file in typo3 <br/></strong> This can be done in several ways, and here is one such method: <br/></p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr"><p># Add the following code to the setup section of your System Template record. ( we will usually have setup and constants here in General Tab ) <br/><br/>includeLibs.itemMarkerArrayFunc = EXT:customext_libs/userNewsMarkerProcessFunc.php <br/><strong><br/># customext_libs</strong> &#8211; is the name of an extension</p>
</blockquote>
<p><strong>Step 4: Add final config, so that tt_news knows we want to make use of a parseFunc / userFunc</strong></p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr"><p>plugin.tt_news.itemMarkerArrayFunc = user_ProcessData</p>
</blockquote>
<p><strong>Step 5: This should generally work. <br/></strong> If not please make sure you followed everything as per the above seteps!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/how-to-add-a-postuserfunc-or-parsefunc-or-binding-any-userfunction-in-typo3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable Admin Panel in TYPO3</title>
		<link>http://blog.chandanweb.com/typo3/how-to-enable-admin-panel-in-typo3</link>
		<comments>http://blog.chandanweb.com/typo3/how-to-enable-admin-panel-in-typo3#comments</comments>
		<pubDate>Thu, 05 May 2011 07:11:00 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[typoscript]]></category>
		<category><![CDATA[admin panel]]></category>
		<category><![CDATA[user config]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/?p=271</guid>
		<description><![CDATA[In order to make sure that the admin panel is visible when you are in backend, make sure that the following criteria are met: 1. Make sure you are logged in to the BE of same domain. In a multi-domain setup, if you are logged in www.domain-a.com, and you try to view www.domain-b, then don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>In order to make sure that the admin panel is visible when you are in backend, make sure that the following criteria are met:</p>
<p>1. Make sure you are logged in to the BE of same domain. <br/></p>
<blockquote><p>In a multi-domain setup, if you are logged in <a href="http://www.domain-a.com/">www.domain-a.com</a>, and you try to view <a href="http://www.domain-b/">www.domain-b</a>, then don&#8217;t expect the preview / admin panel to work. <br/>This simply does not work!</p>
</blockquote>
<p>2. user and/or group setup:</p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr"><p>admPanel=1 <br/>admPanel { <br/>enable.edit = 1 <br/>enable.edit.hide=1 <br/>enable.preview = 1 <br/>enable.cache = 0 <br/>enable.info = 1 <br/>module.edit.forceDisplayFieldIcons = 1 <br/>module.edit.forceDisplayIcons = 1 <br/>module.edit.forceNoPopup = 0 <br/>hide = 0 <br/>}</p>
</blockquote>
<p><br/>3. root template setup:</p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr"><p>config.admPanel=1 <br/></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/how-to-enable-admin-panel-in-typo3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable js_css_optimizer when using feeditadvanced</title>
		<link>http://blog.chandanweb.com/typo3/disable-js_css_optimizer-when-using-feeditadvanced</link>
		<comments>http://blog.chandanweb.com/typo3/disable-js_css_optimizer-when-using-feeditadvanced#comments</comments>
		<pubDate>Fri, 10 Dec 2010 07:30:00 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Extension Programming]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[feeditadvanced]]></category>
		<category><![CDATA[js_css_optimizer]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/disable-js_css_optimizer-when-using-feeditadvanced</guid>
		<description><![CDATA[I recently noticed that the extension feeditadvanced when used alog with js_css_optimizer gives an error stating that a CSS file is missing! This is probably caused because feeditadvanced did nt take into consideration the css files that are created by the js_css_optimizer. Normally we do not need js_css_optimizer if we would like to edit content. [...]]]></description>
			<content:encoded><![CDATA[<p>I recently noticed that the extension feeditadvanced when used alog with js_css_optimizer gives an error stating that a CSS file is missing!</p>
<p>This is probably caused because feeditadvanced did nt take into consideration the css files that are created by the js_css_optimizer.</p>
<p>Normally we do not need js_css_optimizer if we would like to edit content. So added a quick solution that disables the js_css_optimizer when using on feeditadvanced. <br/></p>
<p>You will need to edit the following file:</p>
<p>typo3conf\ext\feeditadvanced\hooks\class.tx_feeditadvanced_pagerenderer.php <br/><br/>Open this and add the following 3 lines of code inside the <strong>IF Condition</strong> of the function <strong>preProcessPageRenderer()</strong>:</p>
<blockquote><p>unset($GLOBALS['TYPO3_CONF_VARS']['FE']['cssCompressHandler']); <br/>unset($GLOBALS['TYPO3_CONF_VARS']['FE']['jsCompressHandler']); <br/>unset($GLOBALS['TYPO3_CONF_VARS']['FE']['concatenateHandler']);</p>
<p><strong>Full code for preProcessPageRenderer():</strong></p>
<p>public function preProcessPageRenderer($params, $parentObject) {</p>
<p>if ($parentObject-&gt;getConcatenateFiles() &amp;&amp; (t3lib_div::_GP(&#8216;eID&#8217;) === &#8216;feeditadvanced&#8217;) &amp;&amp; $GLOBALS['TBE_TEMPLATE']) {</p>
<p>unset($GLOBALS['TYPO3_CONF_VARS']['FE']['cssCompressHandler']); <br/>unset($GLOBALS['TYPO3_CONF_VARS']['FE']['jsCompressHandler']); <br/>unset($GLOBALS['TYPO3_CONF_VARS']['FE']['concatenateHandler']);</p>
<p><br/>$compressor = t3lib_div::makeInstance(&#8216;t3lib_compressor&#8217;); <br/>$cssOptions = array(&#8216;baseDirectories&#8217; =&gt; $GLOBALS['TBE_TEMPLATE']-&gt;getSkinStylesheetDirectories()); <br/>$params['cssFiles'] = $compressor-&gt;concatenateCssFiles($params['cssFiles'], $cssOptions); <br/>} <br/>}</p>
</blockquote>
<p>It would have been great if css files created by js_css_optimizer are used within feeditadvanced, unfortunately that is not the case at present. <br/>Till then I hope we may use the above code. <br/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/disable-js_css_optimizer-when-using-feeditadvanced/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable a TYPO3 extension or removing a hook specified by another extension</title>
		<link>http://blog.chandanweb.com/typo3/disable-a-typo3-extension-or-removing-a-hook-specified-by-another-extension</link>
		<comments>http://blog.chandanweb.com/typo3/disable-a-typo3-extension-or-removing-a-hook-specified-by-another-extension#comments</comments>
		<pubDate>Fri, 10 Dec 2010 07:30:00 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Extension Programming]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[feeditadvanced]]></category>
		<category><![CDATA[js_css_optimizer]]></category>
		<category><![CDATA[typo3 extension development]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/disable-a-hook-specified-by-another-extension</guid>
		<description><![CDATA[In some cases we may need to disable some hooks that are defined by another extension. Say for example in a recent case, I had to disable js_css_optimizer when a typo3 FE editor is logged in. This was necessary as feeditadvanced was not working together with js_css_optimizer. So the moment I needed the services of [...]]]></description>
			<content:encoded><![CDATA[<p>In some cases we may need to disable some hooks that are defined by another extension. Say for example in a recent case, I had to disable js_css_optimizer when a typo3 FE editor is logged in. This was necessary as feeditadvanced was not working together with js_css_optimizer.</p>
<p>So the moment I needed the services of feeditadvanced, I had to disable js_css_optimizer, so I added the following code:</p>
<p>unset($GLOBALS['TYPO3_CONF_VARS']['FE']['cssCompressHandler']);</p>
<p>We have to make sure that we do this at correct stage, for example, if the extension we wanted to disable has already finished it&#8217;s execution, then we may not get desired result, so we may have to add another hook that executes much before the hook we wanted to remove.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/disable-a-typo3-extension-or-removing-a-hook-specified-by-another-extension/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to include a custom PHP script in TYPO3</title>
		<link>http://blog.chandanweb.com/uncategorized/how-to-include-a-custom-php-script-in-typo3</link>
		<comments>http://blog.chandanweb.com/uncategorized/how-to-include-a-custom-php-script-in-typo3#comments</comments>
		<pubDate>Fri, 10 Dec 2010 07:04:45 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[custom script in typo3]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/uncategorized/how-to-include-a-custom-php-script-in-typo3</guid>
		<description><![CDATA[This article is covered in detail in the &#8220;doc_core_tsref&#8221; here: http://typo3.org/documentation/document-library/references/doc_core_tsref/current/ Check the article &#8220;1.12. PHP include scripts&#8221; and 1.13. Case story for detailed info. In short we can easily include a script in two ways. Both these code must be written in the setup section of a template record. Using the CONFIG object. ex: [...]]]></description>
			<content:encoded><![CDATA[<p>This article is covered in detail in the &#8220;<strong><a href="http://typo3.org/documentation/document-library/references/doc_core_tsref/current/">doc_core_tsref</a></strong>&#8221; here:</p>
<p><a href="http://typo3.org/documentation/document-library/references/doc_core_tsref/current/">http://typo3.org/documentation/document-library/references/doc_core_tsref/current/</a></p>
<p>Check the article &#8220;1.12. <a href="http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/12/">PHP include scripts</a>&#8221; and 1.13. <a href="http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/13/">Case story</a> for detailed info.</p>
<p>In short we can easily include a script in two ways.</p>
<p>Both these code must be written in the <strong>setup</strong> section of a template record.</p>
<ol>
<li><strong>Using the CONFIG object.</strong><br />
ex:<br />
config.includeLibrary = fileadmin/templates/myscript.php</li>
<li><strong>Using the PAGE object.<br />
</strong> ex:<br />
page.100.file = fileadmin/templates/myscript.php</li>
</ol>
<p>That should do the trick. Fo more info I suggest that you please refer &#8220;<strong><a href="http://typo3.org/documentation/document-library/references/doc_core_tsref/current/">doc_core_tsref</a></strong>&#8220;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/uncategorized/how-to-include-a-custom-php-script-in-typo3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Syntax for ext_conf_template</title>
		<link>http://blog.chandanweb.com/typo3/syntax-for-ext_conf_template</link>
		<comments>http://blog.chandanweb.com/typo3/syntax-for-ext_conf_template#comments</comments>
		<pubDate>Thu, 24 Jun 2010 13:52:47 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[doc_core_ts]]></category>
		<category><![CDATA[ext_conf_template]]></category>
		<category><![CDATA[ext_conf_template.txt]]></category>
		<category><![CDATA[typo3 extension development]]></category>
		<category><![CDATA[typo3 extensions]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/syntax-for-ext_conf_template</guid>
		<description><![CDATA[The Syntax inside the file ext_conf_template.txt is exatcly same as the syntax for the TypoScript constant declarations. There exists a documetnation about the same titled &#8220;Declaring constants for the Constant editor&#8221; which can be easily located in the typo3 core documentation titled &#8220;TypoScript Syntax and In-depth Study &#8211; doc_core_ts&#8221;.]]></description>
			<content:encoded><![CDATA[<p>The Syntax inside the file ext_conf_template.txt is exatcly same as the syntax for the TypoScript constant declarations.</p>
<p>There exists a documetnation about the same titled <strong>&#8220;Declaring constants for the Constant editor&#8221;</strong> which can be easily located in the typo3 core documentation titled <strong>&#8220;TypoScript Syntax and In-depth Study &#8211; doc_core_ts&#8221;.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/syntax-for-ext_conf_template/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling Color Picker in HTML RTE Area of Typo3</title>
		<link>http://blog.chandanweb.com/typo3/enabling-color-picker-in-html-rte-area-of-typo3</link>
		<comments>http://blog.chandanweb.com/typo3/enabling-color-picker-in-html-rte-area-of-typo3#comments</comments>
		<pubDate>Thu, 27 Aug 2009 15:54:59 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[colorpicker]]></category>
		<category><![CDATA[HTMLRTEArea]]></category>
		<category><![CDATA[rich text editor]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/enabling-color-picker-in-html-rte-area-of-typo3</guid>
		<description><![CDATA[By default the color picker woudl be enabled in the Typo3 RTE. However, on some cases this may be disabled. Here is a quick overview on how to re-enable it in such cases. You are unable to see the color picker, that means you need to add it to the list of available buttons. This [...]]]></description>
			<content:encoded><![CDATA[<p>By default the color picker woudl be enabled in the Typo3 RTE. However, on some cases this may be disabled. Here is a quick overview on how to re-enable it in such cases.</p>
<ol>
<li>You are unable to see the color picker, that means you need to add it to the list of available buttons. <br/>This can be done by adding &#8220;textcolor&#8221; to the list of existing buttons in showButtons property. <br/>ex: <br/>RTE.default.showButtons = &#8230;&#8230;&#8230;&#8230;.. textstyle, bold, italic, textcolor <br/><span style="FONT-SIZE: 12px">(NOTE: The order here is not important) <br/></span></li>
<li>You should also remove the &#8220;textcolor&#8221; from the list of buttons in the hideButtons property. i.e. from RTE.default.showButtons = <br/></li>
<li>Place the &#8220;textcolor&#8221; button in a suitable place of your preference using the toolbarOrder property. <br/>ex: <br/>RTE.default.toolbarOrder = &#8230;. space, textstyle, textcolor, &#8230;etc&#8230;. <br/></li>
<li>Check if color picker is enabled or not, by making sure that &#8220;disableColorPicker&#8221; is set to 0 <br/>ex: <br/>RTE.default.disableColorPicker = 0 <br/></li>
<li>RTE might use the font tag to set colors, we can make sure that this does not happen by addin the font tag to the list of tags to be removed. <br/>ex: <br/>RTE.default.removeTags = font <br/></li>
<li>After following step 5, the font tags are no longer used for specifying font colors, hence we should make sure to set the useCSS property to true, otherwise the colors would not appear on the front-end, nor they are saved. <br/>ex: <br/>RTE.default.useCSS = 1 <br/><span style="FONT-SIZE: 12px">(NOTE: If you wish to use font tags for text coloring thisfeature need not be set)</span> <br/><br/>Hope these steps would be helpful to you!</li>
</ol>
<p><strong>Additional Notes: <br/></strong>The above steps are sometimes just not enough and you also need to make sure that the property &#8220;[allowStyleAttribute]&#8221; is enabled in the rtehtmlarea Extension&#8217;s configuration as shown in the screenshot. <br/><img src="http://blog.chandanweb.com/wp-content/uploads/2010/04/zrclip_001n386bebc9.png" style="WIDTH: 497px; HEIGHT: 273px" height="391" width="855"/></p>
<p>An issue Related Typo3 Update:</p>
<ul>
<li>When typo3 is upgraded from 4.2 to 4.3 no matter what we do, colorpicker just does not get displayed. <br/>To solve this you will need to remove the rtehtmlarea config array in the localconf.php manually! <br/>- Just delete the line $TYPO3_CONF_VARS['EXT']['extConf']['rtehtmlarea'] = &#8230;&#8230;etc&#8230;. <br/>- Go to rtehtmlarea configuration in Extension manager and click &#8220;Update&#8221; to save the new config. <br/>This should now make the textcolor to appear again.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/enabling-color-picker-in-html-rte-area-of-typo3/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Changing Menu based on selected Templavoila TemplateObject using TypoScript</title>
		<link>http://blog.chandanweb.com/typo3/changing-menu-based-on-selected-templavoila-templateobject-using-typoscript</link>
		<comments>http://blog.chandanweb.com/typo3/changing-menu-based-on-selected-templavoila-templateobject-using-typoscript#comments</comments>
		<pubDate>Tue, 25 Aug 2009 14:58:13 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[typoscript]]></category>
		<category><![CDATA[hmenu]]></category>
		<category><![CDATA[TMENU]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/uncategorized/changing-menu-based-on-selected-templavoila-templateobject-using-typoscript</guid>
		<description><![CDATA[TypoScript has so much features that it is indeed impossible to document each and every feature hidden with it. As we start adding extensions the feature list would increase as well. Consider you have selected a specific Templavoila Template and you wish to have a different type of menu based on the selected template. In [...]]]></description>
			<content:encoded><![CDATA[<p>TypoScript has so much features that it is indeed impossible to document each and every feature hidden with it. As we start adding extensions the feature list would increase as well.</p>
<p>Consider you have selected a specific Templavoila Template and you wish to have a different type of menu based on the selected template. <br/>In such case it would be easy to change menu styles if the entire menu is enclosed in a separate CSS class.</p>
<p>I have given an example where I am checking for template IDs 10 , 11. If this template is used for current page I am changing it&#8217;s class.</p>
<blockquote><p>lib.mymenu = HMENU <br/>lib.mymenu { <br/>entryLevel = 1 <br/>stdWrap.ifEmpty.wrap = &amp;nbsp;</p>
<p>1 = TMENU <br/>1 { <br/>wrap = &lt;ul&gt;|&lt;/ul&gt; <br/>NO.wrapItemAndSub = |&lt;/li&gt; <br/>NO.allWrap = &lt;li&gt;| <br/>NO.allWrap { <br/>override = &lt;li class=&#8221;alternate_menu&#8221;&gt;| <br/>override.if.value = 10,11 <br/>override.if.isInList.field = tx_templavoila_to <br/>} <br/># same way we can configure ACT and CUR as well <br/>ACT = 1 <br/>CUR = 1 <br/><br/>} <br/><br/># For second level I would like to change the class of the A Tag <br/>2 &lt; .1 <br/>2.wrap = &lt;ul&gt;|&lt;/ul&gt; <br/>2.CUR.ATagParams = id=&#8221;cur_menu&#8221; <br/>2.ACT.ATagParams.cObject = TEXT <br/>2.ACT.ATagParams.cObject { <br/>override = class=&#8221;cur_menu_a&#8221; <br/>override.if.value = 10,11 <br/>override.if.isInList.field = tx_templavoila_to <br/>} <br/>3 &lt; .2</p>
<p>#let us generate the 3rd level only if the page uses the Template of our choice. <br/>3.if { <br/>value = 10,11 <br/>isInList.field = tx_templavoila_to <br/>}</p>
<p>}</p>
</blockquote>
<p>Not all templates may have a template ID specified, in such case we need to use the sliding feature. <br/>When we use the sliding feature the template id of parent ID is used. <br/>We can do this Like:</p>
<blockquote><p><br/>isInList.data = levelfield:-1, tx_templavoila_to, slide <br/></p>
</blockquote>
<p>Note: <br/>Usually Templates are stored in the Storage Folder, and you can view the Template IDs of Templavoila Template Objects from the list view!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/changing-menu-based-on-selected-templavoila-templateobject-using-typoscript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

