<?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>Digital entwickelt. &#187; Tutorials</title>
	<atom:link href="http://blog.digitallifedesign.net/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.digitallifedesign.net</link>
	<description>Digital Lifedesign</description>
	<lastBuildDate>Fri, 27 Jan 2012 11:52:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Drupal Modul für eigene Action</title>
		<link>http://blog.digitallifedesign.net/2011/07/drupal-modul-fur-eigene-action/</link>
		<comments>http://blog.digitallifedesign.net/2011/07/drupal-modul-fur-eigene-action/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 10:03:54 +0000</pubDate>
		<dc:creator>drcho</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[Actions]]></category>
		<category><![CDATA[Anfänger]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[Drupal7]]></category>
		<category><![CDATA[Modul]]></category>
		<category><![CDATA[Rules]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.digitallifedesign.net/?p=616</guid>
		<description><![CDATA[Ein eigenes Modul zur Erstellung eigener Actions ist nicht so schwer.]]></description>
			<content:encoded><![CDATA[<div id="attachment_617" class="wp-caption alignleft" style="width: 310px"><a class="thickbox" href="http://blog.digitallifedesign.net/wp-content/uploads/2011/07/demo_action.png"><img class="size-medium wp-image-617 " title="My Module - Demo Action" src="http://blog.digitallifedesign.net/wp-content/uploads/2011/07/demo_action-300x208.png" alt="Eigene Actions in Drupal 7" width="300" height="208" /></a><p class="wp-caption-text">Eigene Actions in Drupal 7</p></div>
<p>Oft stoßen wir an die Grenzen der Fähigkeiten von Drupal-Modulen, so dass nur noch über das <strong><a href="http://drupal.org/project/rules">Rules</a> Modul</strong> die Probleme gelöst werden können. Doch was wenn die Programmierer anderer Module erst gar nicht die entsprechenden Actions deklariert haben? Dann wird es endlich Zeit, ein <strong>eigenes Modul</strong> zu schreiben.</p>
<p>Hier eine kurze Anleitung für Drupal 7.<br />
<span id="more-616"></span></p>
<div style="clear:both; height: 1px;">&nbsp;</div>
<p>1. Die <strong>Ordnerstruktur</strong>:</p>
<p>- site/all/modules/<br />
&#8211; <strong>mymodule/</strong><br />
&#8212;- <strong>mymodule.info</strong><br />
&#8212;- <strong>mymodule.module</strong></p>
<p>2. Inhalt der Datei <strong>mymodule.info</strong>:</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000099;">name</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> My Module</span>
<span style="color: #000099;">description</span> <span style="color: #000066; font-weight:bold;">=</span> <span style="color: #933;">&quot;My own Action&quot;</span>
<span style="color: #000099;">package</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> Other</span>
<span style="color: #000099;">core</span> <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> 7.x</span>
dependencies<span style="">&#91;</span><span style="">&#93;</span> <span style="color: #000066; font-weight:bold;">=</span> devel</pre></div></div>

<p>3. Inhalt der Datei <strong>mymodule.module</strong>:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
<span style="color: #009933; font-style: italic;">/**
 * @file
 * Demo Module that shows some basic module stuff
 * @date 2011
 * @author Michael Lambertz
 */</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/**
 * implements hook_rules_action_info()
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> mymodule_rules_action_info<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$action</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
    <span style="color: #0000ff;">'mymodule_action'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
      <span style="color: #0000ff;">'label'</span>	<span style="color: #339933;">=&gt;</span> t<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Demo Action'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
      <span style="color: #0000ff;">'group'</span> <span style="color: #339933;">=&gt;</span> t<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'My Module'</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#41;</span>
  <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #000088;">$action</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/**
 * demo action gets a debug output of some experimental content
 */</span>
<span style="color: #000000; font-weight: bold;">function</span> mymodule_action<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
  dpm<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Hello World&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>4. Nun noch das Modul aktivieren und für die eigenen Zwecke anpassen.</p>
<p>Ich hoffe, das hilft einigen hier weiter.<br />
<strong>Weitere Tipps zu Drupal Modul-Programmierung einfach hier in den Kommentaren posten&#8230;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitallifedesign.net/2011/07/drupal-modul-fur-eigene-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal 7: &#8220;Bearbeiten&#8221;-Link für Nodes</title>
		<link>http://blog.digitallifedesign.net/2011/04/drupal-7-bearbeiten-link-fur-nodes/</link>
		<comments>http://blog.digitallifedesign.net/2011/04/drupal-7-bearbeiten-link-fur-nodes/#comments</comments>
		<pubDate>Tue, 05 Apr 2011 10:19:28 +0000</pubDate>
		<dc:creator>drcho</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[Access]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Edit]]></category>
		<category><![CDATA[Link]]></category>
		<category><![CDATA[Node]]></category>
		<category><![CDATA[Panels]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.digitallifedesign.net/?p=594</guid>
		<description><![CDATA[Normalerweise ist man wegen der Tabs nicht auf eigene Edit-Links im Template angewiesen, aber Ausnahmen gibt es zum Beispiel, wenn man mit Panels arbeitet, und hier wiederum Nodes integriert. Wie man also im node.tpl.php auch einen Edit-Link einbaut inklusive Zugriffs-Regeln (user_access), zeige ich hier:

Im node.tpl.php bzw. im panels-pane.tpl.php des Themes:

/*
// für panels-pane.tpl.php
if (isset($content[&#34;#node&#34;])) $node = [...]]]></description>
			<content:encoded><![CDATA[<p>Normalerweise ist man wegen der <strong>Tabs</strong> nicht auf <strong>eigene Edit-Links</strong> im Template angewiesen, aber Ausnahmen gibt es zum Beispiel, wenn man mit <strong>Panels</strong> arbeitet, und hier wiederum <strong>Nodes</strong> integriert. Wie man also im node.tpl.php auch einen Edit-Link einbaut inklusive Zugriffs-Regeln (user_access), zeige ich hier:</p>
<p><span id="more-594"></span><br />
Im <i>node.tpl.php</i> bzw. im <i>panels-pane.tpl.php</i> des Themes:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">/*
// für panels-pane.tpl.php
if (isset($content[&quot;#node&quot;])) $node = $content[&quot;#node&quot;];
*/</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$node</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">// nur wenn Node-Objekt vorhanden (bei Panels nicht automatisch)</span>
<span style="color: #009900;">&#123;</span>
   <span style="color: #000088;">$type</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$node</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">type</span><span style="color: #339933;">;</span>
   <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>user_access<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;edit any <span style="color: #006699; font-weight: bold;">$type</span> content&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #666666; font-style: italic;">// Rechte für den Node Type</span>
   <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$nid</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$node</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">nid</span><span style="color: #339933;">;</span>
      <span style="color: #b1b100;">echo</span> l<span style="color: #009900;">&#40;</span>t<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'edit'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'node/'</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$nid</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'/edit'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Freue mich natürlich über Ergänzungen oder Korrekturen. Demnächst poste ich übrigens mal wieder etwas mehr in meinem Blog. Vermutlich aber demnächst dann auch über eine Drupal-Seite.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitallifedesign.net/2011/04/drupal-7-bearbeiten-link-fur-nodes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RealURL mit mehreren Domains: ID was outside the domain</title>
		<link>http://blog.digitallifedesign.net/2010/09/realurl-mit-mehreren-domains-id-was-outside-the-domain/</link>
		<comments>http://blog.digitallifedesign.net/2010/09/realurl-mit-mehreren-domains-id-was-outside-the-domain/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 11:25:00 +0000</pubDate>
		<dc:creator>drcho</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[realurl multidomain domains problem gleiche seitennamen]]></category>

		<guid isPermaLink="false">http://blog.digitallifedesign.net/?p=550</guid>
		<description><![CDATA[Diese Fehlermeldung hat mich jetzt ganze 2 Stunden gekostet. Darum hier die ultimative Lösung des Problems.

Lösung Teil 1
In der typo3conf/localconf.php oder der speziellen RealURL-Konfigurationsdatei:

// Allgemeine Konfiguration
$TYPO3_CONF_VARS&#91;'EXTCONF'&#93;&#91;'realurl'&#93;&#91;'_DEFAULT'&#93; = array&#40;
 //realurl konfiguration...
&#41;;
$TYPO3_CONF_VARS&#91;'EXTCONF'&#93;&#91;'realurl'&#93;&#91;'_DEFAULT'&#93;&#91;'pagePath'&#93;&#91;'rootpage_id'&#93; = 1;//id der Hauptseite
&#160;
// Domain 2
$TYPO3_CONF_VARS&#91;'EXTCONF'&#93;&#91;'realurl'&#93;&#91;'www.domain2.de'&#93; = $TYPO3_CONF_VARS&#91;'EXTCONF'&#93;&#91;'realurl'&#93;&#91;'_DEFAULT'&#93;;
$TYPO3_CONF_VARS&#91;'EXTCONF'&#93;&#91;'realurl'&#93;&#91;'www.domain2.de'&#93;&#91;'pagePath'&#93;&#91;'rootpage_id'&#93; = 76;//id der Hauptseite von Domain 2

Jetzt noch in der Listenansicht der Hauptseite der 2. Domain ein [...]]]></description>
			<content:encoded><![CDATA[<p>Diese Fehlermeldung hat mich jetzt ganze 2 Stunden gekostet. Darum hier die ultimative Lösung des Problems.<br />
<span id="more-550"></span><br />
<strong>Lösung Teil 1</strong></p>
<p>In der typo3conf/localconf.php oder der speziellen RealURL-Konfigurationsdatei:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Allgemeine Konfiguration</span>
<span style="color: #000088;">$TYPO3_CONF_VARS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'EXTCONF'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'realurl'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'_DEFAULT'</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: #666666; font-style: italic;">//realurl konfiguration...</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$TYPO3_CONF_VARS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'EXTCONF'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'realurl'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'_DEFAULT'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pagePath'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'rootpage_id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span><span style="color: #666666; font-style: italic;">//id der Hauptseite</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Domain 2</span>
<span style="color: #000088;">$TYPO3_CONF_VARS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'EXTCONF'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'realurl'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'www.domain2.de'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$TYPO3_CONF_VARS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'EXTCONF'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'realurl'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'_DEFAULT'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$TYPO3_CONF_VARS</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'EXTCONF'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'realurl'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'www.domain2.de'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'pagePath'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'rootpage_id'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">76</span><span style="color: #339933;">;</span><span style="color: #666666; font-style: italic;">//id der Hauptseite von Domain 2</span></pre></div></div>

<p>Jetzt noch in der Listenansicht der Hauptseite der 2. Domain ein Domain Record anlegen mit dem Wert &#8220;www.domain2.de&#8221; und im besten Fall funktioniert es nun schon.</p>
<p><strong>Lösung Teil 2</strong></p>
<p>Doch bei mir lag ein anderes Problem vor. Ich hatte mit der Konfigurationsdatei rumgespielt und es klappte dennoch nicht. Stattdessen die Fehlermeldung:</p>
<blockquote><p>&#8220;ID was outside the domain&#8221;</p></blockquote>
<p>Das lag daran, dass ich zwischenzeitlich versehentlich mal die &#8220;rootpage_id&#8221; meiner ersten Domain (_DEFAULT) auch auf den Wert der 2. gesetzt hatte. Um dieses Problem zu lösen, muss nach der Änderung aus Teil 1 zusätzlich für <strong>beide Seitenbäume</strong> (1. und 2. Domain!)  das ID-to-path mapping gelöscht werden!</p>
<p>Das geschieht unter &#8220;<strong>Info-&gt;Speaking URL Management-&gt;ID-to-path mapping</strong>&#8221; Hier die Rekursion auf unendlich stellen und auf den kleinen Mülleimer über der Kopfzeile klicken. Fertig!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitallifedesign.net/2010/09/realurl-mit-mehreren-domains-id-was-outside-the-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal Datenbank ändern</title>
		<link>http://blog.digitallifedesign.net/2010/07/drupal-datenbank-andern/</link>
		<comments>http://blog.digitallifedesign.net/2010/07/drupal-datenbank-andern/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 06:44:03 +0000</pubDate>
		<dc:creator>drcho</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[aktualisieren]]></category>
		<category><![CDATA[Datenbank]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Verbindung]]></category>

		<guid isPermaLink="false">http://blog.digitallifedesign.net/?p=501</guid>
		<description><![CDATA[Die Verbindung zur MySQL-Datenbank in Drupal nachträglich zu ändern ist ganz einfach. In der Datei sites/default/settings.php muss nur eine Zeile angepasst werden:

92
$db_url = 'mysqli://username:password@localhost/database';

Hier muss natürlich username, password und database durch den Benutzernamen, das Passwort und den Datenbanknamen ersetzt werden. Das war&#8217;s schon.
]]></description>
			<content:encoded><![CDATA[<p>Die Verbindung zur MySQL-Datenbank in Drupal nachträglich zu ändern ist ganz einfach. In der Datei <strong>sites/default/settings.php</strong> muss nur eine Zeile angepasst werden:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>92
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$db_url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'mysqli://username:password@localhost/database'</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Hier muss natürlich <em>username</em>, <em>password</em> und <em>database</em> durch den Benutzernamen, das Passwort und den Datenbanknamen ersetzt werden. Das war&#8217;s schon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitallifedesign.net/2010/07/drupal-datenbank-andern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TYPO3: Typoscript ausführen nur für Backendbenutzer</title>
		<link>http://blog.digitallifedesign.net/2010/07/typo3-typoscript-ausfuhren-nur-fur-backendbenutzer/</link>
		<comments>http://blog.digitallifedesign.net/2010/07/typo3-typoscript-ausfuhren-nur-fur-backendbenutzer/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 11:41:31 +0000</pubDate>
		<dc:creator>drcho</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[TYPO3]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Entwicklung]]></category>
		<category><![CDATA[Test]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[Typoscript]]></category>

		<guid isPermaLink="false">http://blog.digitallifedesign.net/?p=499</guid>
		<description><![CDATA[Wenn man an einer laufenden Website entwickelt, kommt es schnell zu Fehlermeldungen. Um den neuen Typoscript-Code nur für angemeldete Backend-Benutzer sichtbar zu machen, also nicht für die normalen Besucher, kann man folgende Zeile als Condition im Typoscript einfach einfügen:

1
2
3
4
5
#typoscript condition
&#91;globalVar = TSFE : beUserLogin &#62; 0&#93;
# hier der testcode
&#91;global&#93;
# hier wieder weiter

]]></description>
			<content:encoded><![CDATA[<p>Wenn man an einer laufenden Website entwickelt, kommt es schnell zu Fehlermeldungen. Um den neuen Typoscript-Code nur für angemeldete Backend-Benutzer sichtbar zu machen, also nicht für die normalen Besucher, kann man folgende Zeile als Condition im Typoscript einfach einfügen:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="typoscript" style="font-family:monospace;"><span style="color: #aaa; font-style: italic;">#typoscript condition</span>
<span style="color: #009900;">&#91;</span><span style="color: #ed7d14;">globalVar</span> <span style="color: #339933; font-weight: bold;">=</span> TSFE <span style="color: #339933; font-weight: bold;">:</span> beUserLogin <span style="color: #339933; font-weight: bold;">&gt;</span> <span style="color: #cc0000;">0</span><span style="color: #009900;">&#93;</span>
<span style="color: #aaa; font-style: italic;"># hier der testcode</span>
<span style="color: #009900;">&#91;</span><span style="color: #ed7d14;">global</span><span style="color: #009900;">&#93;</span>
<span style="color: #aaa; font-style: italic;"># hier wieder weiter</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.digitallifedesign.net/2010/07/typo3-typoscript-ausfuhren-nur-fur-backendbenutzer/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Drupal Theme mit Haml erstellen</title>
		<link>http://blog.digitallifedesign.net/2010/07/drupal-theme-mit-haml-erstellen/</link>
		<comments>http://blog.digitallifedesign.net/2010/07/drupal-theme-mit-haml-erstellen/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 10:54:25 +0000</pubDate>
		<dc:creator>drcho</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web-Entwicklung]]></category>
		<category><![CDATA[Webdesign]]></category>
		<category><![CDATA[Haml]]></category>
		<category><![CDATA[phphaml]]></category>
		<category><![CDATA[Template Engine]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://blog.digitallifedesign.net/?p=480</guid>
		<description><![CDATA[Seit Jahren auf der Suche nach alternativen Template-Engines bin ich mal wieder auf der Drupal Website fündig geworden. Haml (XHTML Abstraction Markup Language) nennt sich das Grundkonzept, und es kann auch problemlos in Drupal eingesetzt werden. Die Konstruktion neuer Templates ist spielend einfach. Hier eine minimale Anleitung.
&#160;

Als erstes muss die Engine installiert werden. Man lädt [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_481" class="wp-caption alignleft" style="width: 310px"><a href="http://blog.digitallifedesign.net/wp-content/uploads/2010/07/haml-website.png"><img class="size-medium wp-image-481 " title="haml-website" src="http://blog.digitallifedesign.net/wp-content/uploads/2010/07/haml-website-300x213.png" alt="" width="300" height="213" /></a><p class="wp-caption-text">Haml ist eine alternative Template-Engine, ursprünglich entwickelt für Ruby, kann aber auch im PHP-Kontext eingesetzt werden</p></div>
<p>Seit Jahren auf der Suche nach alternativen Template-Engines bin ich mal wieder auf der Drupal Website fündig geworden. Haml (XHTML Abstraction Markup Language) nennt sich das Grundkonzept, und es kann auch problemlos in Drupal eingesetzt werden. Die Konstruktion neuer Templates ist spielend einfach. Hier eine minimale Anleitung.<span id="more-480"></span></p>
<div style="clear:both; height: 1px;">&nbsp;</div>
<ol>
<li>Als erstes muss die Engine installiert werden. Man lädt sie <a href="http://drupal.org/project/haml_engine">hier</a> runter, und entpackt sie in das Verzeichnis <em>themes/engines/</em>. Den Ordner sollte man noch <strong>umbenennen in &#8220;haml&#8221;</strong>.</li>
<li>Dann muss phphaml noch installiert werden. Das Paket lädt man <a href="http://sourceforge.net/projects/phphaml/files/">hier</a> runter, und entpackt es in <em>themes/engines/haml/</em>.</li>
<li>Nun kann das neue haml-Theme bereits angelegt werden. Wie das Erstellen von Themes in Drupal funktioniert, soll hier nicht im Detail erklärt werden (mehr Infos dazu findet man auf der <a href="http://drupal.org/theme-guide">Drupal-Seite</a>). Wir legen also im Theme-Ordner ein neues Verzeichnis <em>hamltheme/</em> an. Darin wird erst die Datei <em>hamltheme.info</em> erstellt mit dem Unterschied zu anderen Theme-Info-Dateien, dass wir hier <strong>haml als Templateengine</strong> aktivieren:<br/>

<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;">name <span style="color: #339933;">=</span> Haml Theme
description <span style="color: #339933;">=</span> 
version <span style="color: #339933;">=</span> VERSION
core <span style="color: #339933;">=</span> <span style="color: #cc66cc;">6</span><span style="color: #339933;">.</span>x
engine <span style="color: #339933;">=</span> haml
&nbsp;
<span style="color: #339933;">;</span> etc<span style="color: #339933;">.</span></pre></td></tr></table></div>

</li>
<li>Nun wird noch das Page-Template erstellt. Dazu legen wir eine neue Datei page.haml an. Als Basis-Inhalte fügen wir Folgendes ein (<strong>Einrückung beachten!*</strong>):<br/>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">!!!
%html
  %head
    = $head
    %title= $head_title
    = $styles
    = $scripts
  %body
    #container
      / primary links as styled list
      %ul#primary
        - foreach($primary_links as $link)
          %li
            %a{:href =&gt; $base_path.$link[href]}= $link[title]
      #header= $header
      #left= $left
      #main
        = $tabs
        = $messages
        = $help
        %h2.title= $title
        #content= $content
        #right= $right
        #footer= $footer</pre></td></tr></table></div>

</li>
<li><strong>*Achtung:</strong> Bei der haml-Syntax ist die Einrückung (Leerstellen, Tabulator) entscheiden, ob ein Element als children oder als sibling erstellt wird.</li>
<li>Danach kann man das Theme bereits unter <em>admin/build/themes</em> aktivieren.</li>
<li>Nun müssen natürlich ggf. noch Anpassungen für die anderen Templates (node.haml usw.) gemacht werden.</li>
</ol>
<p>Interessant ist auch, dass man selbst HTML und PHP-Code in die Templates integrieren kann. Damit sollte am besten jeder selbst einmal etwas rumexperimentieren. Einige Beispiele für die Syntax finden sich im Ordner <em>themes/engines/haml/phpHaml/tpl/</em>.</p>
<p>Viel Spaß!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitallifedesign.net/2010/07/drupal-theme-mit-haml-erstellen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04 Internet-Geschwindigkeit erhöhen</title>
		<link>http://blog.digitallifedesign.net/2010/06/ubuntu-10-04-internet-langsam/</link>
		<comments>http://blog.digitallifedesign.net/2010/06/ubuntu-10-04-internet-langsam/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 15:26:57 +0000</pubDate>
		<dc:creator>drcho</dc:creator>
				<category><![CDATA[Linux-Reihe]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[langsam]]></category>

		<guid isPermaLink="false">http://blog.digitallifedesign.net/?p=468</guid>
		<description><![CDATA[Das neue Ubuntu 10.04 scheint wirklich ein tolles Betriebssystem zu sein. Mac-User sollten sich es zumindest mal ansehen. Windows-Usern ist eh nicht mehr zu helfen   Das Internet ist jedoch nach der Installation/ dem Upgrade viel langsamer als zuvor. Ursache dafür ist das standardmäßig aktivierte Internetprotokoll IPv6. Da kaum einer es benötigt, kann man [...]]]></description>
			<content:encoded><![CDATA[<p>Das neue Ubuntu 10.04 scheint wirklich ein tolles Betriebssystem zu sein. Mac-User sollten sich es zumindest mal ansehen. Windows-Usern ist eh nicht mehr zu helfen <img src='http://blog.digitallifedesign.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  Das Internet ist jedoch nach der Installation/ dem Upgrade viel langsamer als zuvor. Ursache dafür ist das standardmäßig aktivierte Internetprotokoll <strong>IPv6</strong>. Da kaum einer es benötigt, kann man es auch einfach <strong>abschalten</strong>. Hier die Anleitung.</p>
<p><span id="more-468"></span>Dazu einfach im <strong>Terminal</strong> folgenden Befehl eingeben:</p>
<p>echo &#8216;net.ipv6.conf.all.disable_ipv6=1&#8242; | sudo tee -a /etc/sysctl.conf</p>
<p>Nun einmal neu starten und noch den Firefox unter <a href="about:config"><strong>about:config</strong></a> diesbezüglich konfigurieren. Hier sollte man den Wert <strong>network.dns.disableIPv6</strong> auf <strong>true</strong> setzen.</p>
<p>Fertig!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitallifedesign.net/2010/06/ubuntu-10-04-internet-langsam/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Inkscape-Tutorial: Masken und Transparenz</title>
		<link>http://blog.digitallifedesign.net/2010/06/inkscape-tutorial-masken-und-transparenz/</link>
		<comments>http://blog.digitallifedesign.net/2010/06/inkscape-tutorial-masken-und-transparenz/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 11:12:36 +0000</pubDate>
		<dc:creator>drcho</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Video-Tutorials]]></category>
		<category><![CDATA[Inkscape]]></category>
		<category><![CDATA[Masken]]></category>
		<category><![CDATA[Transparenz]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Verläufe]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://blog.digitallifedesign.net/?p=451</guid>
		<description><![CDATA[(Video: Schau dir dieses Video auf der Seite des Artikels an)
]]></description>
			<content:encoded><![CDATA[<pre>(Video: Schau dir dieses Video auf der Seite des Artikels an)</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitallifedesign.net/2010/06/inkscape-tutorial-masken-und-transparenz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiz und Ubuntu: Transparente Fenster abschalten</title>
		<link>http://blog.digitallifedesign.net/2010/06/compiz-und-ubuntu-transparente-fenster-abschalten/</link>
		<comments>http://blog.digitallifedesign.net/2010/06/compiz-und-ubuntu-transparente-fenster-abschalten/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 09:21:56 +0000</pubDate>
		<dc:creator>drcho</dc:creator>
				<category><![CDATA[Linux-Reihe]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.digitallifedesign.net/?p=439</guid>
		<description><![CDATA[Ein Plus von Ubuntu sind die flexibel konfigurierbaren visuellen Effekte. Ärgerlich ist allerdings, dass man die Transparent der Fensterrahmen im Hintergrund nicht im CompizConfig Settings-Manager abstellen kann. Man kann die Transparenz dennoch regeln.

Hierzu Alt-F2 drücken und nun gconf-editor eintippen. Es startet der Konfigurationseditor.
Hier sind die Einstellungen unter apps/gwd zu ändern. Um die Transparenz der inaktiven [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_440" class="wp-caption alignleft" style="width: 310px"><a class="thickbox" href="http://blog.digitallifedesign.net/wp-content/uploads/2010/06/screenshot_002.png"><img class="size-medium wp-image-440  " title="gconf-editor" src="http://blog.digitallifedesign.net/wp-content/uploads/2010/06/screenshot_002-300x137.png" alt="" width="300" height="137" /></a><p class="wp-caption-text">Im gconf-editor kann man die Transparenz der Fensterrahmen regeln</p></div>
<p>Ein Plus von Ubuntu sind die flexibel konfigurierbaren visuellen Effekte. Ärgerlich ist allerdings, dass man die Transparent der Fensterrahmen im Hintergrund nicht im CompizConfig Settings-Manager abstellen kann. <strong>Man kann die Transparenz dennoch regeln.</strong></p>
<p><span id="more-439"></span></p>
<p>Hierzu <strong>Alt-F2</strong> drücken und nun <strong>gconf-editor</strong> eintippen. Es startet der Konfigurationseditor.</p>
<p>Hier sind die Einstellungen unter <strong>apps/gwd</strong> zu ändern. Um die Transparenz der inaktiven Fenster abzustellen, setzen wir</p>
<blockquote><p>metacity-theme-opacity = 1</p></blockquote>
<p>Nun sind alle Fensterrahmen opak! (<a title="Öffnet Link in neuem Fenster" href="http://forum.ubuntuusers.de/topic/titelleiste-der-fenster-transparent/#post-1227399" target="_self">Quelle</a>)</p>
<h2>Wie aktiviert man die visuellen Effekte?</h2>
<p>Wer unter <strong>System&gt;Erscheinungsbild&gt;visuelle Effekte</strong> die Option &#8220;<strong>Extra</strong>&#8221; aktiviert, erhält erst mal nur eine Vorschau auf das, was möglich ist. Aber wackelige Fenster sind zum effektiven Arbeiten nicht sonderlich effizient. Um die Einstellungen zu ändern, installiert man in der <strong>Paketverwaltung</strong> das Paket <strong>compizconfig-settings-manager</strong>. Nun kann man unter <strong>System&gt;CompizConfig Einstellungs-Manager</strong> alles mögliche anpasssen. Das soll uns Windows erst mal nachmachen <img src='http://blog.digitallifedesign.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitallifedesign.net/2010/06/compiz-und-ubuntu-transparente-fenster-abschalten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04 Installation: &#8220;The installer encountered an unrecoverable error.&#8221;</title>
		<link>http://blog.digitallifedesign.net/2010/06/ubuntu-10-04-installation-the-installer-encountered-an-unrecoverable-error/</link>
		<comments>http://blog.digitallifedesign.net/2010/06/ubuntu-10-04-installation-the-installer-encountered-an-unrecoverable-error/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 17:27:02 +0000</pubDate>
		<dc:creator>drcho</dc:creator>
				<category><![CDATA[Linux-Reihe]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.digitallifedesign.net/?p=425</guid>
		<description><![CDATA[Beim Einlegen der Desktop-CD von Ubuntu 10.04 zur Installation kommt es häufiger zu folgender Fehlermeldung:
The installer encountered an unrecoverable error. A desktop session will now be run so that you may investigate the problem or try installing again.
Das Problem kann einfach gelöst werden, wenn man im BIOS das Floppy-Drive deaktiviert. (Wer nutzt eigentlich noch Disketten?)
Die [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_427" class="wp-caption alignleft" style="width: 310px"><a class="thickbox" href="http://blog.digitallifedesign.net/wp-content/uploads/2010/06/boot.png"><img class="size-medium wp-image-427 " title="Ubuntu Bootscreen" src="http://blog.digitallifedesign.net/wp-content/uploads/2010/06/boot-300x175.png" alt="" width="300" height="175" /></a><p class="wp-caption-text">Neuer Boot-Screen: Ubuntu steht inzwischen auch optisch dem Mac OS in nichts mehr nach.</p></div>
<p>Beim Einlegen der <a title="Zur Download-Seite" href="http://wiki.ubuntuusers.de/Downloads/Lucid_Lynx" target="_blank">Desktop-CD von Ubuntu 10.04</a> zur Installation kommt es häufiger zu folgender Fehlermeldung:</p>
<blockquote><p>The installer encountered an unrecoverable error. A desktop session will now be run so that you may investigate the problem or try installing again.</p></blockquote>
<p>Das Problem kann einfach gelöst werden, wenn man im BIOS das Floppy-Drive deaktiviert. (Wer nutzt eigentlich noch Disketten?)</p>
<p>Die Festplatte kann man übrigens auch vor der Installation manuell partitionieren. Das hat den Vorteil, dass man beispielsweise das home-Verzeichnis auf eine gesonderte Partition installieren kann. Eine <a title="Öffnet Link in neuem Fenster" href="http://wiki.ubuntuusers.de/Manuelle_Partitionierung" target="_self">Anleitung</a> hierzu findet sich auf dem deutschsprachigen Ubuntu-Wiki.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.digitallifedesign.net/2010/06/ubuntu-10-04-installation-the-installer-encountered-an-unrecoverable-error/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

