<?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; typoscript</title>
	<atom:link href="http://blog.chandanweb.com/topics/typo3/typoscript/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>Conditional menu based on menu page-id</title>
		<link>http://blog.chandanweb.com/typo3/conditional-menu-based-on-menu-page-id</link>
		<comments>http://blog.chandanweb.com/typo3/conditional-menu-based-on-menu-page-id#comments</comments>
		<pubDate>Tue, 27 Dec 2011 12:16:00 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[typoscript]]></category>
		<category><![CDATA[hmenu]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/conditional-menu-based-on-menu-page-id</guid>
		<description><![CDATA[Following code gives a nice way to have a custom content element as sub-menu item for each main menu item lib.customMenu = HMENU lib.customMenu { 1 = TMENU 1 { wrap = &#124; NO.allWrap = &#124; NO.stdWrap.htmlSpecialChars = 1 NO.after.cObject = COA NO.after.cObject { 20 = CASE 20 { key.field = uid default = RECORDS [...]]]></description>
			<content:encoded><![CDATA[<p>Following code gives a nice way to have a custom content element as sub-menu item for each main menu item</p>
<pre>
lib.customMenu = HMENU
lib.customMenu {
 1 = TMENU
 1  {
        wrap = |
</pre>
<pre>
        NO.allWrap = |
        NO.stdWrap.htmlSpecialChars = 1
        NO.after.cObject = COA
        NO.after.cObject {
            20 = CASE
            20 {
               key.field = uid
               default = RECORDS
               default.tables = tt_content
               default.conf.tt_content &lt; tt_content
               default.conf.tt_content.stdWrap.innerWrap &gt;               

               14 &lt; .default
               14.source = {$submenu_element_14}

               15 &lt; .default
               15.source = {$submenu_element_15}

               16 &lt; .default
               16.source = {$submenu_element_16}

               17 &lt; .default
               17.source = {$submenu_element_17}

            }            

        }
        ACT = 1
        ACT.after.cObject &lt; .NO.after.cObject
        ACT.allWrap = |
        ACT.ATagParams = class="act"
        ACT.stdWrap.htmlSpecialChars = 1

        CUR &lt; .ACT
        CUR.ATagParams = class="cur"
    }
}
</pre>
<p>This code cannot be used as it is, you will need to make sure the DHTML/JavaScript code for the sub menu items are configured accordingly.</p>
<p>Further References:</p>
<ol>
<li>[TYPO3-english] conditional menu based on menu page-id <br/><a href="http://lists.typo3.org/pipermail/typo3-english/2009-November/065557.html">http://lists.typo3.org/pipermail/typo3-english/2009-November/065557.html</a></li>
<li>[TYPO3-english] Custom class in tmenu according to uid page <br/><a href="http://lists.typo3.org/pipermail/typo3-english/2010-February/067336.html">http://lists.typo3.org/pipermail/typo3-english/2010-February/067336.html</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/conditional-menu-based-on-menu-page-id/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display Image when both path and file name are in two fields</title>
		<link>http://blog.chandanweb.com/typo3/display-image-when-both-path-and-file-name-are-in-two-fields</link>
		<comments>http://blog.chandanweb.com/typo3/display-image-when-both-path-and-file-name-are-in-two-fields#comments</comments>
		<pubDate>Wed, 16 Nov 2011 11:30:00 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[typoscript]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[IMAGE with 2 field]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/display-image-when-both-path-and-file-name-are-in-two-fields</guid>
		<description><![CDATA[The following code gives an overview of how to display an IMAGe when 2 fields are involved. That is one contains the image path &#8220;fileadmin/templates/imgs/&#8221; and the other field has the image name &#8220;mylogo.png&#8221; 10 = IMAGE10 { file.import { cObject = COA cObject { 10 = TEXT 10.data = field:image_path 20 = TEXT 20.data [...]]]></description>
			<content:encoded><![CDATA[<p>The following code gives an overview of how to display an IMAGe when 2 fields are involved. <br/>That is one contains the image path &#8220;fileadmin/templates/imgs/&#8221; and the other field has the image name &#8220;mylogo.png&#8221;</p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr">
<pre>
10 = IMAGE<br/>10 {<br/>    file.import {<br/>         cObject = COA<br/>         cObject {<br/>             10 = TEXT<br/>              10.data = field:image_path<br/>             20 = TEXT<br/>             20.data = field:image_name<br/>         }<br/>    }<br/>}
</pre>
</blockquote>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/display-image-when-both-path-and-file-name-are-in-two-fields/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Displaying page title : Various methods</title>
		<link>http://blog.chandanweb.com/typo3/displaying-page-title-various-methods</link>
		<comments>http://blog.chandanweb.com/typo3/displaying-page-title-various-methods#comments</comments>
		<pubDate>Mon, 12 Sep 2011 15:10:00 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[typoscript]]></category>
		<category><![CDATA[pagetitle]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/displaying-page-title-various-methods</guid>
		<description><![CDATA[Getting page title for a specific page (using uid) METHOD 1: temp.pTitle = HMENU temp.pTitle { special = list special.value = {$my_page_uid} 1 = TMENU 1 { NO { doNotLinkIt = 1 } } } METHOD 2: (The localization may not work fine in the below method) lib.pagetitle = RECORDS lib.pagetitle { source.data = page:uid [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Getting page title for a specific page (using uid)</strong></p>
<p><strong>METHOD 1:</strong></p>
<blockquote><p>temp.pTitle = HMENU <br/>temp.pTitle { <br/>special = list <br/>special.value = {$my_page_uid} <br/>1 = TMENU <br/>1 { <br/>NO { <br/>doNotLinkIt = 1 <br/>} <br/>} <br/>}</p>
</blockquote>
<p><strong>METHOD 2: (The localization may not work fine in the below method)</strong></p>
<blockquote><p>lib.pagetitle = RECORDS <br/>lib.pagetitle { <br/>source.data = page:uid <br/>tables = pages <br/>conf.pages = TEXT <br/>conf.pages.field = nav_title <br/>}</p>
</blockquote>
<p><strong>Getting Current Page Title:</strong></p>
<blockquote><p>lib.pagetitle = TEXT <br/>lib.pagetitle.field=title <br/></p>
</blockquote>
<p><strong>Page title of parent page:</strong></p>
<blockquote><p>lib.pagetitle = TEXT <br/>lib.pagetitle.data = leveltitle:-2 <br/><strong>OR <br/></strong> lib.pagetitle = TEXT <br/>lib.pagetitle.data = leveltitle:-3</p>
</blockquote>
<p><strong>Inserting page title within a HMENU</strong></p>
<blockquote><p>temp_pagetitle = TEXT <br/>temp_pagetitle.data = leveltitle:-2</p>
<p>leftMenu = HMENU <br/>leftMenu.stdWrap.preCObject &lt; temp.leftmenu_pagetitle <br/>leftMenu.1 = TMENU <br/>leftMenu.1.wrap = &lt;ul class=&#8221;cw_leftmenu&#8221;&gt;|&lt;/ul&gt; <br/>leftMenu.1.NO.wrapItemAndSub = &lt;li&gt;|&lt;/li&gt; <br/>leftMenu.1.ACT = 1 <br/>leftMenu.1.ACT.wrapItemAndSub = &lt;li&gt;|&lt;/li&gt; <br/>leftMenu.1.ACT.allWrap = &lt;span class=&#8221;active_menu&#8221;&gt;|&lt;/span&gt; <br/>leftMenu.1.CUR = 1 <br/>leftMenu.1.CUR.allWrap = &lt;span class=&#8221;cur_menu&#8221;&gt;|&lt;/span&gt; <br/>leftMenu.2 &lt; .1 <br/>leftMenu.3 &lt; .2</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/displaying-page-title-various-methods/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find and change TYPO3 settings.</title>
		<link>http://blog.chandanweb.com/typo3/how-to-find-and-change-typo3-settings</link>
		<comments>http://blog.chandanweb.com/typo3/how-to-find-and-change-typo3-settings#comments</comments>
		<pubDate>Fri, 06 May 2011 12:00:00 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Extension Programming]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[typoscript]]></category>
		<category><![CDATA[customize typo3 settings]]></category>
		<category><![CDATA[debug TYPO3 settings]]></category>
		<category><![CDATA[find typo3 setings]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/how-to-find-and-change-typo3-settings</guid>
		<description><![CDATA[This is a small reference to give an idea on how to find a TYPO3 setting that can be changed, and how to change it. Easy: go to BE Click the Configuration module in left menu bar Now use the drop down at the top, and select TYPO3_CONF_VARS. Search for what you need Click on [...]]]></description>
			<content:encoded><![CDATA[<p>This is a small reference to give an idea on how to find a TYPO3 setting that can be changed, and how to change it.</p>
<p>Easy:</p>
<ol>
<li>go to BE</li>
<li>Click the <strong>Configuration module</strong> in left menu bar</li>
<li>Now use the drop down at the top, and select TYPO3_CONF_VARS.</li>
<li>Search for what you need</li>
<li>Click on the needed title</li>
<li>Now you get a array like this: <br/>$TYPO3_CONF_VARS['EXTCONF']['cachecleaner']['tables']['cache_pages']['expireField'] = &#8216;expires&#8217;; <br/></li>
<li>Change this in your extension (in a PHP file) and include this file in ext_localconf.php <br/>OR Directly write inside ext_localconf.php (well this may not be very clean)</li>
</ol>
<p><strong>NOTE:</strong> The <strong>CONFIGURATION Module</strong> is like a TREE browser which lists all kind of available configurations available in TYPO3. <br/>So we have endless chance to change and customize almost anything here!</p>
<p>NOTE2: The TYPO3 Configuration Module is also a place where you can see the current configuration that is in use. <br/>This can be used for wide range of debugging, such as:</p>
<ol>
<li>To analyze if a HOOK/XCLASS has been declared or not</li>
<li>To see if the configuration we specified has been really recognized by TYPO3</li>
</ol>
<p>ENJOY!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/how-to-find-and-change-typo3-settings/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>How to enable jQuery with powermail OR How to remove mootools or prototype from powermail, and use jQuery validation</title>
		<link>http://blog.chandanweb.com/typo3/how-to-enable-jquery-with-powermail-or-how-to-remove-mootools-or-prototype-from-powermail-and-use-jquery-validation</link>
		<comments>http://blog.chandanweb.com/typo3/how-to-enable-jquery-with-powermail-or-how-to-remove-mootools-or-prototype-from-powermail-and-use-jquery-validation#comments</comments>
		<pubDate>Fri, 17 Dec 2010 07:30:00 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Extension Programming]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[typoscript]]></category>
		<category><![CDATA[disable mootools]]></category>
		<category><![CDATA[disable prototype]]></category>
		<category><![CDATA[jquery validation]]></category>
		<category><![CDATA[powermail]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/how-to-enable-jquery-with-powermail-or-how-to-remove-mootools-or-prototype-from-powermail-and-use-jquery-validation</guid>
		<description><![CDATA[In some cases we may wish to retain one single library throughout our site, so powermail does not have issues if we choose mootools or prototype. If we prefer jQuery, then we have some issues at present, as powermail does not yet allow us to use jQuery built in. The future version however seem to [...]]]></description>
			<content:encoded><![CDATA[<p>In some cases we may wish to retain one single library throughout our site, so powermail does not have issues if we choose mootools or prototype. <br/>If we prefer jQuery, then we have some issues at present, as powermail does not yet allow us to use jQuery built in. <br/>The future version however seem to include this feature, and we are waiting, untill then this might prove useful.</p>
<ul>
<li><strong>Step 1: Set nothing for the libraryToUse contstant</strong> (of course in constants section) <br/>plugin.powermail.libraryToUse = <br/></li>
<li><strong>Step 2: Set up a different template path for the formWrap &#8212; This is important, will explain later in Step3! <br/></strong> To do this I will copy the <strong>formwrap.html</strong> located in <strong>typo3conf/ext/powermail/templates/tmpl_formwrap.html</strong> to <strong>fileadmin/templates</strong> and set following constant. <br/>plugin.powermail.template.formWrap = fileadmin/templates/tmpl_formwrap.html <br/><br/><strong>NOTE:</strong> You may change template even in setup section, check manual or ext_typoscript_setup.txt for details. <br/></li>
<li><strong>Step 3: Remove the validation script from formwrap.html that we copied just now. <br/></strong> If you look at the tempalte file, you can see folloing <strong>JavaScript: <br/></strong> <br/>&lt;script type=&#8221;text/javascript&#8221;&gt; <br/>function formCallback(result, form) { <br/>window.status = &#8220;valiation callback for form &#8216;&#8221; + form.id + &#8220;&#8216;: result = &#8221; + result; <br/>} <br/>var valid = new Validation(&#8216;###POWERMAIL_NAME###&#8217;, {immediate : true, onFormValidate : formCallback}); <br/>&lt;/script&gt; <br/><br/><strong>Remove the above completely including &lt;script&gt; tags. <br/></strong></li>
<li><strong>Step 4: Remove automatic inclusion of JS files using TypoScript.</strong> (<strong>IMPORTANT:</strong> This must appear in the setup section) <br/>page.includeJS.file31311 &gt; <br/>page.headerData.31310 &gt; <br/></li>
</ul>
<p><strong>There you go</strong>, by now you should have disabled the output of all java scripts and inclusion of JS Libraries like mootools or prototype. <br/>Now you are free to use any library you need.</p>
<p><strong>NOTE:</strong> By now the default validation methods available in powermail are also disabled. Well we can easily use the jquery form validation!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/how-to-enable-jquery-with-powermail-or-how-to-remove-mootools-or-prototype-from-powermail-and-use-jquery-validation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Line break converts to Paragraph in Tinyrte ?</title>
		<link>http://blog.chandanweb.com/typo3/line-break-converts-to-paragraph-in-tinyrte</link>
		<comments>http://blog.chandanweb.com/typo3/line-break-converts-to-paragraph-in-tinyrte#comments</comments>
		<pubDate>Thu, 01 Jul 2010 10:12:36 +0000</pubDate>
		<dc:creator>Ganybhat</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[typoscript]]></category>
		<category><![CDATA[line break]]></category>
		<category><![CDATA[paragraph]]></category>
		<category><![CDATA[RTE]]></category>
		<category><![CDATA[tinymce]]></category>
		<category><![CDATA[tinyrte]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/?p=244</guid>
		<description><![CDATA[In  TS config for pages add the below lines RTE.default.proc.dontConvBRtoParagraph = 1 That&#8217;s it. As the code describes it does not allow BR to convert to Paragraph.]]></description>
			<content:encoded><![CDATA[<p>In  TS config for pages add the below lines</p>
<blockquote><p>RTE.default.proc.dontConvBRtoParagraph = 1</p></blockquote>
<p>That&#8217;s it.</p>
<p>As the code describes it does not allow BR to convert to Paragraph.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/line-break-converts-to-paragraph-in-tinyrte/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to enable click enlarge image in Typo3 RTE ?</title>
		<link>http://blog.chandanweb.com/typo3/how-to-enable-click-enlarge-image-in-rte</link>
		<comments>http://blog.chandanweb.com/typo3/how-to-enable-click-enlarge-image-in-rte#comments</comments>
		<pubDate>Wed, 02 Jun 2010 12:12:19 +0000</pubDate>
		<dc:creator>Ganybhat</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[typoscript]]></category>
		<category><![CDATA[Click enlarge]]></category>
		<category><![CDATA[html area]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[RTE]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/?p=231</guid>
		<description><![CDATA[1) Go to the extension manager and click on the extension “htmlArea RTE” and there check “Enable images in the RTE[enableImages]”.  After that click on &#8220;Update&#8221; on the bottom. 2) Include the static template &#8220;Clickenlarge Rendering (rtehtmlarea) &#8220;. 3) Insert the image in RTE and set on &#8220;Click-enlarge&#8221; option.]]></description>
			<content:encoded><![CDATA[<p>1) Go to the extension manager and click on the extension “htmlArea RTE” and there check “Enable images in the RTE[enableImages]”.  After that click on &#8220;Update&#8221; on the bottom.</p>
<p>2) Include the static template &#8220;Clickenlarge Rendering (rtehtmlarea) &#8220;.</p>
<p><a href="http://blog.chandanweb.com/wp-content/uploads/2010/06/screenshot.62.jpeg"><img class="alignnone size-medium wp-image-232" title="static template" src="http://blog.chandanweb.com/wp-content/uploads/2010/06/screenshot.62-300x105.jpg" alt="include static template" width="300" height="105" /></a></p>
<p>3) Insert the image in RTE and set on &#8220;Click-enlarge&#8221; option.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/how-to-enable-click-enlarge-image-in-rte/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Felogin logout redirect does not work</title>
		<link>http://blog.chandanweb.com/typo3/felogin-logout-redirect-does-not-work</link>
		<comments>http://blog.chandanweb.com/typo3/felogin-logout-redirect-does-not-work#comments</comments>
		<pubDate>Thu, 04 Feb 2010 10:13:12 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[typoscript]]></category>
		<category><![CDATA[authorization required]]></category>
		<category><![CDATA[felogin]]></category>
		<category><![CDATA[felogin redirect]]></category>
		<category><![CDATA[logout]]></category>
		<category><![CDATA[redirectFirstMethod]]></category>
		<category><![CDATA[redirectPageLogout]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/typo3/felogin-logout-redirect-does-not-work</guid>
		<description><![CDATA[When we try to logout from an access restricted page, we will see either a 404 (Page not found) or a 401 (Authorization required) error. This issue seems quite old, but unfortunately there are still some bugs when we use the Logout template of the felogin. The issue is reproduceable even on Typo3 4.2.8, I [...]]]></description>
			<content:encoded><![CDATA[<p>When we try to logout from an access restricted page, we will see either a 404 (Page not found) or a 401 (Authorization required) error. <br/>This issue seems quite old, but unfortunately there are still some bugs when we use the Logout template of the felogin.</p>
<p>The issue is reproduceable even on Typo3 4.2.8, I am not sure if this is fixed on 4.3 onwards.</p>
<p>There is a patch that we can use to patch felogin as given on the following URL: <br/><a href="http://bugs.typo3.org/view.php?id=8677">http://bugs.typo3.org/view.php?id=8677</a></p>
<p>Due to various reasons it may not always be possible to patch. <br/>In such circumstances it is wiser to use an alternate technique, such as creating the Logout link manually. <br/>One such example is:</p>
<blockquote style="MARGIN-RIGHT: 0px" dir="ltr">
<pre>
[loginUser = *]  

lib.logoutbox = COA
lib.logoutbox {
    20 = TEXT
    20 {
       data = TSFE:fe_user|user|username
       # link to account edit page
       stdWrap.typolink.parameter = 60
    }
    30 = IMAGE
    30 {
        file = fileadmin/templates/images/logout.gif
        stdWrap {

             # Let us link to home page for logging out
             typolink.parameter = 1
             typolink.additionalParams = &amp;logintype=logout
             wrap =  |
         }
    }
}

[end]
</pre>
</blockquote>
<p>In this example I am displaying the logged in username (which links to user account page) followed by a working logout button.</p>
<p>N<strong>ote: <br/>- Here we are not using the felogin plugin. <br/>- Do not link the logout button to any access restricted page.</strong></p>
<p>The following page from Typo3wizard might be useful for displaying more user-details if needed: <br/><a href="http://www.typo3wizard.com/en/snippets/cool-stuff-typoscript/userinfo-for-currently-logged-in-user.html">http://www.typo3wizard.com/en/snippets/cool-stuff-typoscript/userinfo-for-currently-logged-in-user.html</a> <br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/felogin-logout-redirect-does-not-work/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Link to Top re-directs to home page.</title>
		<link>http://blog.chandanweb.com/typo3/typoscript/if-link-to-top-is-not-working</link>
		<comments>http://blog.chandanweb.com/typo3/typoscript/if-link-to-top-is-not-working#comments</comments>
		<pubDate>Thu, 19 Nov 2009 13:58:09 +0000</pubDate>
		<dc:creator>Ganybhat</dc:creator>
				<category><![CDATA[typoscript]]></category>
		<category><![CDATA[goto top]]></category>
		<category><![CDATA[link to top]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/?p=196</guid>
		<description><![CDATA[If link to top is re-directs to homepage, to solve this we have to include following code int to our  typo-script setup page config { prefixLocalAnchors = all } This  replaces  all links like &#60;a href=&#8221;#&#8221; &#62; into &#60;a href=&#8221;[url]#&#8221;&#62;]]></description>
			<content:encoded><![CDATA[<p>If link to top is re-directs to homepage, to solve this we have to include following code int to our  typo-script setup page</p>
<blockquote><p>config {<br />
prefixLocalAnchors = all<br />
}</p></blockquote>
<p>This  replaces  all links like &lt;a href=&#8221;#&#8221; &gt; into &lt;a href=&#8221;[url]#&#8221;&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/typo3/typoscript/if-link-to-top-is-not-working/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

