<?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>TYPO3weblog.de &#187; Adventskalender</title>
	<atom:link href="http://typo3weblog.de/tags/adventskalender/feed/" rel="self" type="application/rss+xml" />
	<link>http://typo3weblog.de</link>
	<description>Das Blog zu TYPO3, JavaScript und openSource</description>
	<lastBuildDate>Tue, 05 Oct 2010 14:35:19 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Adventskalender 2008: Türchen 1</title>
		<link>http://typo3weblog.de/2008/12/01/adventskalender-2008-turchen-1/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=adventskalender-2008-turchen-1</link>
		<comments>http://typo3weblog.de/2008/12/01/adventskalender-2008-turchen-1/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 23:00:01 +0000</pubDate>
		<dc:creator>Frank Nägler</dc:creator>
				<category><![CDATA[Adventskalender 2008]]></category>
		<category><![CDATA[Programmers World]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[TypoScript]]></category>
		<category><![CDATA[Adventskalender]]></category>
		<category><![CDATA[stdWrap]]></category>
		<category><![CDATA[TCAselectItem]]></category>

		<guid isPermaLink="false">http://typo3weblog.de/?p=368</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Heute startet der TYPO3-Adventskalender 2008. Im ersten Türchen habe ich ein TypoScript für Euch. Ich stelle Euch eine recht neue und noch eher unbekannte Funktion des stdWrap vor. Aber schauen wir uns erstmal das TypoScript an, danach erkläre ich, was es damit auf sich hat.</p>
