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

<channel>
	<title>David Smeringe weblog &#187; Typoscript snippets</title>
	<atom:link href="http://people.merea.se/david/category/development/typo3/typoscript-snippets/feed/" rel="self" type="application/rss+xml" />
	<link>http://people.merea.se/david</link>
	<description>programming and web design centric weblog</description>
	<lastBuildDate>Mon, 28 Feb 2011 08:59:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Render cObj RECORDS fully or slimmed</title>
		<link>http://people.merea.se/david/2010/05/24/render-cobj-records-fully-or-slimmed/</link>
		<comments>http://people.merea.se/david/2010/05/24/render-cobj-records-fully-or-slimmed/#comments</comments>
		<pubDate>Mon, 24 May 2010 07:21:14 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Typoscript snippets]]></category>
		<category><![CDATA[snippets]]></category>
		<category><![CDATA[typoscript]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=77</guid>
		<description><![CDATA[Short share of TypoScript know-how.. TYPO3 comes with a handfull different cObjects, such as TEXT, IMAGE etc.. (see the tsref) and then there are the more general cObjects for content rendering; CONTENT and RECORDS. The CONTENTS object focuses on a more widely rendering process, where you find your data with a select property, and a [...]]]></description>
			<content:encoded><![CDATA[<p>Short share of TypoScript know-how..</p>
<p>TYPO3 comes with a handfull different cObjects, such as TEXT, IMAGE etc.. (see the tsref) and then there are the more general cObjects for content rendering; CONTENT and RECORDS. The CONTENTS object focuses on a more widely rendering process, where you find your data with a select property, and a renderObj output.. ..then there is the little bit simpler variant RECORDS that allows you to find and output records from one or more tables in a bit more raw way thant CONTENT allows you to.. anyway.. what I wanted to share today was this difference when outputing a RECORDS object..</p>
<p>Take this TypoScript:</p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1">lib.addressline = RECORDS
</div>
</li>
<li class="li1">
<div class="de1">lib.addressline.source = 47
</div>
</li>
<li class="li1">
<div class="de1">lib.addressline.tables = tt_content</div>
</li>
</ol>
</div>
<p>It outputs a tt_content record with uid 47 like this:</p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1">&lt;div id=&quot;c47&quot;&gt;&lt;p&gt;My content with uid 47&lt;/p&gt;&lt;/div&gt;</div>
</li>
</ol>
</div>
<p>Quite often you might want it a bit more trimmed.. (especially when you map it with typoscript object path in templavoila into a predifend position in a template). Then you can do like this</p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1">lib.addressline = RECORDS
</div>
</li>
<li class="li1">
<div class="de1">lib.addressline.source = 47
</div>
</li>
<li class="li1">
<div class="de1">lib.addressline.tables = tt_content
</div>
</li>
<li class="li1">
<div class="de1">lib.addressline.conf.tt_content = TEXT
</div>
</li>
<li class="li2">
<div class="de2">lib.addressline.conf.tt_content.field = bodytext</div>
</li>
</ol>
</div>
<p>Which renders this instead:</p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1">My content with uid 47</div>
</li>
</ol>
</div>
<p>The basic thing is &#8211; define what you want in your output, and ignore the rest. The same could be done with a logotype image or similar (mapping an image content outputs a lot of extra wrappings by default..)</p>
<p>Another small notice; If you map a ts object from templavoila and get HTML output as text, then edit DS/TO and uncheck &#8220;as content through htmlSpecialChars (HSC)&#8221; for that field&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2010/05/24/render-cobj-records-fully-or-slimmed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generate page as PDF from TYPO3 with the webkitpdf extension</title>
		<link>http://people.merea.se/david/2010/02/24/generate-page-as-pdf-from-typo3-with-the-webkitpdf-extension/</link>
		<comments>http://people.merea.se/david/2010/02/24/generate-page-as-pdf-from-typo3-with-the-webkitpdf-extension/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 09:08:45 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Typoscript snippets]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[typoscript]]></category>
		<category><![CDATA[webkitpdf]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=64</guid>
		<description><![CDATA[I&#8217;ve been digging quite a lot into this thing about generating a TYPO3 page as a PDF file. There are a few extensions in TER that does this in various ways. The two best shots I came up with after some fiddeling was PDF Generator 2 (pdf_generator2) WebkitPDF (webkitpdf) There are some others but, afaik [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been digging quite a lot into this thing about generating a TYPO3 page as a PDF file. There are a few extensions in TER that does this in various ways. The two best shots I came up with after some fiddeling was</p>
<ul>
<li>PDF Generator 2 (pdf_generator2)</li>
<li>WebkitPDF (webkitpdf)</li>
</ul>
<p>There are some others but, afaik they lack CSS support.</p>
<p>I started out with the first one, which was really  easy to set up and use, but when I launched it on my production server it throw memory errors, so I started to play with <a title="TYPO3 extension WebkitPDF" href="http://typo3.org/extensions/repository/view/webkitpdf/current/">WebkitPDF</a> instead. This extension is a simple but powerfull wrapping around the Wkhtmltopdf project (<a title="Wkhtmltopdf" href="http://code.google.com/p/wkhtmltopdf/">http://code.google.com/p/wkhtmltopdf/</a>) which basically takes the <a title="Webkit engine" href="http://webkit.org/">Webkit HTML engine</a> and generates a print out from that.</p>
<p>The documentation instructs you put the FE plugin on a new page, and  then add a short TS into you TS Setup. I thought I&#8217;d post my TS setup here for example on how to use it slightly different (mostly since I wanted to have the current page title as filename). Note that I&#8217;m forwarding the PDF link to a ts object &#8211; lib.pdfLink. I&#8217;ve mapped that in an FCE with links in my case. Instead of adding the FE plugin on a separate page I include it on all pages (last row in TS) &#8211; since I need the ouput possibility on most pages anyway.</p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1">plugin.tx_webkitpdf_pi1.scriptParams {
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; print-media-type =
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; margin-top = 0mm
</div>
</li>
<li class="li1">
<div class="de1">}
</div>
</li>
<li class="li2">
<div class="de2">//set current page title as output filename
</div>
</li>
<li class="li1">
<div class="de1">plugin.tx_webkitpdf_pi1.staticFileName = TEXT
</div>
</li>
<li class="li1">
<div class="de1">plugin.tx_webkitpdf_pi1.staticFileName.data = page : title
</div>
</li>
<li class="li1">
<div class="de1">//generate link
</div>
</li>
<li class="li1">
<div class="de1">includeLibs.webkit = EXT:webkitpdf/res/user_webkitpdf.php
</div>
</li>
<li class="li2">
<div class="de2">lib.pdf = USER
</div>
</li>
<li class="li1">
<div class="de1">lib.pdf.userFunc = user_webkitpdf-&gt;user_getPDFLink
</div>
</li>
<li class="li1">
<div class="de1">lib.pdf {
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; //pid =
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; linkText = produktblad i pdf-format
</div>
</li>
<li class="li2">
<div class="de2">}
</div>
</li>
<li class="li1">
<div class="de1">lib.pdfLink &lt; lib.pdf
</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">//include the renderer. we do this on the same page, since we want to fetch the correct page title as filename
</div>
</li>
<li class="li1">
<div class="de1">page.100 &lt; plugin.tx_webkitpdf_pi1</div>
</li>
</ol>
</div>
<p><strong>Additional notes:</strong></p>
<p>I just realized that the CSS attribute page-break-after/before is a bit kinky with the pdf converter (actually it&#8217;s the webkit engine, and Firefox has the same problem. I didn&#8217;t bother to check if IE suffers from the same, but I guess it does&#8230;).<br />
If you want to break a page somewhere, then make sure the page break doesn&#8217;t reside in floated elements. This is a bit tricky since a modern HTML template normally consists of floated divs and by that there is no natural position for such page break. This was fairly easy to solve for me in my current case since I really didn&#8217;t need the other columns in my output. Therefore I could first set the divs like:</p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1"><span class="br0">&#91;</span>.<span class="re1">.general</span> CSS layout setup..<span class="br0">&#93;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">@media screen {</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re1">.leftColumn</span> <span class="br0">&#123;</span> <span class="kw1">float</span>: <span class="kw1">left</span>; <span class="br0">&#125;</span></div>
</li>
<li class="li2">
<div class="de2"><span class="re1">.rightColumn</span> <span class="br0">&#123;</span> <span class="kw1">float</span>: <span class="kw1">right</span>; <span class="br0">&#125;</span> <span class="coMULTI">/*or whatever*/</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re1">.pagebreak</span> <span class="br0">&#123;</span> <span class="kw1">visibility</span>: <span class="kw2">hidden</span>; <span class="br0">&#125;</span> <span class="coMULTI">/*pagebreak elements should not show up in browser*/</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">@media print {</span></div>
</li>
<li class="li2">
<div class="de2"><span class="re1">.rightColum</span> <span class="br0">&#123;</span> <span class="kw1">visibility</span>: <span class="kw2">hidden</span>; <span class="br0">&#125;</span><span class="coMULTI">/*dont want it in print mode*/</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re1">.pagebreak</span> <span class="br0">&#123;</span> <span class="kw1">visibility</span>: <span class="kw2">show</span>; <span class="kw1">page-break-after</span>: <span class="kw2">always</span>; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>I made a small FCE in TYPO3 containing a div with class .pagebreak, which I could insert anywhere on a page. It&#8217;s hidden in media screen, but breaks the page when printing. Pritty nifty if you ask me <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2010/02/24/generate-page-as-pdf-from-typo3-with-the-webkitpdf-extension/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TYPO3 commerce extension finally shows prices for me</title>
		<link>http://people.merea.se/david/2008/12/30/typo3-commerce-extension-finally-shows-prices-for-me/</link>
		<comments>http://people.merea.se/david/2008/12/30/typo3-commerce-extension-finally-shows-prices-for-me/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 14:04:36 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Typoscript snippets]]></category>
		<category><![CDATA[commerce]]></category>
		<category><![CDATA[community]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=48</guid>
		<description><![CDATA[I&#8217;ve actually had trouble with this for quite some time. I&#8217;m using the commerce extension for TYPO3 for a site. The plan is to turn the site into an e-com site eventually, but starting of with plain product listings so I thought I&#8217;d give the commerce extension a shot. It&#8217;s quite comprehensive. Amongst a lot [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve actually had trouble with this for quite some time. I&#8217;m using the <a title="Commerce forge repository" href="http://forge.typo3.org/projects/show/extension-commerce">commerce</a> extension for TYPO3 for a site. The plan is to turn the site into an e-com site eventually, but starting of with plain product listings so I thought I&#8217;d give the commerce extension a shot. It&#8217;s quite comprehensive. Amongst a lot of things it has a good internal structure to allow all kinds of variants of an article &#8211; especially suitable for things like textiles where you have a combination of color and sizes making an article. </p>
<p>One big downside I feel currently is the template setup. It&#8217;s heavily templated, but still not really as flexible as I&#8217;d like. Could be a competence/knowledge issue &#8211; but nah! I&#8217;m smart! really..</p>
<p>However I&#8217;ve had some real troubles showing the prices. Really. Seems so basic, but I just couldn&#8217;t get into it. Today I logged into the #typo3 channel @ freenode irc. Thanks to friendly help from PiMB there I got it working. It all had to do with setting the currency. I ended up with this in my TS:</p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1">plugin.tx_commerce_pi1.currency = SEK
</div>
</li>
<li class="li1">
<div class="de1">plugin.tx_commerce_pi2.currency = SEK
</div>
</li>
<li class="li1">
<div class="de1">plugin.tx_commerce_pi3.currency = SEK
</div>
</li>
<li class="li1">
<div class="de1">plugin.tx_commerce_pi5.currency = SEK</div>
</li>
</ol>
</div>
<p>The default for ..pi1.currency was &#8211; &#8220;currency&#8221; &#8211; and not a real currency &#8211; like SEK or EUR. That&#8217;s all. the other FE commerce plugings actually has EUR as default.</p>
<p>Anyway. by this post I&#8217;d like to state that the open source community is (at least around TYPO3) very friendly and helpsome. &#8211; and &#8211; thanks PiMP for the hint <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The site &#8211; still in a bit of progress (have some wierd positioning in the templates) &#8211; can be found here (swedish) <a title="ByYlva textile collection" href="http://www.byylva.se/">http://www.byylva.se/</a>. High quality carpets and other textiles <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>cheers. And a happy new Year!</p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2008/12/30/typo3-commerce-extension-finally-shows-prices-for-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting rid of typohead tag in the tiny rte</title>
		<link>http://people.merea.se/david/2008/07/09/getting-rid-of-typohead-tag-in-the-tiny-rte/</link>
		<comments>http://people.merea.se/david/2008/07/09/getting-rid-of-typohead-tag-in-the-tiny-rte/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 08:46:11 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Typoscript snippets]]></category>
		<category><![CDATA[rte]]></category>
		<category><![CDATA[typohead]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=37</guid>
		<description><![CDATA[I can honestly say that I&#8217;m no expert in the typoscript part of TYPO3. I realised this when I tried to find a solution on not using the Hx &#60;-&#62; &#60;typohead..&#62; tag transformation with the RTE. Took me hours to find the solution, but as mostly with typoscript, it&#8217;s quite simple. The brutal way was [...]]]></description>
			<content:encoded><![CDATA[<p>I can honestly say that I&#8217;m no expert in the typoscript part of TYPO3. I realised this when I tried to find a solution on not using the Hx &lt;-&gt; &lt;typohead..&gt; tag transformation with the RTE. Took me hours to find the solution, but as mostly with typoscript, it&#8217;s quite simple. The brutal way was to add a pageTSConfig</p>
<blockquote><p>RTE.default.proc.typohead = 0</p></blockquote>
<p>But that just disables the use of typohead right off, breaking all current content on the site. And when reading a bit more I realised that what I really wanted was to use another transformation method than the default set for tinyrte;</p>
<blockquote><p>RTE.default.proc.overruleMode = ts_css</p></blockquote>
<p>This nicely allows the typohead tags stored in DB to be there, get transformed to Hx when opened with the rte and then when saved, never seen again <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The overruleMode sets the general transformation mode that the rte should use, and afaik ts_css is to be the <em>modern</em> way of transforming data. The ts_css mode is actually a meta mode for a bunch of transformation rules. See the <a title="TYPO3 RTE reference" href="http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/5/2/">RTE reference</a> for in depth know how about that.</p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2008/07/09/getting-rid-of-typohead-tag-in-the-tiny-rte/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>jEdit with typoscript syntax highlighting</title>
		<link>http://people.merea.se/david/2008/05/13/jedit-with-typoscript-syntax-highlighting/</link>
		<comments>http://people.merea.se/david/2008/05/13/jedit-with-typoscript-syntax-highlighting/#comments</comments>
		<pubDate>Tue, 13 May 2008 12:04:56 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Typoscript snippets]]></category>
		<category><![CDATA[jEdit]]></category>
		<category><![CDATA[typoscript]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/?p=30</guid>
		<description><![CDATA[A short tip; If you&#8217;d like to have syntax highlight for your TypoScript code in jEdit on *.txt files (apart from *.ts),  then you would first install the TypoScript plugin, and then set (for instance) &#8220;First line glob&#8221; field under Global options to //TSFILE and type the same on the first line in you ts [...]]]></description>
			<content:encoded><![CDATA[<p>A short tip; If you&#8217;d like to have syntax highlight for your TypoScript code in jEdit on *.txt files (apart from *.ts),  then you would first install the TypoScript plugin, and then set (for instance) &#8220;First line glob&#8221; field under Global options to</p>
<blockquote><p>//TSFILE</p></blockquote>
<p>and type the same on the first line in you ts file. The next time you open it, it will highlight your code.  Simple and effective.</p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2008/05/13/jedit-with-typoscript-syntax-highlighting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ignore localization of images for text w/image in TYPO3</title>
		<link>http://people.merea.se/david/2007/10/03/ignore-localization-of-images-for-text-wimage-in-typo3/</link>
		<comments>http://people.merea.se/david/2007/10/03/ignore-localization-of-images-for-text-wimage-in-typo3/#comments</comments>
		<pubDate>Wed, 03 Oct 2007 08:42:18 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Typoscript snippets]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/2007/10/03/ignore-localization-of-images-for-text-wimage-in-typo3/</guid>
		<description><![CDATA[A short one. TYPO3 is amazing when (amongst other things) it comes to localization of website contents. The documentation is quite good to around the subject, which is quite rare when it comes to TYPO3 otherwise. However, today I had totaly forgotten how to, or even if it was possible to, only localize the text [...]]]></description>
			<content:encoded><![CDATA[<p>A short one. TYPO3 is amazing when (amongst other things) it comes to localization of website contents. The documentation is quite good to around the subject, which is quite rare when it comes to TYPO3 otherwise. However, today I had totaly forgotten how to, or even if it was possible to, only localize the text part for text w/image elements. After some reading I found this great typoscript key</p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1">config.sys_language_softMergeIfNotBlank = tt_content:image, tt_content:header</div>
</li>
</ol>
</div>
<p>What this actually does when put in you TS template (together with the rest of the localization settings) is saying that TYPO3 should softly and nicely merge the image and header fields of a content element if it&#8217;s not translated into the other translated materials.</p>
<p>Go TYPO3 I say <img src='http://people.merea.se/david/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2007/10/03/ignore-localization-of-images-for-text-wimage-in-typo3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change layout of filelinks lists in typo3</title>
		<link>http://people.merea.se/david/2007/02/19/change-layout-of-filelinks-lists-in-typo3/</link>
		<comments>http://people.merea.se/david/2007/02/19/change-layout-of-filelinks-lists-in-typo3/#comments</comments>
		<pubDate>Mon, 19 Feb 2007 10:43:50 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Typoscript snippets]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/2007/02/19/change-layout-of-filelinks-lists-in-typo3/</guid>
		<description><![CDATA[I recently had to change the title of my files in filelinks with typo3. As I&#8217;ve become customed with the thought of having mostly either a full or partial solution to every problem with Typo3, I headed off to google and looked for ways to modify the filelinks. This got me to css_filelinks. A nice [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to change the title of my files in filelinks with typo3. As I&#8217;ve become customed with the thought of having mostly either a full or partial solution to every problem with Typo3, I headed off to google and looked for ways to modify the filelinks.</p>
<p>This got me to css_filelinks. A nice way to modify most appearance aspects of filelinks. I think it&#8217;s actually a good example of how T3 can be modified by behaviour and function.<br />
Anyway, with that one you can change the FE (FrontEnd) display to your likening with a template/marker styled way. Instead of displaying ###TITLE### (filename) I choosed to use the description field that you can add in the filelinks setting.</p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">tt_content.uploads.20.layout.file &gt;
</div>
</li>
<li class="li1">
<div class="de1">tt_content.uploads.20.layout.file.cObject=COA
</div>
</li>
<li class="li1">
<div class="de1">tt_content.uploads.20.layout.file.cObject{
</div>
</li>
<li class="li2">
<div class="de2">&nbsp; wrap=&lt;div class=&quot;filelinkslist&quot;&gt;&amp;#124;&lt;/div&gt;
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; 10 = TEXT
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; 10.wrap=&lt;span&gt;&amp;#124;&lt;/span&gt;
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; 10.value=###ICON###&lt;a href=&quot;###URL###&quot;&gt;###DESCRIPTION###&lt;/a&gt;
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; 20 &lt;.10
</div>
</li>
<li class="li2">
<div class="de2">&nbsp; 20.value=###FILESIZE###
</div>
</li>
<li class="li1">
<div class="de1">}
</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<p>Configuration reference: <a href="http://typo3.org/documentation/document-library/extension-manuals/css_filelinks/0.2.11/view/1/3/">http://typo3.org/documentation/document-library/extension-manuals/css_filelinks/0.2.11/view/1/3/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2007/02/19/change-layout-of-filelinks-lists-in-typo3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing Typo3 templates and constants localy</title>
		<link>http://people.merea.se/david/2006/09/28/editing-typo3-templates-and-constants-localy/</link>
		<comments>http://people.merea.se/david/2006/09/28/editing-typo3-templates-and-constants-localy/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 23:24:40 +0000</pubDate>
		<dc:creator>David Smeringe</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Typoscript snippets]]></category>
		<category><![CDATA[editors/ides/rads]]></category>

		<guid isPermaLink="false">http://people.merea.se/david/2007/03/01/editing-typo3-templates-and-constants-localy/</guid>
		<description><![CDATA[I found a great way of editing my typo3 templates. JEdit (the incredibly flexible java based code editor found at jedit.org) has a plugin for Typo3 which gives you direct access to constants and templates thruout the entire site structure. Requirements/parts: jEdit installed with Typo3 plugin Typo3 version 3.8> (known to work up to 4.0.1) [...]]]></description>
			<content:encoded><![CDATA[<p>I found a great way of editing my typo3 templates. JEdit (the incredibly flexible java based code editor found at <a href="http://www.jedit.org]www.jedit.org">jedit.org</a>) has a plugin for Typo3 which gives you direct access to constants and templates thruout the entire site structure.</p>
<p>Requirements/parts:<br />
jEdit installed with Typo3 plugin<br />
Typo3 version 3.8> (known to work up to 4.0.1)<br />
xml support in PHP<br />
Typo3 extensions: xmlrpc_lib and jeditvfs.</p>
<p>The following steps helps you set up the environment correctly:</p>
<p>1) Install xmlrpc_lib and jeditvfs to Typo3 with Typo3 extension manager.<br />
It should work out of the box, but you can, if you like to, add some custom TS settings:</p>
<div class="dean_ch" style="white-space: nowrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">jeditpage = PAGE
</div>
</li>
<li class="li1">
<div class="de1">jeditpage.typeNum = 761
</div>
</li>
<li class="li1">
<div class="de1">jeditpage.config {
</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; no_cache = 1
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; pageGenScript=EXT:jeditvfs/server.php
</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; admPanel = 0
</div>
</li>
<li class="li1">
<div class="de1">}
</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<p>2) download and install jEdit from<br />
<a href="http://www.jedit.org/index.php?page=download">jedit.org</a></p>
<p>3) Start jEdit and go to menu Plugins -> Plugin manager and then the install tab. Check TypoScript for Typo3 and install.</p>
<p>4) Now add a new Typo3 site. Close the Plugins manager and go to menu Plugins -> Plugin options. Select TypoScript and then the + button to add a new site.</p>
<p>5) Close the Plugin options window and go to menu  Plugins -> TypoScript for Typo3 -> Template browser. Double click on your website name and voila &#8211; your in the game!</p>
]]></content:encoded>
			<wfw:commentRss>http://people.merea.se/david/2006/09/28/editing-typo3-templates-and-constants-localy/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

