<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>rhizom</title>
	
	<link>http://web.rhizom.nl</link>
	<description>portfolio webdesign</description>
	<lastBuildDate>Tue, 24 Aug 2010 11:22:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/rhizom" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="rhizom" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Some drush commandos for setting up a drupal site quickly</title>
		<link>http://web.rhizom.nl/development/some-drush-commandos-for-setting-up-a-drupal-site-quickly/</link>
		<comments>http://web.rhizom.nl/development/some-drush-commandos-for-setting-up-a-drupal-site-quickly/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 11:22:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development blog]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[drush]]></category>

		<guid isPermaLink="false">http://web.rhizom.nl/?p=556</guid>
		<description><![CDATA[Here a collection of our favorite modules. Just copy these lines into your .bashrc and deploy sites faster :) # get modules alias drushmodules=&#8217;drush dl  translation_helpers ckeditor cck views webform token pathauto admin_menu filefield imagefield imageapi imagecache date google_analytics image advanced_help link devel jquery_update globalredirect transliteration logintoboggan rules content_profile views_bonus flag front vertical_tabs adminrole login_destination stringoverrides admin [...]]]></description>
			<content:encoded><![CDATA[<p>Here a collection of our favorite modules. Just copy these lines into your .bashrc and deploy sites faster :)</p>
<div id="_mcePaste"><em># get modules</em></div>
<div id="_mcePaste">alias drushmodules=&#8217;drush dl  translation_helpers ckeditor cck views webform token pathauto admin_menu filefield imagefield imageapi imagecache date google_analytics image advanced_help link devel jquery_update globalredirect transliteration logintoboggan rules content_profile views_bonus flag front vertical_tabs adminrole login_destination stringoverrides admin teleport panels util ; drush dl tao rubik &#8211;source=http://code.developmentseed.org/fserver&#8217;</div>
<div></div>
<div id="_mcePaste"><em># enable minimum setup</em></div>
<div id="_mcePaste">alias drushmin=&#8217;drush en ckeditor cck views admin vertical_tabs teleport image tao rubik ; drush vset admin_theme rubik&#8217;</div>
<div></div>
<div id="_mcePaste"><em># enable all modules &amp; themes</em></div>
<div id="_mcePaste">alias drushmax=&#8217;drush en translation_helpers ckeditor cck views webform token pathauto admin_menu filefield imagefield imageapi imagecache date google_analytics image advanced_help link devel jquery_update globalredirect transliteration logintoboggan rules content_profile views_bonus flag front vertical_tabs adminrole login_destination stringoverrides admin teleport panels util ; drush vset admin_theme rubik&#8217;</div>
]]></content:encoded>
			<wfw:commentRss>http://web.rhizom.nl/development/some-drush-commandos-for-setting-up-a-drupal-site-quickly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice drush theme commando’s</title>
		<link>http://web.rhizom.nl/development/nice-drush-theme-commandos/</link>
		<comments>http://web.rhizom.nl/development/nice-drush-theme-commandos/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 11:16:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development blog]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[drush]]></category>
		<category><![CDATA[snippets]]></category>

		<guid isPermaLink="false">http://web.rhizom.nl/?p=552</guid>
		<description><![CDATA[theme-enable        =&#62; pm-enable theme-disable       =&#62; pm-disable (it&#8217;s possible to just use: drush en/dis THEMENAME) theme-info          =&#62; pm-info theme-list          =&#62; pm-list &#8211;type=theme theme-list-enabled  =&#62; pm-list &#8211;type=theme &#8211;status=enabled theme-set-default   =&#62; vset theme_default theme-set-admin     =&#62; vset admin_theme theme-status        =&#62; status theme Have fun!]]></description>
			<content:encoded><![CDATA[<p>theme-enable        =&gt; pm-enable<br />
theme-disable       =&gt; pm-disable</p>
<p>(it&#8217;s possible to just use: drush en/dis THEMENAME)</p>
<p>theme-info          =&gt; pm-info<br />
theme-list          =&gt; pm-list &#8211;type=theme<br />
theme-list-enabled  =&gt; pm-list &#8211;type=theme &#8211;status=enabled<br />
theme-set-default   =&gt; vset theme_default<br />
theme-set-admin     =&gt; vset admin_theme<br />
theme-status        =&gt; status theme</p>
<p>Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://web.rhizom.nl/development/nice-drush-theme-commandos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Splitting nextgen gallery form the_content</title>
		<link>http://web.rhizom.nl/development/wordpress/splitting-nextgen-gallery-form-the_content/</link>
		<comments>http://web.rhizom.nl/development/wordpress/splitting-nextgen-gallery-form-the_content/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 12:21:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[development blog]]></category>
		<category><![CDATA[nextgen]]></category>
		<category><![CDATA[snippets]]></category>

		<guid isPermaLink="false">http://web.rhizom.nl/?p=547</guid>
		<description><![CDATA[Want to show the nextgen gallery somewhere else than the rest of the content? Add this to your functions.php // shows the content echo ngg_content_split(&#8220;content&#8221;); // shows the gallery echo ngg_content_split(&#8220;gallery&#8221;) function ngg_content_split($get=&#8221;content&#8221;){ //get the post content $content_data = get_the_content(); //extract shortcode from content preg_match(&#8220;/\[ngg([^}]*)\]/&#8221;, $content_data ,$matches); $results = $matches[1]; //if shortcode exists in content if (!empty($results) [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">
<div id="_mcePaste">Want to show the nextgen gallery somewhere else than the rest of the content?</div>
<div>Add this to your functions.php</div>
<div>// shows the content</div>
<div>echo ngg_content_split(&#8220;content&#8221;);</div>
<div>
<div>// shows the gallery</div>
</div>
<div>echo ngg_content_split(&#8220;gallery&#8221;)</div>
<div>
<div>function ngg_content_split($get=&#8221;content&#8221;){</div>
<div>//get the post content</div>
<div>$content_data = get_the_content();</div>
<div>//extract shortcode from content</div>
<div>preg_match(&#8220;/\[ngg([^}]*)\]/&#8221;, $content_data ,$matches);</div>
<div>$results = $matches[1];</div>
<div>//if shortcode exists in content</div>
<div>if (!empty($results) &amp;&amp; $get==&#8217;gallery&#8217;){</div>
<div>$gallery_id = preg_replace(&#8220;/[^0-9]/&#8221;, &#8221;, $matches[1]);</div>
<div>//make sure that NextGen is loaded</div>
<div>if (function_exists(nggShowGallery)){</div>
<div>//output gallery, showing only 4 images</div>
<div>return nggShowGallery( $gallery_id, null , 4 );</div>
<div>}</div>
<div>}elseif($get==&#8217;content&#8217;){</div>
<div>//extract gallery id from shortcode</div>
<div>$content = str_replace(&#8220;[ngg&#8221;.$results, &#8220;&#8221;, $content_data);</div>
<div>return ($content);</div>
<div>}else{</div>
<div>return &#8220;&#8221;;</div>
<div>}</div>
<div></div>
<div>}</div>
</div>
<div></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://web.rhizom.nl/development/wordpress/splitting-nextgen-gallery-form-the_content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ger Driessen – Beeldend Kunstenaar</title>
		<link>http://web.rhizom.nl/websites/ger-driessen-beeldend-kunstenaar/</link>
		<comments>http://web.rhizom.nl/websites/ger-driessen-beeldend-kunstenaar/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 09:24:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://web.rhizom.nl/?p=537</guid>
		<description><![CDATA[Ger Driessen probeert zoveel mogelijk nieuwe grafische technieken te ontwikkelen en te combineren. Graag werkt ze op stof, wat ze dan weer op zijde laat over zetten bij Audax in Tilburg voor kleding, Nepalees graspapier,en tentdoek.]]></description>
			<content:encoded><![CDATA[<p><a href="http://web.rhizom.nl/wp-content/uploads/2010/06/Screen-shot-2010-06-24-at-11.19.02-AM.jpg"><img class="size-medium wp-image-541 alignleft" title="Screen-shot-2010-06-24-at-11.19.02-AM" src="http://web.rhizom.nl/wp-content/uploads/2010/06/Screen-shot-2010-06-24-at-11.19.02-AM-300x202.jpg" alt="" width="300" height="202" /></a>Ger Driessen probeert zoveel mogelijk nieuwe grafische technieken te ontwikkelen en te combineren. Graag werkt ze op stof, wat ze dan weer op zijde laat over zetten bij Audax in Tilburg voor kleding, Nepalees graspapier,en tentdoek.</p>
]]></content:encoded>
			<wfw:commentRss>http://web.rhizom.nl/websites/ger-driessen-beeldend-kunstenaar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>update: Getting a working simplenews mail application</title>
		<link>http://web.rhizom.nl/development/getting-a-working-simplenews-mail-application/</link>
		<comments>http://web.rhizom.nl/development/getting-a-working-simplenews-mail-application/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 12:35:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development blog]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://web.rhizom.nl/?p=510</guid>
		<description><![CDATA[I&#8217;m busy building an standalone newsletter application using simplenews. So my attempt to create some kind of documentation for a working drupal based newsletter solution. Use Simplenews 2-dev (at this moment 31-3-2010) it&#8217;s really great! Keep up the good work! simplenews template 2-dev ( at this moment you have to apply a patch #640740: Fatal error with [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m busy building an standalone newsletter application using simplenews. So my attempt to create some kind of documentation for a working drupal based newsletter solution.</p>
<p>Use <strong>Simplenews 2-dev</strong> (at this moment 31-3-2010) it&#8217;s really great! Keep up the good work!<br />
<strong>simplenews template 2-dev</strong> ( at this moment you have to apply a patch <a title="Status: reviewed &amp; tested by the community" href="http://web.rhizom.nl/node/640740">#640740: Fatal error with Simplenews 6.x-2.x: undefined function simplenews_mail_tokens()</a> to use it with simplenews 2-dev  the new dev doesn&#8217;t need this patch anymore but this one<a href="http://drupal.org/node/641678#comment-3095286" target="_blank"> theme_simplenews_template_mail() function not being called.</a> )<br />
<strong>mimemail</strong>: i&#8217;m sorry to say but mime mail sucks. The issue queue is crowded and there are no recent releases. Attempts of people to become co maintainers aren&#8217;t accepted. Worse the latest release is only working on gmail accounts when sending a test mail or when you don&#8217;t send with phpmailer (highly recommended to send with phpmymailer). Get this version from CVS:cvs -d :pserver:anonymous@cvs.drupal.org:/cvs/drupal-contrib export -D2009-02-23 -R -d mimemail contributions/modules/mimemailand patch the security issue:</p>
<p><a title="http://drupalcode.org/viewvc/drupal/contributions/modules/mimemail/mimemail.inc?r1=1.40&amp;r2=1.41" rel="nofollow" href="http://drupalcode.org/viewvc/drupal/contributions/modules/mimemail/mimemail.inc?r1=1.40&amp;r2=1.41">http://drupalcode.org/viewvc/drupal/contributions/modules/mimemail/mimem&#8230;</a></p>
<p>otherwise gmail won&#8217;t display attached images. I highly recommend using phpmailer function to send the emails by a smtp server than using php mail();. If you send mails for another domain hotmail will push you into the junk box and your sender adress will be &#8220;bla@bla.com on behalf of blub@blub.com&#8221;</p>
<p>UPDATE: I haven&#8217;t tested it yet but these patches are looking great: <a href="http://web.rhizom.nl/node/743150">Mime Mail 6.x-1.0-beta1</a></p>
<p>UPDATE: I have tested it and the patches are great: <a href="http://web.rhizom.nl/node/743150">Mime Mail 6.x-1.0-beta1</a></p>
<p>Use the <strong>ckeditor</strong> module and the dev release of <strong>imce</strong> (looks a lot nicer than imce stable) and you will get wysiwyg power for the body and simplenews template. Again mimemail sucks: if you have spaces in your image filenames, the images won&#8217;t appear. Wysiwyg API doesn&#8217;t show up on simplenews_template</p>
]]></content:encoded>
			<wfw:commentRss>http://web.rhizom.nl/development/getting-a-working-simplenews-mail-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calling a view from code</title>
		<link>http://web.rhizom.nl/development/calling-a-view-from-code/</link>
		<comments>http://web.rhizom.nl/development/calling-a-view-from-code/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 14:53:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development blog]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://web.rhizom.nl/?p=533</guid>
		<description><![CDATA[$view=views_get_view(&#8220;VIEW_NAME&#8221;); //replace products with the name of the view created in step 1 $view-&#62;set_arguments(array($node-&#62;uid)); $view-&#62;build(&#8216;default&#8217;); //use &#8220;default&#8221; if you want to retrieve the default display of your view, if not, the name of the specific display $view-&#62;execute(); foreach($view-&#62;result as $result) { //$result //  Do something with $result here.  Each result is an object, so for [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">$view=views_get_view(&#8220;VIEW_NAME&#8221;); //replace products with the name of the view created in step 1</div>
<div id="_mcePaste">$view-&gt;set_arguments(array($node-&gt;uid));</div>
<div id="_mcePaste">$view-&gt;build(&#8216;default&#8217;); //use &#8220;default&#8221; if you want to retrieve the default display of your view, if not, the name of the specific display</div>
<div id="_mcePaste">$view-&gt;execute();</div>
<div id="_mcePaste"></div>
<div id="_mcePaste">foreach($view-&gt;result as $result) { //$result</div>
<div id="_mcePaste">//  Do something with $result here.  Each result is an object, so for example you can access the nid using $result-&gt;nid</div>
<div id="_mcePaste">if ($result-&gt;node_vid){</div>
<div id="_mcePaste">drupal_goto(&#8216;node/&#8217;.$result-&gt;node_vid);</div>
<div id="_mcePaste">}elseif($user-&gt;uid==$node-&gt;uid){</div>
<div id="_mcePaste">drupal_goto(&#8216;node/add/portfolio&#8217;);</div>
<div id="_mcePaste">}else{</div>
<div id="_mcePaste">//drupal_goto(&#8216;home&#8217;);</div>
<div id="_mcePaste">}</div>
<div id="_mcePaste">}</div>
]]></content:encoded>
			<wfw:commentRss>http://web.rhizom.nl/development/calling-a-view-from-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>get a CCK field by query</title>
		<link>http://web.rhizom.nl/development/get-a-cck-field-by-query/</link>
		<comments>http://web.rhizom.nl/development/get-a-cck-field-by-query/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 12:02:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development blog]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://web.rhizom.nl/?p=531</guid>
		<description><![CDATA[&#60;?php $field = content_fields(&#8216;field_date&#8217;); $db_info = content_database_info($field); $result = db_query(&#8220;SELECT COUNT(*) AS count FROM {node} n INNER JOIN {term_node} tn ON n.vid = tn.vid INNER JOIN {&#8220;. $db_info['table'] .&#8221;} ctd ON n.vid = ctd.vid WHERE tn.tid = 25 AND ctd.&#8221; . $db_info['columns']['value']['column'] . &#8221; &#62; NOW() AND n.changed &#62; %d&#8221;, $newtime); ?&#62; thanks to drewish]]></description>
			<content:encoded><![CDATA[<p>&lt;?php<br />
$field = content_fields(&#8216;field_date&#8217;);<br />
$db_info = content_database_info($field);<br />
$result = db_query(&#8220;SELECT COUNT(*) AS count FROM {node} n<br />
INNER JOIN {term_node} tn ON n.vid = tn.vid<br />
INNER JOIN {&#8220;. $db_info['table'] .&#8221;} ctd ON n.vid = ctd.vid<br />
WHERE tn.tid = 25 AND ctd.&#8221; . $db_info['columns']['value']['column'] . &#8221; &gt; NOW() AND n.changed &gt; %d&#8221;, $newtime);<br />
?&gt;</p>
<p>thanks to <a href="http://drewish.com/content/2010/06/correctly_accessing_cck_fields_in_sql_queries">drewish</a></p>
]]></content:encoded>
			<wfw:commentRss>http://web.rhizom.nl/development/get-a-cck-field-by-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>drupal variables in theme files</title>
		<link>http://web.rhizom.nl/development/drupal-variables-in-theme-files/</link>
		<comments>http://web.rhizom.nl/development/drupal-variables-in-theme-files/#comments</comments>
		<pubDate>Mon, 17 May 2010 08:32:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[development blog]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://web.rhizom.nl/?p=522</guid>
		<description><![CDATA[Theme variables available to all Drupal template files $zebra In the case of multiple renderings of a template in one request, this indicates if this is an odd or even invocation. The value is odd or even. Perfect for generating stuff like zebra tables etc. $id In the case of multiple renderings of a template in one request, [...]]]></description>
			<content:encoded><![CDATA[<h2>Theme variables available to all Drupal template files</h2>
<dt><code>$zebra</code></dt>
<dd>In the case of multiple renderings of a template in one request, this indicates if this is an odd or even invocation. The value is <code>odd</code> or <code>even</code>. Perfect for generating stuff like <a href="http://www.alistapart.com/articles/zebratables/">zebra tables</a> etc.</dd>
<dt><code>$id</code></dt>
<dd>In the case of multiple renderings of a template in one request, this indicates which rendering this is (1st, 2nd, &#8230;).</dd>
<dt><code>$directory</code></dt>
<dd>The path of the theme directory. Same as <code>path_to_theme</code>. Example:<code>sites/all/themes/my_theme</code></dd>
<dt><code>$is_admin</code></dt>
<dd>Indicates if the user has the <code>access administration pages</code> permission set (<code>user_access('access administration pages')</code>)</dd>
<dt><code>$is_front</code></dt>
<dd>Indicates if the current request is the front page (<code>drupal_is_front_page()</code>).</dd>
<dt><code>$logged_in</code></dt>
<dd>Indicates if the current user is logged in.</dd>
<dt><code>$user</code></dt>
<dd>Contains the user object of the current user.</dd>
<p>(Thanks to <a href="http://www.drupalcoder.com/story/744-theme-variables-available-to-all-drupal-template-files?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed:+drupalcoder+(Drupal+coder+-+A+blog+on+all+things+Drupal+in+specific+and+LAMP+on+OS+X+in+general.)">drupalcoder</a>)</p>
<p><strong>block.tpl.php</strong></p>
<p>Available variables:</p>
<ul>
<li>$block-&gt;subject: Block title.</li>
<li>$block-&gt;content: Block content.</li>
<li>$block-&gt;module: Module that generated the block.</li>
<li>$block-&gt;delta: This is a numeric id connected to each module.</li>
<li>$block-&gt;region: The block region embedding the current block.</li>
</ul>
<p>Helper variables:</p>
<ul>
<li>$block_zebra: Outputs &#8216;odd&#8217; and &#8216;even&#8217; dependent on each block region.</li>
<li>$zebra: Same output as $block_zebra but independent of any block region.</li>
<li>$block_id: Counter dependent on each block region.</li>
<li>$id: Same output as $block_id but independent of any block region.</li>
<li>$is_front: Flags true when presented in the front page.</li>
<li>$logged_in: Flags true when the current user is a logged-in member.</li>
<li>$is_admin: Flags true when the current user is an administrator.</li>
</ul>
<p>http://api.drupal.org/api/drupal/modules&#8211;system&#8211;block.tpl.php/6</p>
<h2>node.tpl.php</h2>
<p>Available variables:</p>
<ul>
<li>$title: the (sanitized) title of the node.</li>
<li>$content: Node body or teaser depending on $teaser flag.</li>
<li>$picture: The authors picture of the node output from <a title="Implemented using the user-picture.tpl.php template." href="http://web.rhizom.nl/api/function/theme_user_picture/6">theme_user_picture</a>().</li>
<li>$date: Formatted creation date (use $created to reformat with <a title="Format a date with the given configured format or a custom format string." href="http://web.rhizom.nl/api/function/format_date/6">format_date</a>()).</li>
<li>$links: Themed links like &#8220;Read more&#8221;, &#8220;Add new comment&#8221;, etc. output from <a title="Return a themed set of links." href="http://web.rhizom.nl/api/function/theme_links/6">theme_links</a>().</li>
<li>$name: Themed username of node author output from <a title="Format a username." href="http://web.rhizom.nl/api/function/theme_username/6">theme_username</a>().</li>
<li>$node_url: Direct url of the current node.</li>
<li>$terms: the themed list of taxonomy term links output from <a title="Return a themed set of links." href="http://web.rhizom.nl/api/function/theme_links/6">theme_links</a>().</li>
<li>$submitted: themed submission information output from <a title="Format the &amp;quot;Submitted by username on date/time&amp;quot; for each node" href="http://web.rhizom.nl/api/function/theme_node_submitted/6">theme_node_submitted</a>().</li>
</ul>
<p>Other variables:</p>
<ul>
<li>$node: Full node object. Contains data that may not be safe.</li>
<li>$type: Node type, i.e. story, page, blog, etc.</li>
<li>$comment_count: Number of comments attached to the node.</li>
<li>$uid: User ID of the node author.</li>
<li>$created: Time the node was published formatted in Unix timestamp.</li>
<li>$zebra: Outputs either &#8220;even&#8221; or &#8220;odd&#8221;. Useful for zebra striping in teaser listings.</li>
<li>$id: Position of the node. Increments each time it&#8217;s output.</li>
</ul>
<p>Node status variables:</p>
<ul>
<li>$teaser: Flag for the teaser state.</li>
<li>$page: Flag for the full page state.</li>
<li>$promote: Flag for front page promotion state.</li>
<li>$sticky: Flags for sticky post setting.</li>
<li>$status: Flag for published status.</li>
<li>$comment: State of comment settings for the node.</li>
<li>$readmore: Flags true if the teaser content of the node cannot hold the main body content.</li>
<li>$is_front: Flags true when presented in the front page.</li>
<li>$logged_in: Flags true when the current user is a logged-in member.</li>
<li>$is_admin: Flags true when the current user is an administrator.</li>
</ul>
<p>http://api.drupal.org/api/drupal/modules&#8211;node&#8211;node.tpl.php/6</p>
]]></content:encoded>
			<wfw:commentRss>http://web.rhizom.nl/development/drupal-variables-in-theme-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using mootools classes with jquery in dupal</title>
		<link>http://web.rhizom.nl/development/mootools/using-mootools-classes-with-jquery-in-dupal/</link>
		<comments>http://web.rhizom.nl/development/mootools/using-mootools-classes-with-jquery-in-dupal/#comments</comments>
		<pubDate>Wed, 12 May 2010 08:58:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mootools]]></category>
		<category><![CDATA[development blog]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://web.rhizom.nl/?p=518</guid>
		<description><![CDATA[I like the way you van organise your code with mootools and while working a lot with drupal recently i really liked the straight forward way of writing jquery code. What i dislike at jquery is the way to create plug-ins and at bigger projects the readability of jquery code gets worse. There is a [...]]]></description>
			<content:encoded><![CDATA[<p>I like the way you van organise your code with mootools and while working a lot with drupal recently i really liked the straight forward way of writing jquery code. What i dislike at jquery is the way to create plug-ins and at bigger projects the readability of jquery code gets worse. There is a great new project combining the best of two worlds:</p>
<p>&#8220;<a href="http://moo4q.com/" target="_blank">Moo4q</a> uses MooTools to fill in where jQuery leaves off. MooTools is modular and encourages users to only use the pieces they need. We only need a couple modules from MooTools, none of which contain any code relevant to working with Elements, Animation, or AJAX. Moo4q leaves that to jQuery. So there&#8217;s little, if any, functional duplication. All said and done, the MooTools code is only 8k gzipped&#8211;diddly squat.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://web.rhizom.nl/development/mootools/using-mootools-classes-with-jquery-in-dupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Groene Was</title>
		<link>http://web.rhizom.nl/websites/groene-was/</link>
		<comments>http://web.rhizom.nl/websites/groene-was/#comments</comments>
		<pubDate>Tue, 04 May 2010 12:51:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://web.rhizom.nl/?p=513</guid>
		<description><![CDATA[Groene Was is een initiatief van RHIZOM om mens- en milieuvriendelijk textiel te promoten. De missie van Groene Was is van duurzaam textieldrukwerk een standaard te maken. Dat doen wij door middel van samenwerking met leveranciers van biologisch textiel en het voortdurende verbeteren van het drukproces zodat kwaliteit en milieubewustzijn gecombineerd worden. De uiteindelijke visie [...]]]></description>
			<content:encoded><![CDATA[<div id="main">
<div id="content">
<div id="post-29">
<h2><span style="font-weight: normal; font-size: 13px;"><a href="http://www.groenewas.nl"><img class="size-medium wp-image-514 alignleft" title="Groenewas_1272978327630" src="http://web.rhizom.nl/wp-content/uploads/2010/05/Groenewas_1272978327630-268x300.png" alt="" width="268" height="300" /></a>Groene Was is een initiatief van <a href="http://www.rhizom.nl" target="_blank">RHIZOM</a> om mens- en milieuvriendelijk textiel te  promoten. </span></h2>
<p>De missie van Groene Was is van duurzaam textieldrukwerk een standaard  te maken. Dat doen wij door middel van samenwerking met leveranciers van  biologisch textiel en het voortdurende verbeteren van het drukproces  zodat kwaliteit en milieubewustzijn gecombineerd worden.<br />
De uiteindelijke visie van Groene Was is dat bedrijven op de lange  termijn zonder bedenkingen voor duurzaam promotietextiel kiezen, omdat  de toegevoegde waarde voor het bedrijf en milieu algemeen onderkend is.</p>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://web.rhizom.nl/websites/groene-was/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