<pre class="javascript"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">temp.<span style="color: #006600;">tcafield</span> = TEXT</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">temp.<span style="color: #006600;">tcafield</span> <span style="color: #66cc66;">&#123;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	value = <span style="color: #CC0000;">1</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	stdWrap.<span style="color: #006600;">TCAselectItem</span>.<span style="color: #006600;">table</span> = fe_users</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">	stdWrap.<span style="color: #006600;">TCAselectItem</span>.<span style="color: #006600;">field</span> = <span style="color: #000066;">status</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div></li></ol></pre>
<p>Die Ausgabe von temp.tcafield ist jetzt "Student", denn das Feld "Status" beim FE-User hat mit dem Value 1 den Begriff "Student" verknüpft. Wir können also auf diese Art sehr einfach an den Text eines TCA Feldes kommen.</p>
<p>Ein Manko gibt es jedoch noch. Man kann diese Funktion nur auf Felder vom Typ "select" anwenden, und auch nur dann, wenn es keine Datenbank-Relation ist. Ich habe diese Funktion erst kürzlich eingesetzt und mir damit eine Menge Arbeit erspart.</p>
<p>Morgen geht es dann weiter mit Türchen 2 bei <a href="http://typo3blogger.de/">Tim</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://typo3weblog.de/2008/12/01/adventskalender-2008-turchen-1/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Adventskalender 2008 &#8211; Ab Montag gehts wieder los</title>
		<link>http://typo3weblog.de/2008/11/28/adventskalender-2008-ab-montag-gehts-wieder-los/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=adventskalender-2008-ab-montag-gehts-wieder-los</link>
		<comments>http://typo3weblog.de/2008/11/28/adventskalender-2008-ab-montag-gehts-wieder-los/#comments</comments>
		<pubDate>Fri, 28 Nov 2008 14:59:02 +0000</pubDate>
		<dc:creator>Frank Nägler</dc:creator>
				<category><![CDATA[In eigener Sache]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[Adventskalender]]></category>

		<guid isPermaLink="false">http://typo3weblog.de/?p=366</guid>
		<description><![CDATA[Jaha, genau wie letztes Jahr wird es auch diesem Jahr wieder einen TYPO3-Adventskalender geben. Dieses Jahr wird es etwas anders laufen, denn Ihr werdet hier nur jeden zweiten Tag ein Türchen finden. Warum? Ganz einfach, dieses Jahr teilen Tim Lochmüller und ich uns die Arbeit. An jedem zweiten Tag findet Ihr ein Türchen auf TYPO3-Blogger. [...]]]></description>
			<content:encoded><![CDATA[<p>Jaha, genau <a href="http://typo3weblog.de/2007/12/01/adventskalender-turchen-1/">wie letztes Jahr</a> wird es auch diesem Jahr wieder einen <a href="http://typo3weblog.de/tags/adventskalender/">TYPO3-Adventskalender</a> geben. Dieses Jahr wird es etwas anders laufen, denn Ihr werdet hier nur jeden zweiten Tag ein Türchen finden. Warum? Ganz einfach, dieses Jahr teilen Tim Lochmüller und ich uns die Arbeit. An jedem zweiten Tag findet Ihr ein Türchen auf <a href="http://typo3blogger.de/">TYPO3-Blogger</a>. Los geht es ab Montag hier im TYPO3Weblog. Das große finale der 24.12. gehört dann Tim.</p>
<p>Seit gespannt auf die tägliche Dosis TYPO3 ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://typo3weblog.de/2008/11/28/adventskalender-2008-ab-montag-gehts-wieder-los/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Adventskalender: Türchen 24</title>
		<link>http://typo3weblog.de/2007/12/24/adventskalender-turchen-24/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=adventskalender-turchen-24</link>
		<comments>http://typo3weblog.de/2007/12/24/adventskalender-turchen-24/#comments</comments>
		<pubDate>Sun, 23 Dec 2007 23:00:49 +0000</pubDate>
		<dc:creator>Frank Nägler</dc:creator>
				<category><![CDATA[In eigener Sache]]></category>
		<category><![CDATA[Programmers World]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[Webtracked]]></category>
		<category><![CDATA[openSource]]></category>
		<category><![CDATA[Adventskalender]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[PHPMyAdmin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://typo3weblog.de/2007/12/24/adventskalender-turchen-24/</guid>
		<description><![CDATA[Nun ist es geschafft, mit diesem Türchen endet der TYPO3 Adventskalender. Wie es sich für das letzte Türchen gehört, muss es natürlich etwas besonderes sein, darum möchte ich Euch heute etwas zum Download anbieten.
Bereits seit langem verfolge ich das Projekt WOS (Webserver on Stick). Inzwischen hat der Autor einen WOS-Mixer erstellt, mit dem man sich [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://typo3weblog.de/wp-content/2007/12/kalender_24.png" alt="Adventskalender: Türchen 24" align="left" />Nun ist es geschafft, mit diesem Türchen endet der TYPO3 Adventskalender. Wie es sich für das letzte Türchen gehört, muss es natürlich etwas besonderes sein, darum möchte ich Euch heute etwas zum Download anbieten.</p>
<p>Bereits seit langem verfolge ich das <a href="http://www.chsoftware.net/">Projekt WOS</a> (Webserver on Stick). Inzwischen hat der Autor einen <a href="http://www.chsoftware.net/de/useware/wosmixer/wosmixer.htm">WOS-Mixer</a> erstellt, mit dem man sich sein ganz persönliches Server-Paket erstellen kann. Und für Euch habe ich jetzt ein ganz besonderes Server-Paket zusammen gestellt, es enthält:</p>
<ul>
<li>Apache2 (Version 2.2.4)</li>
<li>ImageMagick (Version 4.2.9)</li>
<li>MySQL5 (Version 5.0.41)</li>
<li>PHP5 (Version 5.2.3)</li>
<li>Drupal (Version 5.3)</li>
<li>MediaWiki (Version 1.10.1)</li>
<li>PHPMyAdmin (Version 2.11.2.2)</li>
<li>TYPO3 (Version 4.1.3)</li>
<li>Wordpress (Version 2.3.1)</li>
</ul>
<p>Entpackt verbraucht das Paket ca. 250MB auf Euren USB-Stick, dafür bekommt Ihr einen kompletten Webserver mit den oben aufgeführten openSource-Anwendungen.</p>
<p>Ich bedanke mich bei Euch für Eure Treue und wünsche allen ein schönes Weihnachtsfest sowie viel Spaß mit diesem Download.</p>
<p><a href="http://typo3weblog.de/wp-content/2007/12/wosportable.zip" title="Download WOS-Server-Paket">Download WOS-Server-Paket</a></p>
]]></content:encoded>
			<wfw:commentRss>http://typo3weblog.de/2007/12/24/adventskalender-turchen-24/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adventskalender: Türchen 23</title>
		<link>http://typo3weblog.de/2007/12/23/adventskalender-turchen-23/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=adventskalender-turchen-23</link>
		<comments>http://typo3weblog.de/2007/12/23/adventskalender-turchen-23/#comments</comments>
		<pubDate>Sat, 22 Dec 2007 23:00:59 +0000</pubDate>
		<dc:creator>Frank Nägler</dc:creator>
				<category><![CDATA[Programmers World]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[openSource]]></category>
		<category><![CDATA[Adventskalender]]></category>
		<category><![CDATA[Extensions]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://typo3weblog.de/2007/12/23/adventskalender-turchen-23/</guid>
		<description><![CDATA[Heute habe ich einen Tip für Extension Entwickler. Manchmal muss man die Größe von Dateien ausgeben, jedoch speichert TYPO3 diese Dateigrößen in der Regel in Bytes. Um nun eine für den normalen Menschen lesbare Ausgabe zu bekommen, bietet die Klasse t3lib_div eine nette Funktion zur Formatierung:
t3lib_div::formatSize&#40;$sizeInBytes, $labels=''&#41;;
Während sich der erste Parameter wie ich denke von [...]]]></description>
			<content:encoded><![CDATA[<p>Heute habe ich einen Tip für Extension Entwickler. Manchmal muss man die Größe von Dateien ausgeben, jedoch speichert TYPO3 diese Dateigrößen in der Regel in Bytes. Um nun eine für den normalen Menschen lesbare Ausgabe zu bekommen, bietet die Klasse t3lib_div eine nette Funktion zur Formatierung:</p>
<pre class="php"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">t3lib_div::<span style="color: #006600;">formatSize</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$sizeInBytes</span>, <span style="color: #0000ff;">$labels</span>=<span style="color: #ff0000;">''</span><span style="color: #66cc66;">&#41;</span>;</div></li></ol></pre>
<p>Während sich der erste Parameter wie ich denke von selbst erklärt, bedarf der zweite eine kurze Erläuterung. Der zweite Parameter ist eine durch "|"-Zeichen separierte Liste von Labels für Bytes, Kilobytes, Megabytes und Gigabytes. Der Standard ist " | K| M| G". In Deutschland zumindest ist man eine andere Schreibweise gewohnt, also gleich mal ein Beispiel:</p>
<pre class="php"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$fileSize1</span> = <span style="color: #cc66cc;">370</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$fileSize2</span> = <span style="color: #cc66cc;">378880</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$fileSize3</span> = <span style="color: #cc66cc;">387973120</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$fileSize4</span> = <span style="color: #cc66cc;">397284474880</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a>  t3lib_div::<span style="color: #006600;">formatSize</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$fileSize1</span>, <span style="color: #0000ff;">$labels</span>=<span style="color: #ff0000;">' Bytes | KB | MB | GB'</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">// Ausgabe: 370 Bytes</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a>  t3lib_div::<span style="color: #006600;">formatSize</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$fileSize2</span>, <span style="color: #0000ff;">$labels</span>=<span style="color: #ff0000;">' Bytes | KB | MB | GB'</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">// Ausgabe: 370 KB</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a>  t3lib_div::<span style="color: #006600;">formatSize</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$fileSize3</span>, <span style="color: #0000ff;">$labels</span>=<span style="color: #ff0000;">' Bytes | KB | MB | GB'</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">// Ausgabe: 370 MB</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a>  t3lib_div::<span style="color: #006600;">formatSize</span><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$fileSize4</span>, <span style="color: #0000ff;">$labels</span>=<span style="color: #ff0000;">' Bytes | KB | MB | GB'</span><span style="color: #66cc66;">&#41;</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">// Ausgabe: 370 GB</span></div></li></ol></pre>
<p>Warum also kompliziert, wenn es auch einfach geht ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://typo3weblog.de/2007/12/23/adventskalender-turchen-23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adventskalender: Türchen 22</title>
		<link>http://typo3weblog.de/2007/12/22/adventskalender-turchen-22/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=adventskalender-turchen-22</link>
		<comments>http://typo3weblog.de/2007/12/22/adventskalender-turchen-22/#comments</comments>
		<pubDate>Fri, 21 Dec 2007 23:00:47 +0000</pubDate>
		<dc:creator>Frank Nägler</dc:creator>
				<category><![CDATA[Programmers World]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[TypoScript]]></category>
		<category><![CDATA[openSource]]></category>
		<category><![CDATA[Adventskalender]]></category>

		<guid isPermaLink="false">http://typo3weblog.de/2007/12/22/adventskalender-turchen-22/</guid>
		<description><![CDATA[Heute zeige ich Euch, wie man im Frontend ein paar Infos zum Browser und System des aktuellen Benutzers anzeigen lassen kann. Das schöne daran ist mal wieder, dass es schnell und einfach per TypoScript umgesetzt werden kann.
Hier ein Beispiel:
temp.browserinfo = COA_INTtemp.browserinfo &#123;  10 = TEXT  10.data = TSFE:clientInfo&#124;SYSTEM  10.wrap = &#38;lt;p&#38;gt; &#124; [...]]]></description>
			<content:encoded><![CDATA[<p>Heute zeige ich Euch, wie man im Frontend ein paar Infos zum Browser und System des aktuellen Benutzers anzeigen lassen kann. Das schöne daran ist mal wieder, dass es schnell und einfach per TypoScript umgesetzt werden kann.</p>
<p>Hier ein Beispiel:</p>
<pre class="javascript"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">temp.<span style="color: #006600;">browserinfo</span> = COA_INT</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">temp.<span style="color: #006600;">browserinfo</span> <span style="color: #66cc66;">&#123;</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">  <span style="color: #CC0000;">10</span> = TEXT</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">  <span style="color: #CC0000;">10</span>.<span style="color: #006600;">data</span> = TSFE:clientInfo|SYSTEM</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">  <span style="color: #CC0000;">10</span>.<span style="color: #006600;">wrap</span> = &amp;lt;p&amp;gt; | &amp;lt;br /&amp;gt; </div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">  <span style="color: #CC0000;">20</span> = TEXT</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">  <span style="color: #CC0000;">20</span>.<span style="color: #006600;">data</span> = TSFE:clientInfo|BROWSER</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">  <span style="color: #CC0000;">20</span>.<span style="color: #006600;">wrap</span> = | &amp;amp;nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">  <span style="color: #CC0000;">30</span> = TEXT</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">  <span style="color: #CC0000;">30</span>.<span style="color: #006600;">data</span> = TSFE:clientInfo|VERSION</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">  <span style="color: #CC0000;">30</span>.<span style="color: #006600;">wrap</span> = | &amp;lt;/p&amp;gt;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span></div></li></ol></pre>
<p>Die Ausgabe würde jetzt z.B. so aussehen:<br />
Windows<br />
Internet Explorer 6</p>
]]></content:encoded>
			<wfw:commentRss>http://typo3weblog.de/2007/12/22/adventskalender-turchen-22/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adventskalender: Türchen 21</title>
		<link>http://typo3weblog.de/2007/12/21/adventskalender-turchen-21/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=adventskalender-turchen-21</link>
		<comments>http://typo3weblog.de/2007/12/21/adventskalender-turchen-21/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 23:00:22 +0000</pubDate>
		<dc:creator>Frank Nägler</dc:creator>
				<category><![CDATA[Programmers World]]></category>
		<category><![CDATA[TSConfig]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[TypoScript]]></category>
		<category><![CDATA[Webtracked]]></category>
		<category><![CDATA[openSource]]></category>
		<category><![CDATA[Adventskalender]]></category>
		<category><![CDATA[Linktip]]></category>

		<guid isPermaLink="false">http://typo3weblog.de/2007/12/21/adventskalender-turchen-21/</guid>
		<description><![CDATA[Heute gibt es zwei nützliche Linktips. Beide gibt es schon recht lange, jedoch nur wenige kennen diese URLs.
Es gibt glaube ich keinen schnelleren Weg zur TypoScript-Referenz als diesen:

http://www.tsref.de/

Und für die TSConfig-Referenz gibt es auch einen schnellen Weg:

http://www.tsconfig.de/

Ist das kurz genug oder kennt jemand von Euch noch einen kürzeren Weg?
]]></description>
			<content:encoded><![CDATA[<p>Heute gibt es zwei nützliche Linktips. Beide gibt es schon recht lange, jedoch nur wenige kennen diese URLs.</p>
<p>Es gibt glaube ich keinen schnelleren Weg zur TypoScript-Referenz als diesen:</p>
<ul>
<li><a href="http://www.tsref.de/">http://www.tsref.de/</a></li>
</ul>
<p>Und für die TSConfig-Referenz gibt es auch einen schnellen Weg:</p>
<ul>
<li><a href="http://www.tsconfig.de/">http://www.tsconfig.de/</a></li>
</ul>
<p>Ist das kurz genug oder kennt jemand von Euch noch einen kürzeren Weg?</p>
]]></content:encoded>
			<wfw:commentRss>http://typo3weblog.de/2007/12/21/adventskalender-turchen-21/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Adventskalender: Türchen 20</title>
		<link>http://typo3weblog.de/2007/12/20/adventskalender-turchen-20/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=adventskalender-turchen-20</link>
		<comments>http://typo3weblog.de/2007/12/20/adventskalender-turchen-20/#comments</comments>
		<pubDate>Wed, 19 Dec 2007 23:00:47 +0000</pubDate>
		<dc:creator>Frank Nägler</dc:creator>
				<category><![CDATA[Programmers World]]></category>
		<category><![CDATA[TSConfig]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[openSource]]></category>
		<category><![CDATA[Adventskalender]]></category>

		<guid isPermaLink="false">http://typo3weblog.de/2007/12/20/adventskalender-turchen-20/</guid>
		<description><![CDATA[Heute gibt es wieder ein Stückchen TSConfig für Backend-User oder Gruppen. Bei einigen Datensätzen sieht man einen Button für "Speichern und Neu", damit speichert man also den aktuellen Datensatz und im Anschluß öffnet sich ein leeres Formular, um gleich den nächsten Datensatz einzugeben.
Leider steht diese Funktion nicht bei jedem Datensatz-Typ zur Verfügung. Mit dem folgenden [...]]]></description>
			<content:encoded><![CDATA[<p>Heute gibt es wieder ein Stückchen TSConfig für Backend-User oder Gruppen. Bei einigen Datensätzen sieht man einen Button für "Speichern und Neu", damit speichert man also den aktuellen Datensatz und im Anschluß öffnet sich ein leeres Formular, um gleich den nächsten Datensatz einzugeben.</p>
<p>Leider steht diese Funktion nicht bei jedem Datensatz-Typ zur Verfügung. Mit dem folgenden Stück TSConfig lässt sich das selektiv ändern:</p>
<pre class="javascript"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">options.<span style="color: #006600;">saveDocNew</span>.<span style="color: #66cc66;">&#91;</span>table<span style="color: #66cc66;">&#93;</span> = <span style="color: #CC0000;">1</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #009900; font-style: italic;">// Beispiel:</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">options.<span style="color: #006600;">saveDocNew</span>.<span style="color: #006600;">tt_content</span> = <span style="color: #CC0000;">1</span></div></li></ol></pre>
<p>Oder ganz allgemein für alle Datensätze:</p>
<pre class="javascript"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">options.<span style="color: #006600;">saveDocNew</span> = <span style="color: #CC0000;">1</span></div></li></ol></pre>
]]></content:encoded>
			<wfw:commentRss>http://typo3weblog.de/2007/12/20/adventskalender-turchen-20/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Adventskalender: Türchen 19</title>
		<link>http://typo3weblog.de/2007/12/19/adventskalender-turchen-19/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=adventskalender-turchen-19</link>
		<comments>http://typo3weblog.de/2007/12/19/adventskalender-turchen-19/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 23:00:31 +0000</pubDate>
		<dc:creator>Frank Nägler</dc:creator>
				<category><![CDATA[Programmers World]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[openSource]]></category>
		<category><![CDATA[Adventskalender]]></category>
		<category><![CDATA[Install-Tool]]></category>

		<guid isPermaLink="false">http://typo3weblog.de/2007/12/19/adventskalender-turchen-19/</guid>
		<description><![CDATA[Arbeitet Ihr manchmal auf verschiedenen Installationen, aber auf der gleichen Hauptdomain, also z.B. einmal auf cms.example.com und einmal auf www.example.com? Dann könnt Ihr mit Session-Sharing arbeiten.
Dazu ist folgender Eintrag in Eurer localconf.php nötig:
$TYPO3_CONF_VARS&#91;SYS&#93;&#91;cookieDomain&#93; = '.example.com';
Simple, einfach und effektiv ;-)
Als Value sind auch reguläre Ausdrücke möglich, z.B. sowas:
$TYPO3_CONF_VARS&#91;SYS&#93;&#91;cookieDomain&#93; = '/\.(example1&#124;example2)\.com$/';// oder$TYPO3_CONF_VARS&#91;SYS&#93;&#91;cookieDomain&#93; = '/\.(example1\.com)&#124;(example2\.net)$/';
]]></description>
			<content:encoded><![CDATA[<p>Arbeitet Ihr manchmal auf verschiedenen Installationen, aber auf der gleichen Hauptdomain, also z.B. einmal auf cms.example.com und einmal auf www.example.com? Dann könnt Ihr mit Session-Sharing arbeiten.</p>
<p>Dazu ist folgender Eintrag in Eurer localconf.php nötig:</p>
<pre class="php"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$TYPO3_CONF_VARS</span><span style="color: #66cc66;">&#91;</span>SYS<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#91;</span>cookieDomain<span style="color: #66cc66;">&#93;</span> = <span style="color: #ff0000;">'.example.com'</span>;</div></li></ol></pre>
<p>Simple, einfach und effektiv ;-)</p>
<p>Als Value sind auch reguläre Ausdrücke möglich, z.B. sowas:</p>
<pre class="php"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$TYPO3_CONF_VARS</span><span style="color: #66cc66;">&#91;</span>SYS<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#91;</span>cookieDomain<span style="color: #66cc66;">&#93;</span> = <span style="color: #ff0000;">'/<span style="color: #000099; font-weight: bold;">\.</span>(example1|example2)<span style="color: #000099; font-weight: bold;">\.</span>com$/'</span>;</div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">// oder</span></div></li><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0000ff;">$TYPO3_CONF_VARS</span><span style="color: #66cc66;">&#91;</span>SYS<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#91;</span>cookieDomain<span style="color: #66cc66;">&#93;</span> = <span style="color: #ff0000;">'/<span style="color: #000099; font-weight: bold;">\.</span>(example1<span style="color: #000099; font-weight: bold;">\.</span>com)|(example2<span style="color: #000099; font-weight: bold;">\.</span>net)$/'</span>;</div></li></ol></pre>
]]></content:encoded>
			<wfw:commentRss>http://typo3weblog.de/2007/12/19/adventskalender-turchen-19/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adventskalender: Türchen 18</title>
		<link>http://typo3weblog.de/2007/12/18/adventskalender-turchen-18/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=adventskalender-turchen-18</link>
		<comments>http://typo3weblog.de/2007/12/18/adventskalender-turchen-18/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 23:00:01 +0000</pubDate>
		<dc:creator>Frank Nägler</dc:creator>
				<category><![CDATA[Programmers World]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[openSource]]></category>
		<category><![CDATA[Adventskalender]]></category>
		<category><![CDATA[Backend]]></category>
		<category><![CDATA[Session]]></category>

		<guid isPermaLink="false">http://typo3weblog.de/2007/12/18/adventskalender-turchen-18/</guid>
		<description><![CDATA[Heute habe ich mal wieder etwas sehr prakmatisches für Euch. Mit diesem Tip kann man sicherlich wieder endlose Diskussionen auslösen, aber ich glaube unter bestimmten Voraussetzungen ist es dennoch recht sinnvoll.
Ich arbeite oft an mehrere Projekten gleichzeitig und habe daher oft viele TYPO3 Backends gleichzeitig offen. Im Laufe der Zeit kommt es nun immer mal [...]]]></description>
			<content:encoded><![CDATA[<p>Heute habe ich mal wieder etwas sehr prakmatisches für Euch. Mit diesem Tip kann man sicherlich wieder endlose Diskussionen auslösen, aber ich glaube unter bestimmten Voraussetzungen ist es dennoch recht sinnvoll.</p>
<p>Ich arbeite oft an mehrere Projekten gleichzeitig und habe daher oft viele TYPO3 Backends gleichzeitig offen. Im Laufe der Zeit kommt es nun immer mal wieder vor, dass die Sessions auslaufen und TYPO3 nach einem Re-Login fragt. Um dieses Nachfragen zu verhindern kann man den sessionTimeout einfach höher setzen. Folgende Zeile in Eurer localconf.php sorgt dafür, dass die Session erst nach 24 Stunden ausläuft.</p>
<pre class="php"><span style="color: #0000ff;">$TYPO3_CONF_VARS</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'BE'</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#91;</span><span style="color: #ff0000;">'sessionTimeout'</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #ff0000;">'86400'</span>;</pre>
<p>Wie gesagt, wenn man an das Thema Sicherheit denkt ist dies sicherlich nicht der richtige Weg, aber wenn es sich um Development Umgebungen handelt, denke ich kann man diese Einstellung gerne benutzen. Auch für Live-Umgebungen kann man den längeren Session-Timeout wählen, wenn man sich konsequent daran hält sich auszuloggen ;-)</p>
]]></content:encoded>
			<wfw:commentRss>http://typo3weblog.de/2007/12/18/adventskalender-turchen-18/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adventskalender: Türchen 17</title>
		<link>http://typo3weblog.de/2007/12/17/adventskalender-turchen-17/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=adventskalender-turchen-17</link>
		<comments>http://typo3weblog.de/2007/12/17/adventskalender-turchen-17/#comments</comments>
		<pubDate>Sun, 16 Dec 2007 23:00:58 +0000</pubDate>
		<dc:creator>Frank Nägler</dc:creator>
				<category><![CDATA[Programmers World]]></category>
		<category><![CDATA[TSConfig]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[openSource]]></category>
		<category><![CDATA[Adventskalender]]></category>

		<guid isPermaLink="false">http://typo3weblog.de/2007/12/17/adventskalender-turchen-17/</guid>
		<description><![CDATA[Wenn man nur bestimmte Seiten im Backend zur Verfügung stellen möchte, kann man im Seiten TSConfig die folgenden Zeilen eintragen:
TCEFORM.pages.doktype.removeItems = 3,4,5,6,7,199,254,255,--div--
Die Nummern in der Liste entsprechen der Zuordnung von Seitentypen:

1 = Standard
2 = Erweitert
3 = Externe URL
4 = Shortcut
5 = Nicht im Menü
6 = Backend Benutzer Bereich
7 = Mount Seite
199 = Abstand
254 = SysFolder
255 [...]]]></description>
			<content:encoded><![CDATA[<p>Wenn man nur bestimmte Seiten im Backend zur Verfügung stellen möchte, kann man im Seiten TSConfig die folgenden Zeilen eintragen:</p>
<pre class="javascript"><ol><li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;"><div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">TCEFORM.<span style="color: #006600;">pages</span>.<span style="color: #006600;">doktype</span>.<span style="color: #006600;">removeItems</span> = <span style="color: #CC0000;">3</span>,<span style="color: #CC0000;">4</span>,<span style="color: #CC0000;">5</span>,<span style="color: #CC0000;">6</span>,<span style="color: #CC0000;">7</span>,<span style="color: #CC0000;">199</span>,<span style="color: #CC0000;">254</span>,<span style="color: #CC0000;">255</span>,--div--</div></li></ol></pre>
<p>Die Nummern in der Liste entsprechen der Zuordnung von Seitentypen:</p>
<ul>
<li>1 = Standard</li>
<li>2 = Erweitert</li>
<li>3 = Externe URL</li>
<li>4 = Shortcut</li>
<li>5 = Nicht im Menü</li>
<li>6 = Backend Benutzer Bereich</li>
<li>7 = Mount Seite</li>
<li>199 = Abstand</li>
<li>254 = SysFolder</li>
<li>255 = Recycler</li>
<li>--div-- = Trennlinie</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://typo3weblog.de/2007/12/17/adventskalender-turchen-17/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

