<?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>Schnipsel - Code Schnipsel (Snippets) zu Wordpress, PHP, HTML, CSS, jQuery &#187; Backendanpassung</title>
	<atom:link href="http://schnipsel.davidhellmann.com/tag/backendanpassung/feed" rel="self" type="application/rss+xml" />
	<link>http://schnipsel.davidhellmann.com</link>
	<description>Code Schnipsel (Snippets) zu Wordpress, PHP, HTML, CSS, jQuery</description>
	<lastBuildDate>Tue, 08 Mar 2011 00:20:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Backend-Spalten umbenennen</title>
		<link>http://schnipsel.davidhellmann.com/typo3/backend-spalten-umbenennen/50</link>
		<comments>http://schnipsel.davidhellmann.com/typo3/backend-spalten-umbenennen/50#comments</comments>
		<pubDate>Fri, 22 May 2009 08:35:49 +0000</pubDate>
		<dc:creator>Andi Keßler</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Backendanpassung]]></category>

		<guid isPermaLink="false">http://schnipsel.davidhellmann.com/?p=50</guid>
		<description><![CDATA[F&#252;r manche Webseiten kann es sinnvoll sein, die Bezeichnungen der Backend-Spalten umzubenennen. Das trifft allerdings nur dann zu, wenn man Templavoila nicht benutzt. Aus welchen Gr&#252;nden auch immer. Dazu in die Datei /typo3conf/extTables.php folgendes Schnipsel einf&#252;gen und die Bezeichnungen entsprechend &#228;ndern 1 2 3 4 5 6 7 $TCA&#91;&#34;tt_content&#34;&#93;&#91;&#34;columns&#34;&#93;&#91;&#34;colPos&#34;&#93;&#91;&#34;config&#34;&#93;&#91;&#34;items&#34;&#93; = array &#40; &#34;0&#34; =&#38;gt; array [...]]]></description>
			<content:encoded><![CDATA[<p>F&#252;r manche Webseiten kann es sinnvoll sein, die Bezeichnungen der Backend-Spalten umzubenennen. Das trifft allerdings nur dann zu, wenn man Templavoila nicht benutzt. Aus welchen Gr&#252;nden auch immer.</p>
<span id="more-50"></span>
<p>Dazu in die Datei <em>/typo3conf/extTables.php</em> folgendes Schnipsel einf&#252;gen und die Bezeichnungen entsprechend &#228;ndern</p>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$TCA</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;tt_content&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;columns&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;colPos&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;config&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;items&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span> <span style="color: #009900;">&#40;</span>
        <span style="color: #0000ff;">&quot;0&quot;</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #990000;">array</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Normal||Normal||||||||&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;0&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>    <span style="color: #666666; font-style: italic;">//get</span>
        <span style="color: #0000ff;">&quot;1&quot;</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #990000;">array</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Rechts 2||Rechts 2||||||||&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;1&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">//getLeft</span>
        <span style="color: #0000ff;">&quot;2&quot;</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #990000;">array</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Rechts 1||Rechts 1||||||||&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;2&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>        <span style="color: #666666; font-style: italic;">//getRight</span>
        <span style="color: #0000ff;">&quot;3&quot;</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #990000;">array</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Rechts 3 (Teilbaum)||Rechts 3 (Teilbaum)||||||||&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;3&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>                 <span style="color: #666666; font-style: italic;">//getBorder</span>
        <span style="color: #0000ff;">&quot;4&quot;</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #990000;">array</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Additional||Additional||||||||&quot;</span><span style="color: #339933;">,</span><span style="color: #0000ff;">&quot;4&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>         <span style="color: #666666; font-style: italic;">//getAdditional</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>




<p>Anschlie&#223;end den Konfigurationscache leeren. Falls sich nichts tut, dann in die Datei <em>/typo3conf/localconf.php</em> folgende Zeile einf&#252;gen:</p>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$typo_db_extTableDef_script</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'extTables.php'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>




<p>Die deutlich einfachere Variante &#252;ber das TSconfig-Modul, greift leider nicht in der Listenansicht, wenn man die Bezeichnung der Spalten anzeigen l&#228;sst.</p>]]></content:encoded>
			<wfw:commentRss>http://schnipsel.davidhellmann.com/typo3/backend-spalten-umbenennen/50/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backend-Felder mit einem Standardwert belegen</title>
		<link>http://schnipsel.davidhellmann.com/typo3/backend-felder-mit-einem-standardwert-belegen/49</link>
		<comments>http://schnipsel.davidhellmann.com/typo3/backend-felder-mit-einem-standardwert-belegen/49#comments</comments>
		<pubDate>Fri, 22 May 2009 08:22:09 +0000</pubDate>
		<dc:creator>Andi Keßler</dc:creator>
				<category><![CDATA[Typo3]]></category>
		<category><![CDATA[Backendanpassung]]></category>
		<category><![CDATA[TSconfig]]></category>

		<guid isPermaLink="false">http://schnipsel.davidhellmann.com/?p=49</guid>
		<description><![CDATA[Beim Anpassen des TYPO3-Backends an eine bestimmte Webseite, kommt es h&#228;ufig vor, dass man bestimmte Felder mit einem Standardwert belegen m&#246;chte. Dazu dient folgendes Schnipsel, das in den TSconfig der Root-Seite oder in den User-TSconfig eingef&#252;gt wird. Damit kann man die Default-Werte f&#252;r jeden Benutzer oder Benutzergruppen separat setzen. 1 TCAdefaults.&#91;Name der Tabelle&#93;.&#91;Name des Feldes&#93; [...]]]></description>
			<content:encoded><![CDATA[<p>Beim Anpassen des TYPO3-Backends an eine bestimmte Webseite, kommt es h&#228;ufig vor, dass man bestimmte Felder mit einem Standardwert belegen m&#246;chte. Dazu dient folgendes Schnipsel, das in den TSconfig der Root-Seite oder in den User-TSconfig eingef&#252;gt wird. Damit kann man die Default-Werte f&#252;r jeden Benutzer oder Benutzergruppen separat setzen.</p>
<span id="more-49"></span>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">TCAdefaults<span style="color: #339933;">.</span><span style="color: #009900;">&#91;</span>Name der Tabelle<span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #009900;">&#91;</span>Name des Feldes<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span>gewünschter Wert<span style="color: #009900;">&#93;</span></pre></td></tr></table></div>



<p>Es kann allerdings vorkommen, dass der Default-Wert nur greift, wenn der neue Datensatz &#252;ber den Seitenmodus angelegt wird (z.B. Filelinks). Hierf&#252;r habe ich noch keine L&#246;sung gefunden</p>]]></content:encoded>
			<wfw:commentRss>http://schnipsel.davidhellmann.com/typo3/backend-felder-mit-einem-standardwert-belegen/49/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

