<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[5D Home]]></title> 
<link>http://www.5dhome.net/myblog/index.php</link> 
<description><![CDATA[PHP, Typo3 CMS, Typolight CMS, Javascript, Jquery, Windows, Linux, iphone]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[5D Home]]></copyright>
<item>
<link>http://www.5dhome.net/myblog/read.php?225</link>
<title><![CDATA[将hide in menu的页面显示在sitemap中 // Typo3 TS]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Wed, 17 Sep 2008 09:41:28 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?225</guid> 
<description>
<![CDATA[ 
	在网站建设中，有的时候需求相当的奇怪，遇到这么一个问题，左边的子菜单不显示的页面却要在内容页中显示，比如sitemap要显示该页面。这个时候最简单的办法是TS，至于有没有插件可以做到我没找过，如果哪位大侠找到了，不烦告知，谢谢。<br /><br /><ul><li>首先把左边子菜单中不要显示的页面属性，都设置成hide in menu</li><li>在要显示菜单的页面（比如sitemap页面）的页面属性中配置TS如下<span style="color: #66cc00"><br />tt_content.menu.20.2.excludeDoktypes=10 #页面的uid</span><br /></li></ul><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?222</link>
<title><![CDATA[多国语言版的时候出现空记录问题 - Typo3 tt_news]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Sat, 28 Jun 2008 05:26:30 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?222</guid> 
<description>
<![CDATA[ 
	<p>对于tt_news有过typo3经验的应该都不会陌生，这里介绍一下用tt_news做多国语言版的时候出现一个空记录的一个问题。<br /><br />tt_news在默认的情况下的记录数是对应默认语言的记录数，其他的语言版都是通过Localization出来的，这时候就有可能出现，默认语言版的记录数大于其他语言版的记录数，从而产生在其他语言版显示出空记录。<br /><br />举例：<br />默认语言：英文<br />其他语言：简体中文、繁体中文<br /><br />- 英文版下tt_news的记录数为<span style="color: #ff9900">10</span>条<br />- 简体中文在通过英文版Localization后翻译了<span style="color: #ff9900">6</span>条<br />- 繁体中文在通过英文版Localization后翻译了<span style="color: #ff9900">3</span>条<br /><br />而最终的结果是<br />- 英文版正常<br />- 简体中文出现了<span style="color: #ff9900">4</span>条空记录<br />- 繁体中文出现了<span style="color: #ff9900">7</span>条空记录<br /><br />解决的办法是，在TS上加上<br /><span style="color: #66cc00">plugin.tt_news.sys_language_mode = strict</span></p><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?195</link>
<title><![CDATA[修改DB mount的maxitems]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Tue, 08 Jan 2008 06:52:12 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?195</guid> 
<description>
<![CDATA[ 
	typo3默认状态下，DB mount的最大页面数量是10。<br/><br/>可以在../typo3conf/extTables.php中添加一句配置代码：<br/><div class="code">$TCA&#91;&#039;sys_workspace&#039;&#93;&#91;&#039;columns&#039;&#93;&#91;&#039;db_mountpoints&#039;&#93;&#91;&#039;config&#039;&#93;&#91;&#039;maxitems&#039;&#93; = 10;</div><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?179</link>
<title><![CDATA[Typo3最常用的几个插件]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Thu, 18 Oct 2007 13:37:18 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?179</guid> 
<description>
<![CDATA[ 
	TemplaVoila (templavoila) &nbsp;// 模版制作插件<br/>FE User Registration (sr_feuser_register) // 前台用户<br/>Better Login Box (newloginbox) // 前台登录<br/>News (tt_news) // 新闻<br/>Macina Searchbox (macina_searchbox) // 搜索<br/>WEC Constants (wec_constants) // 站点配置<br/>WEC Config (wec_config) // 站点配置<br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?175</link>
<title><![CDATA[Breadcrumb navigation(typo3)]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Fri, 21 Sep 2007 07:01:56 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?175</guid> 
<description>
<![CDATA[ 
	<div class="code"><br/>lib.path = HMENU<br/>lib.path &#123;<br/> &nbsp;special = rootline<br/> &nbsp;special.range = 0 &#124; -1<br/> &nbsp;1 = TMENU<br/> &nbsp; &nbsp;1 &#123;<br/> &nbsp; &nbsp; &nbsp;NO &#123;<br/> &nbsp; &nbsp; &nbsp; &nbsp;stdWrap.field = subtitle<br/> &nbsp; &nbsp; &nbsp; &nbsp;allWrap = &#124; &nbsp;&lt;span class=&quot;breadcrumb&quot;&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/span&gt; &nbsp; &#124;*&#124; &#124; &nbsp; &lt;span class=&quot;breadcrumb&quot;&gt;&amp;nbsp;&amp;gt;&amp;nbsp;&lt;/span&gt; &nbsp; &#124;*&#124; &#124; <br/> &nbsp; &nbsp; &nbsp; &nbsp;#ATagParams=class=&quot;breadcrumb&quot;<br/> &nbsp; &nbsp; &nbsp; &nbsp;&#125;<br/> &nbsp; &nbsp; &nbsp;CUR = 1 &nbsp; &nbsp;//当前页面<br/> &nbsp; &nbsp;CUR &#123; &nbsp;<br/> &nbsp; &nbsp; &nbsp; &nbsp;stdWrap.field = subtitle<br/> &nbsp; &nbsp; &nbsp; &nbsp;linkWrap = &nbsp;&#124;<br/> &nbsp; &nbsp; &nbsp; &nbsp;doNotLinkIt = 1<br/> &nbsp; &nbsp; &nbsp; &#125;<br/><br/> &nbsp; &nbsp;&#125;<br/> &nbsp;&#125;<br/></div><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?174</link>
<title><![CDATA[menu去除指定页面]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Thu, 20 Sep 2007 04:54:09 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?174</guid> 
<description>
<![CDATA[ 
	<div class="code"><br/>lib.subMenu = HMENU<br/>lib.subMenu.entryLevel=1<br/><br/>lib.subMenu.excludeUidList=261<br/><br/>#--- level 1 ---#<br/>lib.subMenu.1 = TMENU<br/>lib.subMenu.1 &#123;<br/><br/>NO.allWrap = &lt;li&gt;&#124;&lt;/li&gt;<br/>ACT = 1<br/>ACT.allWrap = &lt;li class=&quot;active&quot;&gt;&#124;&lt;/li&gt;<br/>&#125;<br/><br/>#--- level 2 ---#<br/>lib.subMenu.2 = TMENU<br/>lib.subMenu.2 &#123;<br/>NO.allWrap = &lt;li class=&quot;nav_left_two_li&quot;&gt;&#124;&lt;/li&gt;<br/>ACT = 1<br/>ACT.allWrap = &lt;li class=&quot;nav_left_two_li active&quot;&gt;&#124;&lt;/li&gt;<br/>&#125;<br/><br/>#--- level 3 ---#<br/>lib.subMenu.3 = TMENU<br/>lib.subMenu.3 &#123;<br/>NO.allWrap = &lt;li&gt;&#124;&lt;/li&gt;<br/>ACT = 1<br/>ACT.allWrap = &lt;li class=&quot;active&quot;&gt;&#124;&lt;/li&gt;<br/>&#125;<br/></div><br/><br/>typo3中，做menu时，有一些特殊的页面是不需要显示在menu中的，这种情况下就要用到<br/><div class="code"><br/>lib.subMenu.excludeUidList＝pageid<br/>pageid--特殊页面id<br/></div><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?173</link>
<title><![CDATA[特殊menu]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Thu, 20 Sep 2007 04:53:07 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?173</guid> 
<description>
<![CDATA[ 
	在typo3中，有时需要teaser形式的menu，这是就要用到以下代码了<br/><br/><div class="code"><br/>lib.subMenuChild = HMENU<br/>lib.subMenuChild.special = list<br/>lib.subMenuChild.special.value = 261 &nbsp;//特殊menu的最外层的id<br/>lib.subMenuChild.entryLevel = 1<br/><br/>lib.subMenuChild.1 = TMENU<br/>lib.subMenuChild.1 &#123;<br/>expAll = 1<br/>wrap = &#124;<br/>NO.allWrap = &lt;h2&gt;&#124;&lt;/h2&gt;<br/>NO.doNotLinkIt=1 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;//去除链接<br/>ACT = 0<br/>&#125;<br/><br/>#--- level 2 ---#<br/>lib.subMenuChild.2 = TMENU<br/>lib.subMenuChild.2 &#123;<br/>wrap = &lt;div class=&quot;yellow_dot_ul&quot;&gt;&lt;ul&gt;&#124;&lt;/ul&gt;&lt;/div&gt;<br/>NO.allWrap = &lt;li&gt;&#124;&lt;/li&gt;<br/>ACT = 1<br/>ACT.allWrap = &lt;li class=&quot;nav_left_two_li active&quot;&gt;&#124;&lt;/li&gt;<br/>&#125;<br/></div><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?170</link>
<title><![CDATA[内容的title生成图片]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Fri, 07 Sep 2007 10:21:13 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?170</guid> 
<description>
<![CDATA[ 
	<br/>graphic_header_1.0.0.t3x<br/><br/>这个插件是用来把header生成图片<br/><br/>安装后，在Pagecontent->Header->Type 的下来列表中会多出一个Graphic Header的选项<br/><br/><br/>注：需要为该页面创建extension template ，并在扩展模版中的Constants 和 Setup中添加TS<br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?169</link>
<title><![CDATA[Image Menu (GMENU) // 教程]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Fri, 07 Sep 2007 10:14:10 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?169</guid> 
<description>
<![CDATA[ 
	在typo3中，使用如下的TS代码来生成图片菜单。<br/><br/><div class="code"><br/>lib.mainMenu = HMENU<br/>lib.mainMenu.special = list<br/>lib.mainMenu.special.value = 10,9,8,7,6 &nbsp;//这里是选择要生成image menu的页面id<br/><br/><br/>#CREATE graphical menu<br/>lib.mainMenu.1 = GMENU<br/>lib.mainMenu.1 &#123;<br/> &nbsp;NO &#123;<br/> &nbsp; &nbsp; &nbsp;allWrap = &lt;li&gt;&amp;#124;&lt;/li&gt;<br/> &nbsp; &nbsp; &nbsp;XY = &#91;10.w&#93;+30,24 &nbsp; &nbsp; &nbsp; //使生成image menu自适应title的长度<br/> &nbsp; &nbsp; &nbsp;<br/> &nbsp; &nbsp; &nbsp;4 = IMAGE<br/> &nbsp; &nbsp; &nbsp;4.file = &#123;$webRoot&#125;gmenu/mainmenu_m.gif<br/> &nbsp; &nbsp; &nbsp;4.tile = 60<br/> &nbsp; &nbsp; &nbsp;<br/> &nbsp; &nbsp; &nbsp;5 = IMAGE<br/> &nbsp; &nbsp; &nbsp;5.file = &#123;$webRoot&#125;gmenu/mainmenu_l.gif<br/><br/> &nbsp; &nbsp; &nbsp;6 = IMAGE<br/> &nbsp; &nbsp; &nbsp;6.file = &#123;$webRoot&#125;gmenu/mainmenu_r.gif<br/> &nbsp; &nbsp; &nbsp;6.align = r<br/> &nbsp; &nbsp; &nbsp;<br/> &nbsp; &nbsp; &nbsp;10 = TEXT<br/> &nbsp; &nbsp; &nbsp;10.niceText= 0<br/> &nbsp; &nbsp; &nbsp;10.text.field = title<br/> &nbsp; &nbsp; &nbsp;10.fontFile = &#123;$webRoot&#125;fonts/CACHETBO.TTF<br/> &nbsp; &nbsp; &nbsp;10.fontSize = 10.5px<br/> &nbsp; &nbsp; &nbsp;10.offset=16,17<br/> &nbsp; &nbsp; &nbsp;10.fontColor = #FF9900<br/> &nbsp;&#125;<br/> &nbsp;<br/> &nbsp;RO &lt; .NO &nbsp; &nbsp; &nbsp;//mouse over 时的状态<br/> &nbsp;RO = 1<br/> &nbsp;RO &#123;<br/> &nbsp; &nbsp; 4.file = &#123;$webRoot&#125;gmenu/mainmenu_over_m.gif<br/> &nbsp; &nbsp; 5.file = &#123;$webRoot&#125;gmenu/mainmenu_over_l.gif<br/> &nbsp; &nbsp; 6.file = &#123;$webRoot&#125;gmenu/mainmenu_over_r.gif<br/> &nbsp; &nbsp; 10.fontColor = #FFFFFF<br/> &nbsp;&#125;<br/><br/> &nbsp;ACT &lt; .NO &nbsp; //当前页面<br/> &nbsp;ACT = 1<br/> &nbsp;ACT &#123;<br/> &nbsp; &nbsp; 4.file = &#123;$webRoot&#125;gmenu/mainmenu_active_m.gif<br/> &nbsp; &nbsp; 5.file = &#123;$webRoot&#125;gmenu/mainmenu_active_l.gif<br/> &nbsp; &nbsp; 6.file = &#123;$webRoot&#125;gmenu/mainmenu_active_r.gif<br/> &nbsp; &nbsp; 10.fontColor = #FFFFFF<br/> &nbsp;&#125; &nbsp;<br/><br/>&#125;<br/></div><br/><br/>注：在typo3（4.1.1）中添加了如下代码后，在IE下鼠标放在image menu上时没有反应，google后得知是typo3（4.1.1）的一个Bug，升级到typo3（4.1.2）后，问题解决。<br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?168</link>
<title><![CDATA[typo3菜单实现不同图标效果以及扩展问题的解决 // 教程]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Fri, 07 Sep 2007 06:57:05 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?168</guid> 
<description>
<![CDATA[ 
	<span style="color: #FF4500;"><strong>如何制作菜单图标</strong></span><br/><br/>进入page页面的header修改，从把page type从standard改成advanced，此时页面会出现更多的选项，到找到navigation title处，这里你可以写html代码<br/><div class="code"><br/>如原page title为About Us，<br/>现在你在navigation title写上&lt;img src=&quot;图标的位置&quot; border=0&gt;About Us<br/></div><br/>更新缓存，你就可以看到该菜单前面多了个图标，实际上是navigation title代替了page title的内容。<br/><br/><span style="color: #FF4500;"><strong>制作图标菜单导致的问题</strong></span><br/><br/>效果固然很好，但是造成的问题也不小，如果有用typo3做站点面包屑breadcrumb的朋友，这时候问题就来了，所有的图标菜单，毫无保留的把它们最美的图标也显示在面包屑的位置，看过去一个字，怪！如何解决这个问题呢？这还要费点周折。<br/><br/><span style="color: #FF4500;"><strong>解决面包屑的问题</strong></span><br/><br/>我的解决方案，有点笨拙，如果有更好的办法，希望大家也能和我分享。<br/>解决这个面包屑不出现图标的理念是，用page参数subtitle来代替原先的page title，这样navigation tilte就不起作用了，尽管他代替了page title，呵呵，这叫螳螂捕蝉黄雀在后，比喻有点不恰当，请多包涵。<br/><br/>到template中设置面包屑的这段TS，<br/>#################### breadcrumb ####################<br/><div class="code"><br/>lib.breadcrumb = HMENU<br/>lib.breadcrumb &#123;<br/> &nbsp;special = rootline<br/> &nbsp;special.range = 0 &#124; -1<br/> &nbsp;1 = TMENU<br/> &nbsp; &nbsp;1 &#123;<br/> &nbsp; &nbsp; &nbsp;NO &#123;<br/> &nbsp; &nbsp; &nbsp; &nbsp;stdWrap.field = subtitle<br/> &nbsp; &nbsp; &nbsp; &nbsp;allWrap = &nbsp; &#124; &nbsp;&lt;span class=&quot;breadcrumb&quot;&gt;&amp;nbsp;/&amp;nbsp;&lt;/span&gt; &nbsp; &#124;*&#124;<br/>&#124; &nbsp; &lt;span class=&quot;breadcrumb&quot;&gt;&amp;nbsp;/&amp;nbsp;&lt;/span&gt; &nbsp; &#124;*&#124; &#124; <br/> &nbsp; &nbsp; &nbsp; &nbsp;ATagParams=class=&quot;breadcrumb&quot;<br/> &nbsp; &nbsp; &nbsp;&#125;<br/> &nbsp; &nbsp;&#125;<br/> &nbsp;&#125;<br/><br/></div><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?165</link>
<title><![CDATA[typo3 如何定义常量 // 教程]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Wed, 15 Aug 2007 01:54:25 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?165</guid> 
<description>
<![CDATA[ 
	在Template Tools -&gt; Info/Modify 模式下<br/><br/><br/><img src="http://www.5dhome.net/myblog/template/DarkBlue/images/viewimage.gif" alt=""/><a href="http://www.5dhome.net/myblog/attachment/typo3_constants.gif" target="_blank">点击在新窗口中浏览此图片</a><br/><a href="http://www.5dhome.net/myblog/attachment/typo3_constants.gif" target="_blank">http://www.5dhome.net/mybl...</a><br/><br/><br/>在Constants里定义一个变量，如：<br/><div class="code">webRoot = fileadmin/templates/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # 定义站点主目录 </div><br/><br/><br/>在Setup中可以以这种形式调用常量，如：<br/><div class="code"><br/># 这样可以html制作的时候就无须考虑路径的问题，和ts结合只需设置一个常量即可，省下不少工作<br/>lib.Logo = HTML<br/>lib.Logo.value = &#123;$webRoot&#125;images/logo.gif<br/></div><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?132</link>
<title><![CDATA[Typo3 搜索前台用户(HOI Community) // 教程]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Sun, 29 Apr 2007 03:57:43 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?132</guid> 
<description>
<![CDATA[ 
	<div class="quote"><div class="quote-title">引用</div><div class="quote-content"><strong>Title</strong>: &nbsp;HOI Community<br/><strong>Extension key</strong>: &nbsp;( hoicommunity )<br/><strong>Status</strong>: &nbsp;( beat )<br/><strong>Description</strong>: &nbsp;A complete user community, including logging in, creating accounts, sending messages, buddylists, ignore lists and searching users.<br/></div></div><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?129</link>
<title><![CDATA[User Group Frontend Management // Typo3前台用户]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Fri, 27 Apr 2007 02:59:04 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?129</guid> 
<description>
<![CDATA[ 
	<div class="quote"><div class="quote-title">引用</div><div class="quote-content"><strong>Title</strong>:&nbsp;&nbsp;Easy User Group Frontend Management<br/><strong>Extension key</strong>:&nbsp;&nbsp;( pu_easyusrgrpmgmt )<br/><strong>Status</strong>:&nbsp;&nbsp;( stable )<br/><strong>Description</strong>:<br/>&nbsp;&nbsp;&nbsp;&nbsp;This is a backend module to manage frontend users and groups. Easyly assign users to groups or remove users from groups.</div></div><br/>该插件会在后台添加一个module，可以在后台方便的对前台用户进行管理。<br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?128</link>
<title><![CDATA[Typo3中动态生成表单（onqform） // 教程]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Thu, 26 Apr 2007 03:08:37 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?128</guid> 
<description>
<![CDATA[ 
	<div class="quote"><div class="quote-title">引用</div><div class="quote-content"><strong>Plugin Title</strong>：onqform<br/><strong>Extension key</strong>： ( onqform )<br/><strong>Status</strong>： &nbsp;( stable )<br/></div></div><br/>该插件在typo3中是一个表单插件，可以用来在前台动态生成表单，表单内容提交后将内容发送到指定的邮件地址。<br/><br/><div class="code">First Name: &#124; *firstname=input,30,50<br/>Last Name: &#124; *lastname=input,30,50<br/>Company: &#124; company=input,30,50<br/>Email: &#124; *email=input,40,150<br/>Message: &#124; *message=textarea,40,5,OFF<br/>checkbox: &#124; *check=check <br/>select: &#124; *select=select &#124; test,1<br/>radio: &#124; *radio=radio &#124; 1,2,3<br/>radio: &#124; *radio2=radio &#124; a,b,c<br/>&lt;br&gt;are you like this car?&lt;br&gt; &#124; *radio=text <br/></div><br/><br/>例子：<br/><div class="code">radio: &#124; *radio2=radio &#124; a,b,c</div><br/><br/>radio: -- 是在前台显示的html控件的title。<br/>radio2 -- 是html控件的name。<br/>＝radio -- 是html控件的type。<br/>a,b,c -- 是html控件的value。<br/><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?127</link>
<title><![CDATA[Typo3 前台用户修改个人资料 (fe_user) // 安装]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Fri, 20 Apr 2007 09:46:23 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?127</guid> 
<description>
<![CDATA[ 
	登陆后修改用户资料：<br/><br/>基本包： cwt_community_0.8.3.t3x(beta) &nbsp; // key (cwt_community)<br/><br/>用户修改资料：cwt_feedit_0.6.0.t3x(beta) &nbsp;// key (cwt_feedit)<br/><br/>扩展 ：cwt_community_user_0.1.1.t3x(beta) &nbsp;//key (cwt_community_user)<br/><br/>cwt_feedit_0.6.0.t3x 依赖于 cwt_community_user_0.1.1.t3x<br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?125</link>
<title><![CDATA[Typo3 TemplaVoila localization // 教程]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Thu, 19 Apr 2007 06:13:40 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?125</guid> 
<description>
<![CDATA[ 
	<strong> How to change icon for default language</strong><br/><hr/><br/><br/>Put this in the Page TS config of root page:<br/><br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"><br/>mod.SHARED &#123;<br/> defaultLanguageLabel = Deutsch<br/> defaultLanguageFlag = de.gif<br/>&#125;<br/></div></div><br/><br/><strong>TemplaVoila working with multiple languages</strong><br/><br/>Install the extensions:<br/><br/> &nbsp; &nbsp;* static_info_tables<br/> &nbsp; &nbsp;* static_info_tables_uksorting<br/> &nbsp; &nbsp;* sr_static_info<br/> &nbsp; &nbsp;* ts_language_XX <br/>Create the alternative languages needed (do not create the default language here):<br/> &nbsp; &nbsp;* ROOT -&gt; new -&gt; Languages <br/><br/>Create a Alternative Page Language for all the page you want to translate, this is where you will translate the titles of your pages:<br/> &nbsp; &nbsp;* Contextual menu -&gt; New -&gt; Alternative Page Language<br/> &nbsp; &nbsp;* or<br/> &nbsp; &nbsp;* Page -&gt; Language -&gt; Make new translation of this <br/><br/> <strong>2 ways to translate.</strong><br/><br/><strong> By having a different content element for each language (using the Localization tab on the green TV Page)</strong><br/><br/> &nbsp; &nbsp;* <strong>THIS is DEPRECATED with TYPO3 3.8.0 !!!</strong> <br/><br/> &nbsp; &nbsp; All works OK without this on 3.8.0 with TV 0.4.0<br/><br/> &nbsp; &nbsp;* Edit your TV xml file for your TEMPLATE, replace: <br/><div class="code">&lt;T3DataStructure&gt;<br/> &nbsp; &nbsp;&lt;ROOT type=&quot;array&quot;&gt;<br/><br/>by:<br/><br/>&lt;T3DataStructure&gt;<br/>&lt;meta type=&quot;array&quot;&gt;<br/>&lt;langChildren type=&quot;integer&quot;&gt;1&lt;/langChildren&gt;<br/>&lt;langDisable type=&quot;integer&quot;&gt;0&lt;/langDisable&gt;<br/>&lt;/meta&gt;<br/> &nbsp; &nbsp;&lt;ROOT type=&quot;array&quot;&gt; <br/></div><br/><br/> &nbsp; &nbsp;* Then edit your <strong>page header</strong>, a selectorbox should appear after the &quot;Content:&quot; line, with CTRL key click on all your languages. You should now see a choice in the Localization tab of the TV page.<br/> &nbsp; &nbsp;* You can make automatically a copy of all your content for translation in the classical page module / section language -&gt; Copy default content elements [x] <br/><br/><strong> By having the different languages in the same content element (works only with flexible content)</strong><br/><br/> &nbsp; &nbsp;* Edit your TV xml file for your FLEXIBLE CONTENTS elements, replace: <br/><br/><div class="code">&lt;T3DataStructure&gt;<br/> &nbsp; &nbsp;&lt;ROOT type=&quot;array&quot;&gt;<br/><br/>by:<br/><br/>&lt;T3DataStructure&gt;<br/>&lt;meta type=&quot;array&quot;&gt;<br/>&lt;langChildren type=&quot;integer&quot;&gt;1&lt;/langChildren&gt;<br/>&lt;langDisable type=&quot;integer&quot;&gt;0&lt;/langDisable&gt;<br/>&lt;/meta&gt;<br/> &nbsp; &nbsp;&lt;ROOT type=&quot;array&quot;&gt; <br/></div><br/><br/> &nbsp; &nbsp;* &nbsp;Then edit your content element, a selectorbox should appear after the &quot;Content:&quot; line, with CTRL key click on all your languages. Save and you should now be able to write the translation in the same content for all your languages. <br/><br/> &nbsp; &nbsp;* If you are having trouble viewing the content elements you add when you switch between different languages, try changing the above to <br/><br/><div class="code">&lt;langChildren type=&quot;integer&quot;&gt;0&lt;/langChildren&gt;</div><br/><br/> &nbsp; &nbsp;* If you want to keep the same language through the navigation of your website, you need to add this to your template TS setup (replace fr,en and fr_FR,english by the languages you need): <br/><br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"># defining the default language<br/>config.sys_language_uid = 0<br/>config.language = fr<br/>config.locale_all = fr_FR<br/>#config.htmlTag_langKey = fr<br/><br/># Setting up the language variable &quot;L&quot; to be passed along with links<br/>config.linkVars = L<br/><br/># Fench language, sys_language.uid = 0<br/>[globalVar = GP:L = 0]<br/>config.sys_language_uid = 0<br/>config.language = fr<br/>config.locale_all = fr_FR<br/>#config.htmlTag_langKey = fr<br/>[global]<br/><br/># English language, sys_language.uid = 1<br/>[globalVar = GP:L = 1]<br/>config.sys_language_uid = 1<br/>config.language = en<br/>config.locale_all = english<br/>#config.htmlTag_langKey = en<br/>[global]<br/><br/># Third language, sys_language.uid = 2<br/>[globalVar = GP:L = 2]<br/>config.sys_language_uid = 2<br/>config.language = xx<br/>config.locale_all = xx_XX<br/>#config.htmlTag_langKey = xx<br/>[global]<br/><br/></div></div><br/><br/>This code will add the parameter &amp;L= to all your TS link in your website.<br/><br/><strong>Clear all cache, take a big dictionnary, 2 liters of coffee and translate ;-)</strong><br/><br/><br/><hr/><br/><br/><strong>Using the same content elements in any language, if not defined</strong><br/><br/> &nbsp; &nbsp;* If you would like to use e.g. Images of your Template in any language if the user does not define new ones in the other language, replace this in your TV xml file for your <strong>TEMPLATE</strong>: <br/><br/><div class="code">&lt;ROOT type=&quot;array&quot;&gt;<br/> &nbsp; &lt;tx_templavoila type=&quot;array&quot;&gt;<br/> &nbsp; &nbsp; &nbsp; &nbsp; &lt;title&gt;ROOT&lt;/title&gt;<br/> &nbsp; &nbsp; &nbsp; &nbsp; &lt;description&gt;Select ...&lt;/description&gt;<br/> &nbsp; &lt;/tx_templavoila&gt;<br/><br/>by:<br/><br/>&lt;ROOT type=&quot;array&quot;&gt;<br/> &nbsp; &nbsp;&lt;tx_templavoila type=&quot;array&quot;&gt;<br/> &nbsp; &nbsp; &nbsp; &nbsp; &lt;title&gt;ROOT&lt;/title&gt;<br/> &nbsp; &nbsp; &nbsp; &nbsp; &lt;description&gt;Select ...&lt;/description&gt;<br/> &nbsp; &nbsp; &nbsp; &nbsp; &lt;langOverlayMode&gt;ifBlank&lt;/langOverlayMode&gt;<br/> &nbsp; &nbsp; &lt;/tx_templavoila&gt;<br/></div><br/><br/>For more options see: <a href="http://typo3.org/documentation/document-library/templavoila/Introduction-5db5ec2252/" target="_blank">http://typo3.org/documentation/document-library/templavoila/Introduction-5db5ec2252/</a><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?124</link>
<title><![CDATA[ImageMagic安装与配置(typo3篇) // 教程]]></title> 
<author>luye &lt;&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Wed, 18 Apr 2007 08:40:32 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?124</guid> 
<description>
<![CDATA[ 
	在typo3中使用GD库来处理图片时，无法将图片生成缩略图。<br/>换做Imagemagic后，同一张图片可以生成缩略图。<br/><br/>在安装ImageMagic的时候要注意：<br/><br/>当ImageMagic安装正常后，由于ImageMagic被安装在我们自行指定的/usr/local/ImageMagick，后面安装RMagic会找不到需要用到的ImageMagic的命令和库，因此需要配置一下操作系统：<br/> <br/>编辑/etc/profile里面的PATH环境变量，在最后面加入：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">export PATH=/usr/local/ImageMagick/bin:$PATH</div></div><br/> <br/>编辑/etc/ld.so.conf，加入：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">/usr/local/ImageMagick/lib</div></div><br/><br/>执行命令：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">ldconfig</div></div><br/>将ImageMagick的库加入系统联接库<br/><br/>否则一些对ImageMagic的应用可能会出问题。全部完成后注销用户，重新登陆即可。<br/><br/><br/><br/>------------------------------------------------------------------------------------------------------<br/><br/>编译ImageMagic<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"><br/>tar ImageMagick-5.5.7-15.tar.gz<br/>cd ImageMagick-5.5.7<br/><br/>./configure &#92;<br/>LDFLAGS=&quot;-L/usr/lib&quot; CPPFLAGS=&quot;-I/usr/include&quot; &#92;<br/>--prefix=/usr/local/ImageMagick &#92;<br/>--enable-shared &#92;<br/>--enable-lzw<br/>make<br/>make install<br/></div></div><br/><br/><br/>重编译php的时候加上<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">--with-imagick=/usr/local/ImageMagick </div></div><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=php" rel="tag">php</a> , <a href="http://www.5dhome.net/myblog/tag.php?tag=linux" rel="tag">linux</a> , <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?119</link>
<title><![CDATA[多语言站点，设置不同语言的页面标题 // typo3 TS设置]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Wed, 28 Mar 2007 07:34:02 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?119</guid> 
<description>
<![CDATA[ 
	Use plugin mf_pagetitle and a setup along the lines of:<br/><br/><br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content"><br/>includeLibs.pagetitle = EXT:mf_pagetitle/pagetitle.php<br/><br/>plugin.mf_pagetitle.title = Title in default language: &#123;page:title&#125;<br/><br/>[globalVar = GP:L = 0]<br/>&nbsp;&nbsp; plugin.mf_pagetitle.title = Title in language with uid 0: &#123;page:title&#125;<br/>[globalVar = GP:L = 2]<br/>&nbsp;&nbsp; plugin.mf_pagetitle.title = Title in language with uid 2: &#123;page:title&#125;<br/>[GLOBAL]<br/><br/>config.titleTagFunction = user_pagetitle_class-&gt;changetitle<br/><br/>&#123;page:title&#125; includes the pages individual titles.<br/></div></div><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?104</link>
<title><![CDATA[indexed search 搜索结果页面的配置 // 教程]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Fri, 15 Dec 2006 17:04:31 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?104</guid> 
<description>
<![CDATA[ 
	<div class="code"><br/>## ---------------------------------------------------------<br/># indexed search 搜索结果页面的配置<br/>## ---------------------------------------------------------<br/>includeLibs.indexedsearch = typo3/sysext/indexed_search/class.indexer.php<br/>plugin.tx_indexedsearch &#123;<br/> &nbsp;templateFile = fileadmin/templates/indexedsearch.html<br/> &nbsp;<br/> &nbsp;show &#123;<br/> &nbsp; &nbsp;rules = 0<br/> &nbsp; &nbsp;parsetimes = 0<br/> &nbsp; &nbsp;L2sections = 0<br/> &nbsp; &nbsp;L1sections = 1<br/> &nbsp; &nbsp;LxALLtypes = 0<br/> &nbsp; &nbsp;clearSearchBox = 0<br/> &nbsp; &nbsp;clearSearchBox.enableSubSearchCheckBox = 0<br/> &nbsp; &nbsp;forbiddenRecords = 0<br/> &nbsp; &nbsp;alwaysShowPageLinks = 1<br/> &nbsp; &nbsp;advancedSearchLink = 0<br/> &nbsp; &nbsp;resultNumber = 0<br/> &nbsp; &nbsp;mediaList = 1<br/> &nbsp;&#125;<br/> &nbsp;<br/> &nbsp;# Blinding of option-selectors / values in these (advanced search) (see $optValues array in source code for options + extResume checkbox)<br/> &nbsp;blind &#123;<br/> &nbsp; &nbsp;type = 0<br/> &nbsp; &nbsp;defOp = 0<br/> &nbsp; &nbsp;sections = 1<br/> &nbsp; &nbsp;freeIndexUid = <br/> &nbsp; &nbsp;media = 1<br/> &nbsp; &nbsp;order = 0<br/> &nbsp; &nbsp;group = 0<br/> &nbsp; &nbsp;lang = 0<br/> &nbsp; &nbsp;desc = 0<br/> &nbsp; &nbsp;results = 0<br/> &nbsp;&#125;<br/> &nbsp;<br/> &nbsp;rules_stdWrap &#123;<br/> &nbsp;&#125;<br/> &nbsp;<br/> &nbsp;sectionlinks_stdWrap &#123;<br/> &nbsp;&#125;<br/> &nbsp;<br/> &nbsp;path_stdWrap &#123;<br/> &nbsp;&#125;<br/> &nbsp;<br/> &nbsp;search &#123;<br/> &nbsp; &nbsp;rootPidList = 1<br/> &nbsp; &nbsp;page_links = 20<br/> &nbsp; &nbsp;detect_sys_domain_records = 0<br/> &nbsp; &nbsp;defaultFreeIndexUidList =<br/> &nbsp;&#125;<br/> &nbsp;<br/> &nbsp;result_link_target = _self<br/> &nbsp;<br/> &nbsp;forwardSearchWordsInResultLink = 1<br/> &nbsp;<br/> &nbsp;# Setting default values for piVars (please see the source code for the form-field names which you can preset values for here)<br/> &nbsp;_DEFAULT_PI_VARS &#123;<br/> &nbsp; &nbsp;extResume = 1<br/> &nbsp; &nbsp;type = 1<br/> &nbsp; &nbsp;group = sections<br/> &nbsp;&#125;<br/> &nbsp;<br/> &nbsp;<br/> &nbsp;_CSS_DEFAULT_STYLE &gt;<br/> &nbsp;_LOCAL_LANG &#123;<br/> &nbsp; &nbsp;default &#123;<br/> &nbsp; &nbsp; &nbsp;pi_list_browseresults_page =<br/> &nbsp; &nbsp; &nbsp;submit_button_label = submit<br/> &nbsp; &nbsp;&#125;<br/> &nbsp; &nbsp;<br/> &nbsp; &nbsp;cn &#123;<br/> &nbsp; &nbsp; &nbsp;submit_button_label = 提交<br/> &nbsp; &nbsp;&#125;<br/> &nbsp;&#125;<br/>&#125;<br/></div><br/><br/><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item><item>
<link>http://www.5dhome.net/myblog/read.php?103</link>
<title><![CDATA[templateVoila!模版setup样例（1）]]></title> 
<author>曼查罗 &lt;34n.sam@gmail.com&gt;</author>
<category><![CDATA[typo3]]></category>
<pubDate>Fri, 15 Dec 2006 16:59:32 +0000</pubDate> 
<guid>http://www.5dhome.net/myblog/read.php?103</guid> 
<description>
<![CDATA[ 
	最近从系统template转型到templateVoila!是一个辛苦的过程，但是发现templateVoila!的操作界面确实要比默认的模版要更好操作些，辛苦是值得的，整理了一些模版setup的TS，比较实用。<br/><br/><div class="code"><br/>## ---------------------------------------------------------<br/># config 配置文件头输出格式<br/>## ---------------------------------------------------------<br/>config &#123;<br/> &nbsp;xmlprologue = none<br/> &nbsp;doctype = xhtml_strict<br/> &nbsp;xhtml_cleaning = all<br/> &nbsp;index_enable = 1<br/> &nbsp;index_externals = 1<br/>&#125;<br/></div><br/><br/><br/><div class="code"><br/>## ---------------------------------------------------------<br/># page 页面对象，css以及js脚本的调用<br/>## ---------------------------------------------------------<br/>page = PAGE<br/>page.typeNum = 0<br/>page.10 = USER<br/>page.10.userFunc = tx_templavoila_pi1-&gt;main_page<br/><br/>page.stylesheet = fileadmin/templates/css/screen.css<br/>page.includeJS &#123;<br/> &nbsp; file1 = fileadmin/templates/script/home.js<br/> &nbsp; file1.type = text/javascript<br/> &nbsp; file2 = fileadmin/templates/script/external.js<br/> &nbsp; file2.type = text/javascript &nbsp; <br/>&#125;<br/></div><br/><br/><br/><div class="code"><br/>## ---------------------------------------------------------<br/># menu 菜单的设置<br/>## ---------------------------------------------------------<br/><br/>#################### top menu 顶部固定菜单 ####################<br/>lib.topMenu = HMENU<br/>lib.topMenu.special = list<br/>lib.topMenu.special.value = 26,29,25<br/><br/>lib.topMenu.1 = TMENU<br/>lib.topMenu.1 &#123;<br/>#NO.allWrap = &#124;&#124;*&#124;&amp;nbsp;&amp;#124;&amp;nbsp;&#124;<br/>NO.allWrap = &lt;li&gt;&#124;&lt;/li&gt;<br/>&#125;<br/><br/>#################### main menu 固定主菜单 ####################<br/>lib.mainMenu = HMENU<br/>lib.mainMenu.special = list<br/>lib.mainMenu.special.value = 34,33,32,31,30<br/><br/>lib.mainMenu.1 = TMENU<br/>lib.mainMenu.1 &#123;<br/>NO.allWrap = &lt;li&gt;&#124;&lt;/li&gt;<br/>&#125;<br/><br/>#################### foot menu 眉脚菜单 ####################<br/>lib.footMenu = HMENU<br/>lib.footMenu.special = list<br/>lib.footMenu.special.value = 27,28,26,29,113<br/><br/>lib.footMenu.1 = TMENU<br/>lib.footMenu.1 &#123;<br/>NO.allWrap = &lt;li&gt;&#124;&lt;/li&gt;<br/>&#125;<br/></div><br/><br/><br/><div class="code"><br/>## ---------------------------------------------------------<br/># search box 搜索页面的配置<br/>## ---------------------------------------------------------<br/>lib.searchBox =&lt; plugin.tx_macinasearchbox_pi1<br/>lib.searchBox.pidSearchpage = 114<br/>#lib.searchBox.templateFile = EXT:macina_searchbox/pi1/template.htm<br/>lib.searchBox.templateFile = fileadmin/templates/searchbox.html<br/></div><br/><br/><br/><div class="code"><br/>## -----------------------------------------------------<br/># news teaser 新闻模块的配置<br/>## -----------------------------------------------------<br/>plugin.tt_news &#123;<br/> &nbsp;templateFile = fileadmin/templates/news_teaser.html<br/> &nbsp;displayLatest.date_stdWrap.strftime = %d %b %Y<br/>&#125;<br/></div><br/><br/><br/><br/><br/>Tags - <a href="http://www.5dhome.net/myblog/tag.php?tag=typo3" rel="tag">typo3</a>
]]>
</description>
</item>
</channel>
</rss>