<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>development with Contao cms</title>
	<atom:link href="http://developmentwithtypolight.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://developmentwithtypolight.wordpress.com</link>
	<description>articles, tutorials, trick and tips and more ...</description>
	<lastBuildDate>Sat, 07 Aug 2010 18:58:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='developmentwithtypolight.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/7b648682f7b3059b79a57fae7398f3d3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>development with Contao cms</title>
		<link>http://developmentwithtypolight.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://developmentwithtypolight.wordpress.com/osd.xml" title="development with Contao cms" />
	<atom:link rel='hub' href='http://developmentwithtypolight.wordpress.com/?pushpress=hub'/>
		<item>
		<title>301 moved permanently;</title>
		<link>http://developmentwithtypolight.wordpress.com/2010/08/07/301-moved-permanently/</link>
		<comments>http://developmentwithtypolight.wordpress.com/2010/08/07/301-moved-permanently/#comments</comments>
		<pubDate>Sat, 07 Aug 2010 18:58:08 +0000</pubDate>
		<dc:creator>ga.n</dc:creator>
		
		<guid isPermaLink="false">http://developmentwithtypolight.wordpress.com/?p=175</guid>
		<description><![CDATA[check out the new blog at http://zedseries.blogspot.com<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=175&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1>check out the new blog at <a href="http://zedseries.blogspot.com">http://zedseries.blogspot.com</a></h1>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentwithtypolight.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentwithtypolight.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentwithtypolight.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentwithtypolight.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developmentwithtypolight.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developmentwithtypolight.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developmentwithtypolight.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developmentwithtypolight.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentwithtypolight.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentwithtypolight.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentwithtypolight.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentwithtypolight.wordpress.com/175/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentwithtypolight.wordpress.com/175/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentwithtypolight.wordpress.com/175/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=175&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developmentwithtypolight.wordpress.com/2010/08/07/301-moved-permanently/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d926181cb42a6ac650cfd4d31cce8387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ga.n</media:title>
		</media:content>
	</item>
		<item>
		<title>How to create an extension for Contao starting from a Language Pack</title>
		<link>http://developmentwithtypolight.wordpress.com/2010/07/25/how-to-create-an-extension-for-contao-starting-from-a-language-pack/</link>
		<comments>http://developmentwithtypolight.wordpress.com/2010/07/25/how-to-create-an-extension-for-contao-starting-from-a-language-pack/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 10:35:27 +0000</pubDate>
		<dc:creator>ga.n</dc:creator>
		
		<guid isPermaLink="false">https://developmentwithtypolight.wordpress.com/2010/07/25/how-to-create-an-extension-for-contao-starting-from-a-language-pack/</guid>
		<description><![CDATA[This tutorial is tailored for windows users, I’m sure that users of other operating system know how to adapt it to their needs A few days ago I’ve released a command line script that aims to build a Contao extension starting from a language pack. The project page is located at http://bitbucket.org/zedseries/contao_languagepack_builder/, the script can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=174&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p><em>This tutorial is tailored for windows users, I’m sure that users of other operating system know how to adapt it to their needs <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
</blockquote>
<p>A few days ago I’ve released a command line script that aims to build a Contao extension starting from a language pack.</p>
<p>The project page is located at <a href="http://bitbucket.org/zedseries/contao_languagepack_builder/">http://bitbucket.org/zedseries/contao_languagepack_builder/</a>, the script can be downloaded from <a title="http://bitbucket.org/zedseries/contao_languagepack_builder/get/v1.0.1.stable.zip" href="http://bitbucket.org/zedseries/contao_languagepack_builder/get/v1.0.1.stable.zip">http://bitbucket.org/zedseries/contao_languagepack_builder/get/v1.0.1.stable.zip</a></p>
<h2>Requirements</h2>
<ul>
<li>Php executable installed on your system (The script is written in php, so you must have a php cli installation to run it)      <br />If you do not have a php executable installed on your system, you can download a copy for windows at <a title="http://www.php.net/get/php-5.2.14-Win32.zip/from/a/mirror" href="http://www.php.net/get/php-5.2.14-Win32.zip/from/a/mirror">http://www.php.net/get/php-5.2.14-Win32.zip/from/a/mirror</a>) </li>
<li>Some basic knowledge of the command line </li>
<li>An account on Contao.org (if you are a translator you can use your translator username) </li>
</ul>
<p> <span id="more-174"></span>
<ul></ul>
<h2>Getting started</h2>
<ol>
<li>Create a folder into the drive C:\ and name it contao_language_extension </li>
<li>Download the <a href="http://bitbucket.org/zedseries/contao_languagepack_builder/get/v1.0.1.stable.zip">zip file containing the command line script</a> and unzip it into the above dir </li>
<li>Download the language pack from the Contao.org website (<a title="http://www.contao.org/download.html#translations" href="http://www.contao.org/download.html#translations">http://www.contao.org/download.html#translations</a>) and put it (<strong>without unzipping</strong>) into the folder created in step 1. </li>
<li>Create a folder (that will contain the extension built by the script) named <strong>out</strong>. </li>
</ol>
<p>If you have something like this:</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/07/directory_schema.png"><img style="display:inline;border-width:0;" title="directory_schema" border="0" alt="directory_schema" src="http://developmentwithtypolight.files.wordpress.com/2010/07/directory_schema_thumb.png?w=667&#038;h=278" width="667" height="278" /></a></p>
<p>you can go on <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>Customize the extension</h2>
<p>Create a copy of C:\contao_language_extension\contao_languagepack_builder\package\package.xml.sample and rename it to package.xml.</p>
<p>Edit the package.xml (will looks like this):</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:7c050543-bff4-4709-a3ee-81a81637d8d6" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;white-space:pre-wrap;word-wrap:break-word;overflow:auto;"><span style="color:#0000FF;">&lt;?</span><span style="color:#FF00FF;">xml version="1.0" encoding="utf-8"</span><span style="color:#0000FF;">?&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;!</span><span style="color:#FF00FF;">DOCTYPE typolightpackage</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">extension </span><span style="color:#FF0000;">name</span><span style="color:#0000FF;">="%languagepack_name%"</span><span style="color:#FF0000;"> date</span><span style="color:#0000FF;">="%today%"</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">author </span><span style="color:#FF0000;">user</span><span style="color:#0000FF;">="__YOUR_ACCOUNT_NAME_AT_CONTAO"</span><span style="color:#FF0000;"> name</span><span style="color:#0000FF;">="__YOUR_NAME__"</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">copyright</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">__YOUR_COPYRIGHT_NOTICE__</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">copyright</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">license</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">LGPL</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">license</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">classification </span><span style="color:#FF0000;">type</span><span style="color:#0000FF;">="free"</span><span style="color:#FF0000;"> category</span><span style="color:#0000FF;">="other"</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">release </span><span style="color:#FF0000;">version</span><span style="color:#0000FF;">="%version_number%"</span><span style="color:#FF0000;"> build</span><span style="color:#0000FF;">="0"</span><span style="color:#FF0000;"> date</span><span style="color:#0000FF;">="%today%"</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">language </span><span style="color:#FF0000;">code</span><span style="color:#0000FF;">="en"</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">translator </span><span style="color:#FF0000;">user</span><span style="color:#0000FF;">="__YOUR_ACCOUNT_NAME_AT_CONTAO"</span><span style="color:#FF0000;"> name</span><span style="color:#0000FF;">="__YOUR_NAME__"</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">searchtags</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">languagepack,core translation</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">searchtags</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">title</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">%langname% Language Pack</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">title</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">teaser</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">__ENTER_A_TEASER__</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">teaser</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">

</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">description</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
__ENTER_A_DESCRIPTION__
</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">description</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">releasenotes</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
%release_notes%
</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">releasenotes</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">manual </span><span style="color:#FF0000;">link</span><span style="color:#0000FF;">="__YOUR_WEBSITE__"</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">language</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">extension</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>and provide the missing information, below you will find the package.xml used by the Italian Contao Community:</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:1ed4055d-9814-4c5c-b1a9-8876d0aada8a" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;white-space:pre-wrap;word-wrap:break-word;overflow:auto;"><span style="color:#0000FF;">&lt;?</span><span style="color:#FF00FF;">xml version="1.0" encoding="utf-8"</span><span style="color:#0000FF;">?&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;!</span><span style="color:#FF00FF;">DOCTYPE typolightpackage</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">extension </span><span style="color:#FF0000;">name</span><span style="color:#0000FF;">="%languagepack_name%"</span><span style="color:#FF0000;"> date</span><span style="color:#0000FF;">="%today%"</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">author </span><span style="color:#FF0000;">user</span><span style="color:#0000FF;">="contaocms.it"</span><span style="color:#FF0000;"> name</span><span style="color:#0000FF;">="Italian Contao Community"</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">copyright</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">(c) Italian Contao Community</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">copyright</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">license</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">LGPL</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">license</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">classification </span><span style="color:#FF0000;">type</span><span style="color:#0000FF;">="free"</span><span style="color:#FF0000;"> category</span><span style="color:#0000FF;">="translation"</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">release </span><span style="color:#FF0000;">version</span><span style="color:#0000FF;">="%version_number%"</span><span style="color:#FF0000;"> build</span><span style="color:#0000FF;">="0"</span><span style="color:#FF0000;"> date</span><span style="color:#0000FF;">="%today%"</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">language </span><span style="color:#FF0000;">code</span><span style="color:#0000FF;">="en"</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">translator </span><span style="color:#FF0000;">user</span><span style="color:#0000FF;">="contaocms.it"</span><span style="color:#FF0000;"> name</span><span style="color:#0000FF;">="Italian Contao Community"</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">searchtags</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">languagepack,core translation</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">searchtags</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">title</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">%langname% Language Pack</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">title</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">teaser</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">The Italian translation by contaocms.it community
</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">teaser</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">description</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">The Italian translation of core modules
</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">description</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">releasenotes</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
%release_notes%
</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">releasenotes</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;</span><span style="color:#800000;">manual </span><span style="color:#FF0000;">link</span><span style="color:#0000FF;">="http://www.contaocms.it"</span><span style="color:#FF0000;"> </span><span style="color:#0000FF;">/&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">language</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span><span style="color:#0000FF;">&lt;/</span><span style="color:#800000;">extension</span><span style="color:#0000FF;">&gt;</span><span style="color:#000000;">
</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>The script will take care of:</p>
<ul>
<li>Package name </li>
<li>Version </li>
<li>Release notes </li>
</ul>
</p>
<p>Please do not modify the values between % symbol (e.g. %version_number%)</p>
<h2>Create the extension on the Contao repository</h2>
<blockquote>
<p>Please note that this is a one-time operation, you need to accomplish it only the first time you create the extension</p>
</blockquote>
<p>Go to the <a href="http://www.contao.org/extension-list.html">extension list page on Contao.org</a> and click on “Manage extensions” (be sure to login first)</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/07/image6.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb6.png?w=644&#038;h=354" width="644" height="354" /></a> </p>
<p>then click on the “Add extension” button</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/07/image7.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb7.png?w=644&#038;h=142" width="644" height="142" /></a> </p>
<p>Fill in the fields as illustrated below and click on the “Add extension” button</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/07/image8.png"><img style="display:inline;border-width:0;" title="image" border="0" alt="image" src="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb8.png?w=644&#038;h=212" width="644" height="212" /></a> </p>
<p>The extension is now listed in your extension list.</p>
<h2>Build the extension</h2>
<p>Open the command line window. In Windows 2000 and XP, select <em>Start, Programs</em> (<em>All Programs</em> in XP)<em>, Accessories, Command Prompt</em>. Alternatively, you can open the window by choosing <em>Start, Run</em>, typing <strong>command</strong> (in Windows 98 and Me) or <strong>cmd</strong> (in 2000 and XP), and pressing <strong>&lt;Enter&gt;</strong>.</p>
<p>Type the following command into the window</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:0b5e246c-5c57-4e3f-92b1-1d6e4a59edf3" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;overflow:visible;"><span style="color:#000000;">c:</span><span style="color:#000000;">\&gt;</span><span style="color:#000000;">c:</span><span style="color:#000000;">\</span><span style="color:#000000;">php5</span><span style="color:#000000;">\</span><span style="color:#000000;">php</span><span style="color:#000000;">.</span><span style="color:#000000;">exe c:</span><span style="color:#000000;">\</span><span style="color:#000000;">contao_language_extension</span><span style="color:#000000;">\</span><span style="color:#000000;">contao_languagepack_builder</span><span style="color:#000000;">\</span><span style="color:#000000;">build_languagepack</span><span style="color:#000000;">.</span><span style="color:#000000;">php c:</span><span style="color:#000000;">\</span><span style="color:#000000;">contao_language_extension</span><span style="color:#000000;">\</span><span style="color:#000000;">TYPOlight-Italian-v24</span><span style="color:#000000;">.</span><span style="color:#000000;">zip c:</span><span style="color:#000000;">\</span><span style="color:#000000;">contao_language_extension</span><span style="color:#000000;">\</span><span style="color:#000000;">out</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>You will be prompted with a summary screen:</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:56267ef4-5816-47cf-a395-99a41546163f" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;overflow:auto;"><span style="color:#000000;">Contao Language Pack builder by zedseries.com
====================
A Contao extension will be created with the following settings:

sourceFile        :   c:\contao_language_extension\TYPOlight-Italian-v24.zip
destinationDir    :   c:\contao_language_extension\out
languageName      :   italian
versionNo         :   010000249

Do you wish to continue (y/n)?

</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Just type “y” to go on.</p>
<p>A new fill will be created into the <strong>out</strong>&#160; folder</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:83037fb8-b915-43d7-8b3d-95985ecd3147" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;overflow:auto;"><span style="color:#000000;">C:</span><span style="color:#000000;">\</span><span style="color:#000000;">CONTAO_LANGUAGE_EXTENSION
¦   TYPOlight-Italian-v24</span><span style="color:#000000;">.</span><span style="color:#000000;">zip
¦
</span><span style="color:#000000;">+</span><span style="color:#000000;">---contao_languagepack_builder
¦   ¦   </span><span style="color:#000000;">.</span><span style="color:#000000;">hgignore
¦   ¦   </span><span style="color:#000000;">.</span><span style="color:#000000;">hg_archival</span><span style="color:#000000;">.</span><span style="color:#000000;">txt
¦   ¦   build_languagepack</span><span style="color:#000000;">.</span><span style="color:#000000;">php
¦   ¦   CHANGELOG</span><span style="color:#000000;">.</span><span style="color:#000000;">txt
¦   ¦   README</span><span style="color:#000000;">.</span><span style="color:#000000;">txt
¦   ¦
¦   </span><span style="color:#000000;">+</span><span style="color:#000000;">---lib
¦   ¦       cmd_class</span><span style="color:#000000;">.</span><span style="color:#000000;">php
¦   ¦       utils</span><span style="color:#000000;">.</span><span style="color:#000000;">php
¦   ¦       zip</span><span style="color:#000000;">.</span><span style="color:#000000;">class</span><span style="color:#000000;">.</span><span style="color:#000000;">php
¦   ¦
¦   </span><span style="color:#000000;">+</span><span style="color:#000000;">---package
¦           package</span><span style="color:#000000;">.</span><span style="color:#000000;">xml
¦           package</span><span style="color:#000000;">.</span><span style="color:#000000;">xml</span><span style="color:#000000;">.</span><span style="color:#000000;">sample
¦
</span><span style="color:#000000;">+</span><span style="color:#000000;">---out
        TYPOlight_italian_languagepack_010000249</span><span style="color:#000000;">.</span><span style="color:#000000;">zip
</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<h2>Upload the extension to the repository</h2>
<p><a href="http://www.contao.org/manage-extensions.html">Go to the manage extensions page on Contao.org</a> click on the “Upload package” button, then click the “Browse” button and select the file in the <strong>out</strong> folder. Once selected click on the Upload package button.</p>
<h2>Publish the release</h2>
<p>The final step is to publish the release, at <a href="http://www.youtube.com/watch?v=L_IphZYBY_8#t=3m08s">http://www.youtube.com/watch?v=L_IphZYBY_8#t=3m08s</a> you will find a video tutorial on how to accomplish this step.</p>
<h2>Need help?</h2>
<p>Feel free to comment below if you need further assistance.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentwithtypolight.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentwithtypolight.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentwithtypolight.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentwithtypolight.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developmentwithtypolight.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developmentwithtypolight.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developmentwithtypolight.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developmentwithtypolight.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentwithtypolight.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentwithtypolight.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentwithtypolight.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentwithtypolight.wordpress.com/174/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentwithtypolight.wordpress.com/174/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentwithtypolight.wordpress.com/174/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=174&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developmentwithtypolight.wordpress.com/2010/07/25/how-to-create-an-extension-for-contao-starting-from-a-language-pack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d926181cb42a6ac650cfd4d31cce8387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ga.n</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/07/directory_schema_thumb.png" medium="image">
			<media:title type="html">directory_schema</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb6.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb7.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb8.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Let users find custom templates with Contao 2.9</title>
		<link>http://developmentwithtypolight.wordpress.com/2010/07/19/let-users-find-custom-templates-with-contao-2-9/</link>
		<comments>http://developmentwithtypolight.wordpress.com/2010/07/19/let-users-find-custom-templates-with-contao-2-9/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 07:26:11 +0000</pubDate>
		<dc:creator>ga.n</dc:creator>
		
		<guid isPermaLink="false">https://developmentwithtypolight.wordpress.com/2010/07/19/let-users-find-custom-templates-with-contao-2-9/</guid>
		<description><![CDATA[This article has developers as audience, if you came here wondering why your custom template doesn’t get listed, please contact the author of the extension and tell him about this article From version 2.9 Contao introduces the concept to pick templates from different directories and subdirectories. Contao 2.9 introduces also the concept of themes, and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=163&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p>This article has developers as audience, if you came here wondering why your custom template doesn’t get listed, please contact the author of the extension and tell him about this article <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</blockquote>
<p>From version 2.9 Contao introduces the concept to pick templates from different directories and subdirectories.</p>
<p>Contao 2.9 introduces also the concept of themes, and let users assign a directory of templates to a theme. <a href="http://www.contao.org/news/items/contao-2_9_RC1.html">You can read the full announcement here</a>.</p>
<p>If an user put a custom template into a subdirectory of the main templates dir, some extensions will not show it.</p>
<p>Every developers should update their extensions to reflect the above changes, here I will propose a cross-version solution to solve this problem.</p>
<p>If your extension uses a custom template, you will have a line like this in your d.c.a (let me tell we are talking about the tl_example dca):</p>
</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:78fc6ac7-013e-4258-9e7b-73bfbdb7879d" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;white-space:pre-wrap;word-wrap:break-word;overflow:auto;"><span style="color:#800080;">$GLOBALS</span><span style="color:#000000;">[‘TL_DCA’][‘tl_example’][‘fields’][‘my_template_field’] </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#0000FF;">array</span><span style="color:#000000;">(
    ‘inputType’ </span><span style="color:#000000;">=&gt;</span><span style="color:#000000;"> ‘select’</span><span style="color:#000000;">,</span><span style="color:#000000;">
    ‘options’ </span><span style="color:#000000;">=&gt;</span><span style="color:#000000;"> </span><span style="color:#800080;">$this</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">getTemplateGroup(‘my_prefix’)
);
</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p>in order to list the templates that exists in the template folder assigned to a theme, you must make the following changes:</p>
<p>Create a class wherever you want</p>
<p>(the “Contao way”&#160; of doing it is to create a class named as the dca inside the same file.)</p>
<p>&#160;
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:f35ec7fb-9a81-49f1-8705-d7a4dffb9d29" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;white-space:pre-wrap;word-wrap:break-word;overflow:auto;"><span style="color:#0000FF;">class</span><span style="color:#000000;"> tl_example </span><span style="color:#0000FF;">extends</span><span style="color:#000000;"> Backend {
    </span><span style="color:#0000FF;">public</span><span style="color:#000000;"> </span><span style="color:#0000FF;">function</span><span style="color:#000000;"> __construct() {
        parent</span><span style="color:#000000;">::</span><span style="color:#000000;">__construct();
    }

    </span><span style="color:#0000FF;">public</span><span style="color:#000000;"> </span><span style="color:#0000FF;">function</span><span style="color:#000000;"> listTemplates(</span><span style="color:#800080;">$dc</span><span style="color:#000000;">) {
        </span><span style="color:#0000FF;">if</span><span style="color:#000000;"> (</span><span style="color:#008080;">version_compare</span><span style="color:#000000;">(VERSION</span><span style="color:#000000;">.</span><span style="color:#000000;">BUILD</span><span style="color:#000000;">,</span><span style="color:#000000;"> </span><span style="color:#000000;">'</span><span style="color:#000000;">2.9.0</span><span style="color:#000000;">'</span><span style="color:#000000;">,</span><span style="color:#000000;"> </span><span style="color:#000000;">'</span><span style="color:#000000;">&gt;=</span><span style="color:#000000;">'</span><span style="color:#000000;">)) {
            </span><span style="color:#0000FF;">return</span><span style="color:#000000;"> </span><span style="color:#800080;">$this</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">getTemplateGroup(‘my_prefix’</span><span style="color:#000000;">,</span><span style="color:#000000;"> </span><span style="color:#800080;">$dc</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">activeRecord</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">pid);
        } </span><span style="color:#0000FF;">else</span><span style="color:#000000;"> {
            </span><span style="color:#0000FF;">return</span><span style="color:#000000;"> </span><span style="color:#800080;">$this</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">getTemplateGroup(‘my_prefix’);
        }
    }
}
</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p>&#160;</p>
<p>then change the field’s entry in your dca to take the list of templates from the above function:</p>
<p>&#160;
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:6a98b318-8719-4708-80f4-c5d5a9c23b5e" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;white-space:pre-wrap;word-wrap:break-word;overflow:auto;"><span style="color:#800080;">$GLOBALS</span><span style="color:#000000;">[‘TL_DCA’][‘tl_example’][‘fields’][‘my_template_field’] </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#0000FF;">array</span><span style="color:#000000;">(
    ‘inputType’ </span><span style="color:#000000;">=&gt;</span><span style="color:#000000;"> ‘select’</span><span style="color:#000000;">,</span><span style="color:#000000;">
    ‘options_callback’ </span><span style="color:#000000;">=&gt;</span><span style="color:#000000;"> </span><span style="color:#0000FF;">array</span><span style="color:#000000;">(</span><span style="color:#000000;">'</span><span style="color:#000000;">tl_example</span><span style="color:#000000;">'</span><span style="color:#000000;">,</span><span style="color:#000000;"> </span><span style="color:#000000;">'</span><span style="color:#000000;">listTemplates</span><span style="color:#000000;">'</span><span style="color:#000000;">)
);
</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
</p>
<p>These changes will make you extension compatible with Contao 2.9 and mantain the compatibilty with older versions.</p>
<p>Please comment below if you find errors or you simply&#160; want to say something <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentwithtypolight.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentwithtypolight.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentwithtypolight.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentwithtypolight.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developmentwithtypolight.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developmentwithtypolight.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developmentwithtypolight.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developmentwithtypolight.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentwithtypolight.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentwithtypolight.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentwithtypolight.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentwithtypolight.wordpress.com/163/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentwithtypolight.wordpress.com/163/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentwithtypolight.wordpress.com/163/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=163&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developmentwithtypolight.wordpress.com/2010/07/19/let-users-find-custom-templates-with-contao-2-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d926181cb42a6ac650cfd4d31cce8387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ga.n</media:title>
		</media:content>
	</item>
		<item>
		<title>Just published api.zedseries.com</title>
		<link>http://developmentwithtypolight.wordpress.com/2010/07/11/just-published-api-zedseries-com/</link>
		<comments>http://developmentwithtypolight.wordpress.com/2010/07/11/just-published-api-zedseries-com/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 10:46:23 +0000</pubDate>
		<dc:creator>ga.n</dc:creator>
		
		<guid isPermaLink="false">https://developmentwithtypolight.wordpress.com/2010/07/11/just-published-api-zedseries-com/</guid>
		<description><![CDATA[I have just uploaded the documentation for ZedSeries Library to http://api.zedseries.com. Feel free to comment below if you find errors or if you have suggestions to improve it.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=162&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have just uploaded the documentation for <a href="http://www.zedseries.com/zedseries-library-extension-for-contao.html">ZedSeries Library</a> to <a href="http://api.zedseries.com">http://api.zedseries.com</a>.</p>
<p>Feel free to comment below if you find errors or if you have suggestions to improve it.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentwithtypolight.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentwithtypolight.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentwithtypolight.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentwithtypolight.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developmentwithtypolight.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developmentwithtypolight.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developmentwithtypolight.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developmentwithtypolight.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentwithtypolight.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentwithtypolight.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentwithtypolight.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentwithtypolight.wordpress.com/162/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentwithtypolight.wordpress.com/162/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentwithtypolight.wordpress.com/162/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=162&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developmentwithtypolight.wordpress.com/2010/07/11/just-published-api-zedseries-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d926181cb42a6ac650cfd4d31cce8387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ga.n</media:title>
		</media:content>
	</item>
		<item>
		<title>ZedSeries Listing Tutorial (part #1)</title>
		<link>http://developmentwithtypolight.wordpress.com/2010/07/05/zedseries-listing-tutorial-part-1/</link>
		<comments>http://developmentwithtypolight.wordpress.com/2010/07/05/zedseries-listing-tutorial-part-1/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 18:42:53 +0000</pubDate>
		<dc:creator>ga.n</dc:creator>
		
		<guid isPermaLink="false">https://developmentwithtypolight.wordpress.com/2010/07/05/zedseries-listing-tutorial-part-1/</guid>
		<description><![CDATA[Today was released ZedSeries Listing 1.6.0.stable, it is compatible with Contao 2.9 and is shipped with an inline guide. The following tutorial is taken from the inline guide. The project page is located at http://www.zedseries.com/zedseries-listing-extension-for-typolight.html. The issues are managed through bitbucket at http://bitbucket.org/zedseries/zedseries_listing/issues/. You can also visit the project page of ZedSeries Listing on Contao.org [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=152&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today was released ZedSeries Listing 1.6.0.stable, it is compatible with Contao 2.9 and is shipped with an inline guide. The following tutorial is taken from the inline guide. The project page is located at <a title="http://www.zedseries.com/zedseries-listing-extension-for-typolight.html" href="http://www.zedseries.com/zedseries-listing-extension-for-typolight.html">http://www.zedseries.com/zedseries-listing-extension-for-typolight.html</a>. The issues are managed through bitbucket at <a href="http://bitbucket.org/zedseries/zedseries_listing/issues/">http://bitbucket.org/zedseries/zedseries_listing/issues/</a>. <a href="http://www.contao.org/extension-list/view/zedseries_listing.10060009.en.html">You can also visit the project page of ZedSeries Listing on Contao.org website</a>.</p>
<p> <span id="more-152"></span>
<p>In order to show how ZedSeries Listing module works we are going to build a Faq Listing/Viewer. We will create the following three modules:</p>
<ul>
<li>F.A.Q. Categories listing (will show a list of F.A.Q. categories) </li>
<li>F.A.Q. listing (will show a list of F.A.Q. belonging to the selected category) </li>
<li>F.A.Q. details (will show the answer of a specific F.A.Q.) </li>
</ul>
<h2>Getting Started</h2>
<p>In order to follow this tutorial you need at least:</p>
<ul>
<li>some F.A.Q., so you&#8217;ll have to go to the FAQ module and create some categories and then some faq. </li>
<li>three pages that will contain the above modules </li>
</ul>
<p>and you need to be able to do some operations (e.g. module creation) because this steps are not explained.</p>
<h2>Basic styling with CSS</h2>
<p>ZedSeries Listing comes with an example stylesheet, you can find it in the contrib folder of zedseries_listing directory.</p>
<p>The quickest way to incorporate it, is to add the following line:</p>
<pre><code>&lt;link rel=&quot;stylesheet&quot; href=&quot;system/modules/zedseries_listing/contrib/zedseries_listing_style.css&quot; media=&quot;screen&quot; /&gt;
</code></pre>
<p>to the &quot;Additional head tags&quot; section of your layout</p>
<h2>F.A.Q. Categories listing</h2>
<p>This module will show a list of all F.A.Q. categories.</p>
<p>Our listing will contain the id, title and headline of each f.a.q. category sorted by title and without pagination. We link each faq category to another listing module with an url like this: (assuming that we have a category which title is &quot;faq-category&quot; with id 1)</p>
<p>http://www.example.com/faq-listing-page/i/<strong>1</strong>/t/<strong>faq-category</strong>.html</p>
<p>We&#8217;ll add the ability to search by title.</p>
<h3>F.A.Q. Categories listing configuration</h3>
<p>Create a new module of type &quot;ZedSeries Listing&quot; and fill in the fields as illustrated below:</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/07/image.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb.png?w=590&#038;h=762" width="590" height="762" /></a> </p>
<p>The result (once you have put the module inside an article) should be something like this:</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/07/image1.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb1.png?w=421&#038;h=193" width="421" height="193" /></a> </p>
<p>Now it&#8217;s time to create our <a href="http://127.0.01/typolight/tl_imex_demosite/system/html/zhs-book-fb6db0a1a4c71959c5ff9f7e893a5662/zedseries_help_system_book/131.text.html#par151">F.A.Q. Listing module</a></p>
<h3>F.A.Q. Listing</h3>
<p>Our F.A.Q. Listing module will display all the F.A.Q. that belong to a selected category.</p>
<p>Our list will be searchable for a specific question.</p>
<p>This time we&#8217;ll add a &quot;condition&quot; to show only the faq of a specific category. The condition will be:</p>
<pre><code>pid={{request::i}}
</code></pre>
<p>since in the database the pid field of table tl_faq is associated with the id field of the tl_faq_category table.</p>
<p>We use the {{request::i}} insert tag to retrieve the &quot;i&quot; param from the url. If you followed the <a href="http://127.0.01/typolight/tl_imex_demosite/system/html/zhs-book-fb6db0a1a4c71959c5ff9f7e893a5662/zedseries_help_system_book/131.text.html#par133">previous step</a> you know that the i url name is associated with the field &quot;id&quot; of tl_faq_category.</p>
<p>We&#8217;ll link this module to another module with an url like this: (assuming that we have a faq which alias is &quot;our-faq-question&quot;)</p>
<p>http://www.example.com/faq-details-page/question/<strong>our-faq-question</strong>.html</p>
<p>Create a module and fill in as illustrated below:</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/07/image2.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb2.png?w=590&#038;h=627" width="590" height="627" /></a> </p>
<p>The result will be something like this:</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/07/image3.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb3.png?w=421&#038;h=170" width="421" height="170" /></a> </p>
<h3>F.A.Q. Details module</h3>
<p>This module will show the selected question and the answer. It is the simplest module of our tutorial since we have to select the fields we want to show and the &quot;source&quot; listing module.</p>
<p>Create a module of type &quot;ZedSeries Listing Details&quot; and fill in as illustrated below:</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/07/image4.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb4.png?w=590&#038;h=290" width="590" height="290" /></a> </p>
<p>The result will be something like this:</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/07/image5.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb5.png?w=417&#038;h=76" width="417" height="76" /></a> </p>
<h3>Final notes</h3>
<p>ZedSeries Listing module is a powerful module that speed up data listing with a litte effort (you have to deal with fields, table and url schema).</p>
<p>Every output generated by the ZedSeries Listing modules can be customized, take a look at <a href="http://developmentwithtypolight.wordpress.com/2009/10/26/zedseries-listing-how-to-use-helper-in-template-writing/">How to use helper in template writing</a></p>
<p><strong>However this topic will be covered in the next version of this guide.</strong></p>
<p>If you want to get notified about the updates of this guide you can follow the <a href="http://twitter.com/zedserieslab">zedserieslab&#8217;s tweets</a></p>
<p>Feel free to comment below if you have any questions.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentwithtypolight.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentwithtypolight.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentwithtypolight.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentwithtypolight.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developmentwithtypolight.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developmentwithtypolight.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developmentwithtypolight.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developmentwithtypolight.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentwithtypolight.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentwithtypolight.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentwithtypolight.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentwithtypolight.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentwithtypolight.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentwithtypolight.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=152&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developmentwithtypolight.wordpress.com/2010/07/05/zedseries-listing-tutorial-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d926181cb42a6ac650cfd4d31cce8387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ga.n</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb3.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/07/image_thumb5.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>An overview of ZedSeries CommentEverything</title>
		<link>http://developmentwithtypolight.wordpress.com/2010/02/28/an-overview-of-zedseries-commenteverything/</link>
		<comments>http://developmentwithtypolight.wordpress.com/2010/02/28/an-overview-of-zedseries-commenteverything/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 19:40:17 +0000</pubDate>
		<dc:creator>ga.n</dc:creator>
				<category><![CDATA[development with TYPOlight webCMS]]></category>
		<category><![CDATA[brand_new_post]]></category>
		<category><![CDATA[typolight extension]]></category>
		<category><![CDATA[useful_extension]]></category>
		<category><![CDATA[ZedSeriesCommentEverything]]></category>

		<guid isPermaLink="false">http://developmentwithtypolight.wordpress.com/2010/02/28/an-overview-of-zedseries-commenteverything/</guid>
		<description><![CDATA[ZedSeries CommentEverything is an open source extension for TYPOlight cms provided by zedseries.com improves the comments  default  module    providing the ability to setup a &#8216;topic&#8217; for each content element; Offers, also, the possibility to setup a relation between the topic and any table in your TYPOlight installation. The screenshot below show how appears the comments [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=137&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zedseries.com/zedseries-comment-everything-extension-for-typolight.html"> ZedSeries CommentEverything</a> is an <a href="http://www.zedseries.com">open source extension for TYPOlight cms provided by zedseries.com</a> improves the comments  default  module    providing the ability to setup a &#8216;topic&#8217; for each content element;</p>
<p>Offers, also, the possibility to setup a relation between the topic and any table in your TYPOlight installation.</p>
<p>The screenshot below show how appears the comments module (after users have made a comment) used by default in the F.A.Q. module</p>
<p><a href="http://www.zedseries.com/zedseries-comment-everything-extension-for-typolight.html"><img style="display:inline;border:0;" title="faq_comments_default" src="http://developmentwithtypolight.files.wordpress.com/2010/02/faq_comments_default.png?w=510&#038;h=244" border="0" alt="faq_comments_default" width="510" height="244" /></a></p>
<p>As you can see there is no way to know that F.A.Q. 1 (listed in the filters bar) is related to the “Question #1”, this can be ok if you do not have many faq or if you have just some comments.</p>
<p>Using ZedSeriesCommentEverything you have more control on the comments of your website. It adds a new filter on the comments module so you can filter only the comments about a topic.</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/02/faq_comments_commenteverything.png"><img style="display:inline;border:0;" title="faq_comments_commenteverything" src="http://developmentwithtypolight.files.wordpress.com/2010/02/faq_comments_commenteverything_thumb.png?w=514&#038;h=248" border="0" alt="faq_comments_commenteverything" width="514" height="248" /></a></p>
<p>“Question #1” is more readable than “Parent ID 1” isn’t it? <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h2>How to setup ZedSeriesCommentEverything</h2>
<p>The extension replaces the content element “comments” so don’t expect to find additional entries in your “content elements” list: just use a “content element” of type “comments”.</p>
<p>You can setup the (new) comments element with or without a database table relation.</p>
<p>Database table relations are useful if you want to bind  comments with existing data such as the f.a.q. example above. To add a relation just enter the topic and specify the field of which table will match the topic. Then you have to specify a field that will be used as label on the filters panel.</p>
<p>The (new) comments element can be set up with a topic that is not related to existing data. A tipical usage could be to setup a `shoutbox`on your website.</p>
<p>In this article we are going to show how to setup a (new) comments content element in both cases.</p>
<h2>Setup with a relation to existing data</h2>
<p>In order to reproduce the example above (comments related to the faq) set the “content element” as follow: dynamic</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/02/faq_setup_comments_ce.png"><img style="display:inline;border:0;" title="faq_setup_comments_ce" src="http://developmentwithtypolight.files.wordpress.com/2010/02/faq_setup_comments_ce_thumb.png?w=523&#038;h=313" border="0" alt="faq_setup_comments_ce" width="523" height="313" /></a></p>
<p>To give it a try, just put it in the same article in which you put the faq reader.</p>
<p>(If you are wondering about the ”{{request::}}” “insert tag” it is bundled with zedseries_lib)</p>
<h2>Setup up as a shoutbox</h2>
<p>Another way of using the (new) comments content element is to use it to put comments to a specific section of your website (e.g. the layout, a restricted member area section … and so on).</p>
<p>Create a (new) comments content element and specify a topic leaving blank the “Foreign key” and “Show field” fields.</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/02/commenteverything_shoutbox_setup.png"><img style="display:inline;border:0;" title="commenteverything_shoutbox_setup" src="http://developmentwithtypolight.files.wordpress.com/2010/02/commenteverything_shoutbox_setup_thumb.png?w=528&#038;h=200" border="0" alt="commenteverything_shoutbox_setup" width="528" height="200" /></a></p>
<p>Once your users add comments you can filter it using the MyShoutbox filter as “Related topic”.</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/02/commenteverything_shoutbox_filter.png"><img style="display:inline;border:0;" title="commenteverything_shoutbox_filter" src="http://developmentwithtypolight.files.wordpress.com/2010/02/commenteverything_shoutbox_filter_thumb.png?w=532&#038;h=352" border="0" alt="commenteverything_shoutbox_filter" width="532" height="352" /></a></p>
<h2>That’s all</h2>
<p><a href="http://www.zedseries.com/zedseries-comment-everything-extension-for-typolight.html">ZedSeries CommentEverything</a> can be installed through the TYPOlight repository catalog browser.</p>
<p>You can find it quickly searching for “comment topic” tag-</p>
<p>If you need help or have some questions please post a comment.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentwithtypolight.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentwithtypolight.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentwithtypolight.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentwithtypolight.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developmentwithtypolight.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developmentwithtypolight.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developmentwithtypolight.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developmentwithtypolight.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentwithtypolight.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentwithtypolight.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentwithtypolight.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentwithtypolight.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentwithtypolight.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentwithtypolight.wordpress.com/137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=137&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developmentwithtypolight.wordpress.com/2010/02/28/an-overview-of-zedseries-commenteverything/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d926181cb42a6ac650cfd4d31cce8387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ga.n</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/02/faq_comments_default.png" medium="image">
			<media:title type="html">faq_comments_default</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/02/faq_comments_commenteverything_thumb.png" medium="image">
			<media:title type="html">faq_comments_commenteverything</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/02/faq_setup_comments_ce_thumb.png" medium="image">
			<media:title type="html">faq_setup_comments_ce</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/02/commenteverything_shoutbox_setup_thumb.png" medium="image">
			<media:title type="html">commenteverything_shoutbox_setup</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/02/commenteverything_shoutbox_filter_thumb.png" medium="image">
			<media:title type="html">commenteverything_shoutbox_filter</media:title>
		</media:content>
	</item>
		<item>
		<title>ZedSeries Listing v. 1.6.x: search system improved</title>
		<link>http://developmentwithtypolight.wordpress.com/2010/02/27/zedseries-listing-v-1-6-x-search-system-improved/</link>
		<comments>http://developmentwithtypolight.wordpress.com/2010/02/27/zedseries-listing-v-1-6-x-search-system-improved/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 19:46:42 +0000</pubDate>
		<dc:creator>ga.n</dc:creator>
				<category><![CDATA[development with TYPOlight webCMS]]></category>
		<category><![CDATA[brand_new_posts]]></category>
		<category><![CDATA[frontend]]></category>
		<category><![CDATA[zedseries_listing]]></category>

		<guid isPermaLink="false">http://developmentwithtypolight.wordpress.com/2010/02/27/zedseries-listing-v-1-6-x-search-system-improved/</guid>
		<description><![CDATA[From version 1.6.x (currently in rc1) ZedSeries Listing introduces a new search system to improve the search experience of the users of your website. Basically it allows users to select more than just one field. The new interface is composed by two select and one text field Compared to the previous interface now user can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=127&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>From version 1.6.x (currently in rc1) ZedSeries Listing introduces a new search system to improve the search experience of the users of your website.</p>
<p>Basically it allows users to select more than just one field.</p>
<p>The new interface is composed by two select and one text field</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/02/zedseries_listing_search_ui.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="zedseries_listing_search_ui" border="0" alt="zedseries_listing_search_ui" src="http://developmentwithtypolight.files.wordpress.com/2010/02/zedseries_listing_search_ui_thumb.png?w=360&#038;h=164" width="360" height="164" /></a> </p>
<p>Compared to the previous interface now user can choose not only the field to filter but also the comparison operator. Multiple conditions can be added easily clicking on the green plus sign or deleted clicking on the red x.</p>
<p>Currently the operators supported are the following:</p>
<ul>
<li>equal </li>
<li>greater than </li>
<li>equal or greater then </li>
<li>lower than </li>
<li>equal or lower than </li>
<li>starts with </li>
<li>contains </li>
<li>ends with </li>
</ul>
<p>&#160;</p>
<p>Next release will contain the option to show only selected operators.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentwithtypolight.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentwithtypolight.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentwithtypolight.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentwithtypolight.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developmentwithtypolight.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developmentwithtypolight.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developmentwithtypolight.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developmentwithtypolight.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentwithtypolight.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentwithtypolight.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentwithtypolight.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentwithtypolight.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentwithtypolight.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentwithtypolight.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=127&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developmentwithtypolight.wordpress.com/2010/02/27/zedseries-listing-v-1-6-x-search-system-improved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d926181cb42a6ac650cfd4d31cce8387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ga.n</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/02/zedseries_listing_search_ui_thumb.png" medium="image">
			<media:title type="html">zedseries_listing_search_ui</media:title>
		</media:content>
	</item>
		<item>
		<title>ZedSeriesUI: how to output nice messages in your backend modules</title>
		<link>http://developmentwithtypolight.wordpress.com/2010/02/25/zedseriesui-how-to-output-nice-messages-in-your-backend-modules/</link>
		<comments>http://developmentwithtypolight.wordpress.com/2010/02/25/zedseriesui-how-to-output-nice-messages-in-your-backend-modules/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 11:00:43 +0000</pubDate>
		<dc:creator>ga.n</dc:creator>
				<category><![CDATA[development with TYPOlight webCMS]]></category>
		<category><![CDATA[brand_new_post]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[typolight extension]]></category>
		<category><![CDATA[ZedSeriesUi]]></category>
		<category><![CDATA[zedseries_lib]]></category>

		<guid isPermaLink="false">http://developmentwithtypolight.wordpress.com/2010/02/25/zedseriesui-how-to-output-nice-messages-in-your-backend-modules/</guid>
		<description><![CDATA[Sometimes you need to show some messages coming from your own backend module. In these cases usage of a template would be only a waste of time. ZedSeriesUI satisfies these needs. With ZedSeriesUi output your message will be easily as writing these lines: $ui = new ZedSeriesUi(); return $ui-&#62;title('Operation completed') .$ui-&#62;box( $ui-&#62;beLink('Go back to the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=113&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes you need to show some messages coming from your own backend module. In these cases usage of a template would be only a waste of time.</p>
<p>ZedSeriesUI satisfies these needs.</p>
<p>With ZedSeriesUi output your message will be easily as writing these lines:</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:48edefe0-a0d8-4070-9c15-0bc7a9115311" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;overflow:auto;font-family:Tahoma;font-size:12px;"><span style="color:#000000;">        </span><span style="color:#800080;">$ui</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#0000FF;">new</span><span style="color:#000000;"> ZedSeriesUi();

        </span><span style="color:#0000FF;">return</span><span style="color:#000000;">  </span><span style="color:#800080;">$ui</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">title(</span><span style="color:#000000;">'</span><span style="color:#000000;">Operation completed</span><span style="color:#000000;">'</span><span style="color:#000000;">)
               </span><span style="color:#000000;">.</span><span style="color:#800080;">$ui</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">box(
                         </span><span style="color:#800080;">$ui</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">beLink(</span><span style="color:#000000;">'</span><span style="color:#000000;">Go back to the main module.</span><span style="color:#000000;">'</span><span style="color:#000000;">,</span><span style="color:#000000;"> </span><span style="color:#000000;">'</span><span style="color:#000000;">do=myModule&amp;key=MyModule</span><span style="color:#000000;">'</span><span style="color:#000000;">)
                );</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>the result will be graphically&#160; integrated with TYPOlight default theme:</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/02/zedseriesui_box1.png"><img style="display:inline;border-width:0;" title="zedseriesui_box" border="0" alt="zedseriesui_box" src="http://developmentwithtypolight.files.wordpress.com/2010/02/zedseriesui_box_thumb1.png?w=487&#038;h=147" width="487" height="147" /></a></p>
<p>&#160;</p>
<p>Another useful function, if you need to build a list from custom data, is the&#160; listingContainer function that along with the listingItem, can produce output like this:</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/02/zedseriesui_listingcontainer2.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="zedseriesui_listingcontainer" border="0" alt="zedseriesui_listingcontainer" src="http://developmentwithtypolight.files.wordpress.com/2010/02/zedseriesui_listingcontainer_thumb2.png?w=485&#038;h=295" width="485" height="295" /></a></p>
<p>The above result can be produced with the following code:</p>
<p>&#160;</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:7580fb34-f12e-441e-a875-9f092652d1ce" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;overflow:auto;font-family:Tahoma;font-size:11px;"><span style="color:#000000;">        </span><span style="color:#800080;">$ui</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#0000FF;">new</span><span style="color:#000000;"> ZedSeriesUi();

        </span><span style="color:#008000;">//</span><span style="color:#008000;"> just a fake data array</span><span style="color:#008000;">
</span><span style="color:#000000;">        </span><span style="color:#800080;">$items</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#008080;">range</span><span style="color:#000000;">(</span><span style="color:#000000;">1</span><span style="color:#000000;">,</span><span style="color:#000000;"> </span><span style="color:#000000;">15</span><span style="color:#000000;">);

        </span><span style="color:#800080;">$listingItems</span><span style="color:#000000;"> </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#0000FF;">array</span><span style="color:#000000;">();

        </span><span style="color:#0000FF;">foreach</span><span style="color:#000000;"> (</span><span style="color:#800080;">$items</span><span style="color:#000000;"> </span><span style="color:#0000FF;">as</span><span style="color:#000000;"> </span><span style="color:#800080;">$item</span><span style="color:#000000;">) {
           </span><span style="color:#008000;">//</span><span style="color:#008000;"> collect them using listingItem</span><span style="color:#008000;">
</span><span style="color:#000000;">            </span><span style="color:#800080;">$listingItems</span><span style="color:#000000;">[] </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$ui</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">listingItem(</span><span style="color:#000000;">'</span><span style="color:#000000;">List item #</span><span style="color:#000000;">'</span><span style="color:#000000;">.</span><span style="color:#800080;">$item</span><span style="color:#000000;">,</span><span style="color:#000000;"> </span><span style="color:#800080;">$ui</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">beLink(</span><span style="color:#000000;">'</span><span style="color:#000000;">edit</span><span style="color:#000000;">'</span><span style="color:#000000;">,</span><span style="color:#000000;"> </span><span style="color:#000000;">'</span><span style="color:#000000;">do=MyModule&amp;key=MyFunction&amp;id=</span><span style="color:#000000;">'</span><span style="color:#000000;">.</span><span style="color:#800080;">$item</span><span style="color:#000000;">));
        }

        </span><span style="color:#008000;">//</span><span style="color:#008000;"> then return it inside a listingContainer</span><span style="color:#008000;">
</span><span style="color:#000000;">        </span><span style="color:#0000FF;">return</span><span style="color:#000000;"> </span><span style="color:#800080;">$ui</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">listingContainer(</span><span style="color:#008080;">implode</span><span style="color:#000000;">(</span><span style="color:#000000;">"</span><span style="color:#000000;">\n</span><span style="color:#000000;">"</span><span style="color:#000000;">,</span><span style="color:#000000;"> </span><span style="color:#800080;">$listingItems</span><span style="color:#000000;">));
</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>ZedSeriesUI is distributed inside the <a href="http://www.zedseries.com/zedseries-library-extension-for-typolight.html">ZedSeries Library extension for TYPOlight cms</a></p>
<p>ZedSeriesUI is a young project but it will grow in the next releases of ZedSeriesLibrary</p>
<p>Do not forget to add the proper ‘&lt;requiredextension name=”zedseries_lib” … /&gt;’ in the package.xml of your extension</p>
<p>Issues of the ZedSeries Library extension are managed through bitbucket at: <a href="http://bitbucket.org/zedseries/zedseries_lib/issues/">http://bitbucket.org/zedseries/zedseries_lib/issues/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentwithtypolight.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentwithtypolight.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentwithtypolight.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentwithtypolight.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developmentwithtypolight.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developmentwithtypolight.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developmentwithtypolight.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developmentwithtypolight.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentwithtypolight.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentwithtypolight.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentwithtypolight.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentwithtypolight.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentwithtypolight.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentwithtypolight.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=113&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developmentwithtypolight.wordpress.com/2010/02/25/zedseriesui-how-to-output-nice-messages-in-your-backend-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d926181cb42a6ac650cfd4d31cce8387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ga.n</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/02/zedseriesui_box_thumb1.png" medium="image">
			<media:title type="html">zedseriesui_box</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/02/zedseriesui_listingcontainer_thumb2.png" medium="image">
			<media:title type="html">zedseriesui_listingcontainer</media:title>
		</media:content>
	</item>
		<item>
		<title>tl_debug: An useful extension for debugging TYPOlight</title>
		<link>http://developmentwithtypolight.wordpress.com/2010/02/22/tl_debug-an-useful-extension-for-debugging-typolight/</link>
		<comments>http://developmentwithtypolight.wordpress.com/2010/02/22/tl_debug-an-useful-extension-for-debugging-typolight/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 10:37:53 +0000</pubDate>
		<dc:creator>ga.n</dc:creator>
				<category><![CDATA[development with TYPOlight webCMS]]></category>
		<category><![CDATA[brand_new_post]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[useful_extension]]></category>

		<guid isPermaLink="false">http://developmentwithtypolight.wordpress.com/2010/02/22/tl_debug-an-useful-extension-for-debugging-typolight/</guid>
		<description><![CDATA[Project:&#160; http://www.cyberspectrum.de/ Project webSvn page: (http://websvn.cyberspectrum.de/wsvn/tl_debug/) tl_debug enable using firePhp from inside your TYPOlight extension. Installation You can download the source through svn. At this time the most recent version is available doing a checkout at http://websvn.cyberspectrum.de/wsvn/tl_debug/tags/0.5.0 If you are not familiar with svn you can use tools like TortoiseSVN&#160; (http://tortoisesvn.net/downloads) Once downloaded the source [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=107&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Project:&#160; <a title="http://www.cyberspectrum.de/" href="http://www.cyberspectrum.de/">http://www.cyberspectrum.de/</a></p>
<p>Project webSvn page: (<a title="http://websvn.cyberspectrum.de/wsvn/tl_debug/" href="http://websvn.cyberspectrum.de/wsvn/tl_debug/">http://websvn.cyberspectrum.de/wsvn/tl_debug/</a>)</p>
<p>tl_debug enable using firePhp from inside your TYPOlight extension.</p>
<h2>Installation</h2>
<p>You can download the source through svn.</p>
<p>At this time the most recent version is available doing a checkout at <a title="http://websvn.cyberspectrum.de/wsvn/tl_debug/tags/0.5.0" href="http://websvn.cyberspectrum.de/wsvn/tl_debug/tags/0.5.0">http://websvn.cyberspectrum.de/wsvn/tl_debug/tags/0.5.0</a></p>
<p>If you are not familiar with svn you can use tools like TortoiseSVN&#160; (<a title="http://tortoisesvn.net/downloads" href="http://tortoisesvn.net/downloads">http://tortoisesvn.net/downloads</a>)</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/02/debugger_be_link.png"><img style="border-bottom:0;border-left:0;display:inline;margin-left:0;border-top:0;margin-right:0;border-right:0;" title="debugger_be_link" border="0" alt="debugger_be_link" align="right" src="http://developmentwithtypolight.files.wordpress.com/2010/02/debugger_be_link_thumb.png?w=177&#038;h=135" width="177" height="135" /></a> </p>
<p>Once downloaded the source you must copy the directory contained in system/modules (z___debug and debug) to your system/modules installation (i.e. TL_ROOT/system/modules/). Then a “developers” section appears to backend menu: click on “Debugger” to open the tl_debug settings panel.</p>
<p>&#160;</p>
<p>In order to display the log messages you need the Firebug add on for Firefox (at least version 1.5.0 <a title="http://getfirebug.com/releases/firebug/1.5X/" href="http://getfirebug.com/releases/firebug/1.5X/">http://getfirebug.com/releases/firebug/1.5X/</a>) and the firePHP plugin for FireBug <a title="https://addons.mozilla.org/en-US/firefox/addon/6149&#13;&#10;" href="https://addons.mozilla.org/en-US/firefox/addon/6149">https://addons.mozilla.org/en-US/firefox/addon/6149     <br /></a></p>
<h2>Usage </h2>
<p>Be sure to enable the debug in the backend module (Debugger) and set the options related to error level and database query you wish to log. You can log hooks on database queries coming from specific modules. It is a great tool.</p>
<p>Usage is simple as adding these lines where you need to debug:</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:dc0f803c-89b1-44a4-9703-7ed5f666fe8e" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;overflow:auto;font-family:Tahoma;font-size:12px;"><span style="color:#008000;">/*</span><span style="color:#008000;">*
 * $channel is one of ('log', 'info', 'error', 'warn')
 * $label is a custom label
 * $message is the message you want to show
 </span><span style="color:#008000;">*/</span><span style="color:#000000;">
</span><span style="color:#0000FF;">if</span><span style="color:#000000;"> (</span><span style="color:#800080;">$GLOBALS</span><span style="color:#000000;">[</span><span style="color:#000000;">'</span><span style="color:#000000;">TL_CONFIG</span><span style="color:#000000;">'</span><span style="color:#000000;">][</span><span style="color:#000000;">'</span><span style="color:#000000;">debugMode</span><span style="color:#000000;">'</span><span style="color:#000000;">])
    </span><span style="color:#800080;">$GLOBALS</span><span style="color:#000000;">[</span><span style="color:#000000;">'</span><span style="color:#000000;">TL_DEBUG</span><span style="color:#000000;">'</span><span style="color:#000000;">][</span><span style="color:#800080;">$channel</span><span style="color:#000000;">][</span><span style="color:#800080;">$label</span><span style="color:#000000;">] </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#800080;">$message</span><span style="color:#000000;">;
</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>This is the results on message logged with channel ‘log’ label ‘Hello’ and message ‘World!’;</p>
<p>i.e.</p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:50d34f25-ebaa-45e0-8542-45ee275a5dad" class="wlWriterEditableSmartContent">
<pre style="background-color:#FFFFFF;overflow:auto;font-family:Tahoma;font-size:12px;"><span style="color:#0000FF;">if</span><span style="color:#000000;"> (</span><span style="color:#800080;">$GLOBALS</span><span style="color:#000000;">[</span><span style="color:#000000;">'</span><span style="color:#000000;">TL_CONFIG</span><span style="color:#000000;">'</span><span style="color:#000000;">][</span><span style="color:#000000;">'</span><span style="color:#000000;">debugMode</span><span style="color:#000000;">'</span><span style="color:#000000;">])
    </span><span style="color:#800080;">$GLOBALS</span><span style="color:#000000;">[</span><span style="color:#000000;">'</span><span style="color:#000000;">TL_DEBUG</span><span style="color:#000000;">'</span><span style="color:#000000;">][</span><span style="color:#000000;">'</span><span style="color:#000000;">log</span><span style="color:#000000;">'</span><span style="color:#000000;">][</span><span style="color:#000000;">'</span><span style="color:#000000;">hello</span><span style="color:#000000;">'</span><span style="color:#000000;">]</span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#000000;">'</span><span style="color:#000000;">world!</span><span style="color:#000000;">'</span><span style="color:#000000;">;
</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>&#160;</p>
<p><a href="http://developmentwithtypolight.files.wordpress.com/2010/02/debugger_firebug.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="debugger_firebug" border="0" alt="debugger_firebug" src="http://developmentwithtypolight.files.wordpress.com/2010/02/debugger_firebug_thumb.png?w=390&#038;h=139" width="390" height="139" /></a> </p>
<p>&#160;</p>
<p>I hope you enjoy it!</p>
<p><em>thank you to qrczak for letting me know this project.</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentwithtypolight.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentwithtypolight.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentwithtypolight.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentwithtypolight.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developmentwithtypolight.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developmentwithtypolight.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developmentwithtypolight.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developmentwithtypolight.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentwithtypolight.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentwithtypolight.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentwithtypolight.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentwithtypolight.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentwithtypolight.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentwithtypolight.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=107&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developmentwithtypolight.wordpress.com/2010/02/22/tl_debug-an-useful-extension-for-debugging-typolight/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d926181cb42a6ac650cfd4d31cce8387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ga.n</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/02/debugger_be_link_thumb.png" medium="image">
			<media:title type="html">debugger_be_link</media:title>
		</media:content>

		<media:content url="http://developmentwithtypolight.files.wordpress.com/2010/02/debugger_firebug_thumb.png" medium="image">
			<media:title type="html">debugger_firebug</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick tip: how to change page title in frontend modules</title>
		<link>http://developmentwithtypolight.wordpress.com/2009/12/15/quick-tip-how-to-change-page-title-in-frontend-modules/</link>
		<comments>http://developmentwithtypolight.wordpress.com/2009/12/15/quick-tip-how-to-change-page-title-in-frontend-modules/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 08:40:34 +0000</pubDate>
		<dc:creator>ga.n</dc:creator>
				<category><![CDATA[development with TYPOlight webCMS]]></category>
		<category><![CDATA[brand_new_post]]></category>
		<category><![CDATA[frontend]]></category>
		<category><![CDATA[typolight_tip]]></category>

		<guid isPermaLink="false">http://developmentwithtypolight.wordpress.com/2009/12/15/quick-tip-how-to-change-page-title-in-frontend-modules/</guid>
		<description><![CDATA[If you need to set the page title from your frontend module, put the following code inside you module class class MyModule extends Module { protected function compile() { // ... your code ... $GLOBALS['objPage']-&#62;pageTitle = 'My custom title'; // ... your code ... } }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=98&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you need to set the page title from your frontend module, put the following code inside you module class</p>
<div id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:25ebc7ce-69f6-4770-aea9-eaf306b37d63" class="wlWriterEditableSmartContent" style="display:inline;float:none;margin:0;padding:0;">
<pre style="background-color:white;overflow:auto;font-family:Microsoft Sans Serif;font-size:12px;"><span style="color:#0000ff;">class</span><span style="color:#000000;"> MyModule </span><span style="color:#0000ff;">extends</span><span style="color:#000000;"> Module {
    </span><span style="color:#0000ff;">protected</span><span style="color:#000000;"> </span><span style="color:#0000ff;">function</span><span style="color:#000000;"> compile() {
        </span><span style="color:#008000;">//</span><span style="color:#008000;"> ... your code ...</span><span style="color:#008000;">
</span><span style="color:#000000;">        </span><span style="color:#800080;">$GLOBALS</span><span style="color:#000000;">[</span><span style="color:#000000;">'</span><span style="color:#000000;">objPage</span><span style="color:#000000;">'</span><span style="color:#000000;">]</span><span style="color:#000000;">-&gt;</span><span style="color:#000000;">pageTitle </span><span style="color:#000000;">=</span><span style="color:#000000;"> </span><span style="color:#000000;">'</span><span style="color:#000000;">My custom title</span><span style="color:#000000;">'</span><span style="color:#000000;">;
        </span><span style="color:#008000;">//</span><span style="color:#008000;"> ... your code ...</span><span style="color:#008000;">
</span><span style="color:#000000;">    }
}
</span></pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/developmentwithtypolight.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/developmentwithtypolight.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/developmentwithtypolight.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/developmentwithtypolight.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/developmentwithtypolight.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/developmentwithtypolight.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/developmentwithtypolight.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/developmentwithtypolight.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/developmentwithtypolight.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/developmentwithtypolight.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/developmentwithtypolight.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/developmentwithtypolight.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/developmentwithtypolight.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/developmentwithtypolight.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=developmentwithtypolight.wordpress.com&amp;blog=10108909&amp;post=98&amp;subd=developmentwithtypolight&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://developmentwithtypolight.wordpress.com/2009/12/15/quick-tip-how-to-change-page-title-in-frontend-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d926181cb42a6ac650cfd4d31cce8387?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ga.n</media:title>
		</media:content>
	</item>
	</channel>
</rss>
