<?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>(apple)mac geek &#187; Drupal</title>
	<atom:link href="http://www.macgeek.co.za/category/drupal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.macgeek.co.za</link>
	<description>broadcasting mac geekery to the universe</description>
	<lastBuildDate>Mon, 13 Dec 2010 08:54:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Javascript in Drupal 7</title>
		<link>http://www.macgeek.co.za/2009/11/05/javascript-in-drupal-7/</link>
		<comments>http://www.macgeek.co.za/2009/11/05/javascript-in-drupal-7/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 11:55:22 +0000</pubDate>
		<dc:creator>Roger Saner</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.macgeek.co.za/?p=230</guid>
		<description><![CDATA[Kat Bailey has posted an excellent overview of the changes in javascript usage between Drupal 6 and 7. Particularly relevant is AHAH usage, which she sums up in Drupal 6 as follows: &#8220;AHAH forms make people want to jump out of the window of very tall buildings&#8221;!!! which is SOOOO true (I struggled for about [...]]]></description>
			<content:encoded><![CDATA[<p>Kat Bailey has posted an excellent overview of the changes in javascript usage between Drupal 6 and 7. Particularly relevant is AHAH usage, which she sums up in Drupal 6 as follows: &#8220;AHAH forms make people want to jump out of the window of very tall buildings&#8221;!!! which is SOOOO true (I struggled for about a month to get an AHAH for working earlier this year&#8230;then figured out that AHAH doesn&#8217;t play nicely with CCK).</p>
<p>Also new: merlinofchaos has implemented an AJAX framework, and jQuery UI is in core. Plus there is the ability to use other libraries too, not just jQuery. Drupal 7 is gonna rock!<br />
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNTc*MjE2MTI3MTgmcHQ9MTI1NzQyMTY*MDI5MyZwPTEwMTkxJmQ9c3NfZW1iZWQmZz*yJm89N2NiOWI4YTI3NjdiNDU5ZWExODA4MjM3Mzg1ZTVjYWMmb2Y9MA==.gif" />
<div style="width:425px;text-align:left" id="__ss_2349547"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/katbailey/javascript-in-drupal-7-what-developers-need-to-know" title="JavaScript in Drupal 7: What developers need to know">JavaScript in Drupal 7: What developers need to know</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=jsd7-091026095816-phpapp01&#038;stripped_title=javascript-in-drupal-7-what-developers-need-to-know" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=jsd7-091026095816-phpapp01&#038;stripped_title=javascript-in-drupal-7-what-developers-need-to-know" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/katbailey">katbailey</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.macgeek.co.za/2009/11/05/javascript-in-drupal-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snow Leopard, Drupal, Macports and php</title>
		<link>http://www.macgeek.co.za/2009/09/25/snow-leopard-drupal-macports-and-php/</link>
		<comments>http://www.macgeek.co.za/2009/09/25/snow-leopard-drupal-macports-and-php/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 16:36:52 +0000</pubDate>
		<dc:creator>Roger Saner</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Geekery]]></category>

		<guid isPermaLink="false">http://www.macgeek.co.za/?p=224</guid>
		<description><![CDATA[The short story is this: Snow Leopard has php 5.3.0 in, and although Drupal 6.14 now runs on that version, all previous drupal versions run on 5.2. [Solution? Manual compile - instructions below]
Mark Liyange&#8217;s php package has all of the nice stuff (like GD and mysql support) built into it, but it just doesn&#8217;t run [...]]]></description>
			<content:encoded><![CDATA[<p>The short story is this: Snow Leopard has php 5.3.0 in, and although Drupal 6.14 now runs on that version, all previous drupal versions run on 5.2. [Solution? Manual compile - instructions below]</p>
<p><span id="more-224"></span>Mark Liyange&#8217;s php package has all of the nice stuff (like GD and mysql support) built into it, but it just doesn&#8217;t run with apache on Snow Leopard (white screen).</p>
<p>There&#8217;s no simple way to install php 5.2 without compiling it from source. Macports has a php52 package, but<br />
<code>sudo port install php52</code> yeilded a nasty error:</p>
<blockquote><p>Undefined symbols:<br />
&#8220;_res_9_dn_expand&#8221;, referenced from:<br />
_zif_dns_get_mx in dns.o<br />
&#8220;_res_9_search&#8221;, referenced from:<br />
_zif_dns_get_mx in dns.o<br />
_zif_dns_check_record in dns.o<br />
&#8220;_res_9_dn_skipname&#8221;, referenced from:<br />
_zif_dns_get_mx in dns.o<br />
_zif_dns_get_mx in dns.o</p></blockquote>
<p>Solution? Compile it manually and then run <code>EXTRA_CFLAGS="-lresolv" make -j2</code></p>
<p>I did that, waited an hour, and it worked (hooray) except I had no mysql support. *sigh* I had to recompile with mysql, so&#8230;</p>
<h4>Steps to compile php 5.2 on Snow Leopard with mysql support</h4>
<p><b>Download</b> <a href="http://www.php.net/get/php-5.2.11.tar.bz2/from/a/mirror">php 5.2.11 source code</a> or do it via macports by <code>sudo port -v fetch php52</code></p>
<p><b>Uncompress</b> it, open terminal and go to the uncompressed folder (macports stores the download in <code>/opt/local/var/macports/distfiles/php5</code> (if you&#8217;ve already tried compiling with Macports, that&#8217;s where your download will be).</p>
<p><b>Configure</b> the build by typing:</p>
<p><code>./configure '--prefix=/opt/local' '--mandir=/opt/local/share/man' '--infodir=/opt/local/share/info' '--with-config-file-path=/opt/local/etc/php5' '--with-config-file-scan-dir=/opt/local/var/db/php5' '--enable-calendar' '--with-iconv=/opt/local' '--enable-exif' '--enable-ftp' '--enable-wddx' '--with-zlib=/opt/local' '--with-bz2=/opt/local' '--with-mysql=/usr/local/mysql' '--with-mysql-sock=/tmp/mysql.sock' '--with-sqlite' '--without-pdo-sqlite' '--with-libxml-dir=/opt/local' '--with-gettext=/opt/local' '--with-libexpat-dir=/opt/local' '--with-xmlrpc' '--enable-soap' '--enable-bcmath' '--enable-mbstring' '--enable-dba' '--enable-zip' '--with-openssl=/opt/local' '--with-mhash=/opt/local' '--with-mcrypt=/opt/local' '--with-mime-magic' '--with-xsl=/opt/local' '--with-curl=/opt/local' '--with-pcre-regex=/opt/local' '--with-gd' '--with-jpeg-dir=/opt/local' '--with-png-dir=/opt/local' '--enable-gd-native-ttf' '--without-pear' '--with-freetype-dir=/opt/local' '--with-ldap=/usr' '--with-kerberos=/usr' '--with-iodbc=/usr' '--with-apxs2=/usr/sbin/apxs'  '--with-mysqli=/usr/local/mysql/bin/mysql_config'</code></p>
<p>Notice the &#8211;with-mysql option, and the path to your mysql install (I used the binary from mysql.com so it&#8217;s in /usr/local/mysql &#8211; your folder will be different if you installed mysql with macports &#8211; same with &#8211;with-mysql-sock &#8211; mysql.com binary sticks it into /tmp/mysql.sock whereas macports puts it elsewhere &#8211; somewhere I can&#8217;t remember, but locate can help). </p>
<p>I also changed the &#8211;with-apxs2 option as it was pointing to my macports compile of apache2 which I&#8217;d decided not to use.</p>
<p>[You might wander, how did I get all of these options? After my first (successful) php 5.2 build (the one which didn't have mysql support), a phpinfo() shows the Configure Command used to configure from source. I copied that, and changed the relevant bits. And alas, found out too late I should've added mysqli support in, which is there now.]</p>
<p><b>Make</b> the binaries with <code>EXTRA_CFLAGS="-lresolv" make -j2</code><br />
Copy to the right locations with a <code>make install</code></p>
<p>If all goes well, your last step is to hook the php module into apache (php tries to do this itself, so just verify it worked). Open <code>/private/etc/apache2/httpd.conf</code> and search for &#8220;php&#8221;. That line should say:<br />
<code>LoadModule php5_module       /usr/libexec/apache2/libphp5.so</code></p>
<p>Now just restart apache and you&#8217;re all done! No more drupal white screens, and now you can actually access your database. Whohoo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.macgeek.co.za/2009/09/25/snow-leopard-drupal-macports-and-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Drupal meetup on Saturday in Cape Town</title>
		<link>http://www.macgeek.co.za/2009/04/29/drupal-meetup-on-saturday-in-cape-town/</link>
		<comments>http://www.macgeek.co.za/2009/04/29/drupal-meetup-on-saturday-in-cape-town/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 09:55:51 +0000</pubDate>
		<dc:creator>Roger Saner</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[South Africa]]></category>

		<guid isPermaLink="false">http://www.macgeek.co.za/2009/04/29/drupal-meetup-on-saturday-in-cape-town/</guid>
		<description><![CDATA[After chatting with Max_headroom on irc I decided to organise a drupal meetup in Cape Town. Adrian Rossouw will be demoing Aegir (a hosting system for drupal) &#8211; and many Capetonian drupallers &#8211; and those who&#8217;ve only recently heard about drupal &#8211; will be there. We are meeting at 1pm this Saturday (May 2nd) at [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://cvs.drupal.org/viewvc.py/drupal/contributions/docs/marketing/logo/druplicon.small.png?view=co" align="right" />After chatting with Max_headroom on irc I decided to organise a <a href="http://drupal.org">drupal</a> meetup in Cape Town. <a href="http://raincitystudios.com/about/team/adrian-rossouw">Adrian Rossouw</a> will be demoing <a href="http://groups.drupal.org/aegir">Aegir</a> (a hosting system for drupal) &#8211; and many Capetonian drupallers &#8211; and those who&#8217;ve only recently heard about drupal &#8211; will be there. We are meeting at 1pm this Saturday (May 2nd) at Wembley Square (<a href="http://www.wembleysquare.co.za/contact.php">map</a>) and you can sign up here: <a href="http://groups.drupal.org/node/21581">http://groups.drupal.org/node/21581</a></p>
<p>See you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.macgeek.co.za/2009/04/29/drupal-meetup-on-saturday-in-cape-town/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using quickfile.module to sell music</title>
		<link>http://www.macgeek.co.za/2008/05/01/using-quickfilemodule-to-sell-music/</link>
		<comments>http://www.macgeek.co.za/2008/05/01/using-quickfilemodule-to-sell-music/#comments</comments>
		<pubDate>Thu, 01 May 2008 19:27:16 +0000</pubDate>
		<dc:creator>Roger Saner</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.macgeek.co.za/2008/05/01/using-quickfilemodule-to-sell-music/</guid>
		<description><![CDATA[
quickfile is a module which allows the selling of files quickly and simply. The first time I went through the process I wasn&#8217;t emailed my confirmation link, so putting in the correct PayPal settings into the config worked:


   1. Login to your paypal account.
   2. Click on Profile
   3. [...]]]></description>
			<content:encoded><![CDATA[<p>
<a href="http://drupal.org/project/quickfile">quickfile</a> is a module which allows the selling of files quickly and simply. The first time I went through the process I wasn&#8217;t emailed my confirmation link, so putting in <a href="http://drupal.org/node/103623">the correct PayPal settings into the config worked</a>:
</p>
<p>
   1. Login to your paypal account.<br />
<br />   2. Click on <strong>Profile</strong><br />
<br />   3. Click on <strong>Website Payment Preferences</strong><br />
<br />   4. Under <strong>Auto Return for Website Payments</strong> switch on auto-return and make sure your IPN Url matches what the quickfile module indicates under ADMIN -&gt; QUICKFILES -&gt; PAYPAL<br />
<br />   5. Under <strong>Payment Data Transfer (optional)</strong> select <strong>ON</strong><br />
<br />   6. Save those changes. When the confirmation screen appears you shuold see a very long list of letters and numbers. That&#8217;s your PDT token that you need to put into the quickfile module settings page</p>
]]></content:encoded>
			<wfw:commentRss>http://www.macgeek.co.za/2008/05/01/using-quickfilemodule-to-sell-music/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Review of open source content managers</title>
		<link>http://www.macgeek.co.za/2008/04/03/review-of-open-source-content-managers/</link>
		<comments>http://www.macgeek.co.za/2008/04/03/review-of-open-source-content-managers/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 20:37:58 +0000</pubDate>
		<dc:creator>Roger Saner</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Geekery]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.macgeek.co.za/2008/04/03/review-of-open-source-content-managers/</guid>
		<description><![CDATA[More and more people are taking open source content managers and building sites with them. The usual suspects are Wordpress, Joomla and Drupal. Here is an article from the April Adobe newsletter that gives a basic overview of these three (as well as XOOPS and CMS Made Simple) and provides a recommendation for the most [...]]]></description>
			<content:encoded><![CDATA[<p>More and more people are taking open source content managers and building sites with them. The usual suspects are <a href="http://wordpress.org/">Wordpress</a>, <a href="http://www.joomla.org/">Joomla</a> and <a href="http://www.drupal.org/">Drupal</a>. Here is an <a href="http://www.adobe.com/newsletters/edge/april2008/articles/article4/index.html?trackingid=CAFWA">article from the April Adobe newsletter</a> that gives a basic overview of these three (as well as <a href="http://www.xoops.org/">XOOPS</a> and <a href="http://www.cmsmadesimple.org/">CMS Made Simple</a>) and provides a recommendation for the most flexible, scalable system which also has an &#8220;enthusiastic user community&#8221; &#8211; I leave it to you to read the article and discover which one wins <img src='http://www.macgeek.co.za/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/CMS Made Simple" rel="tag">CMS Made Simple</a>, <a href="http://www.technorati.com/tag/Drupal" rel="tag">Drupal</a>, <a href="http://www.technorati.com/tag/Joomla" rel="tag">Joomla</a>, <a href="http://www.technorati.com/tag/open source" rel="tag">open source</a>, <a href="http://www.technorati.com/tag/Wordpress" rel="tag">Wordpress</a>, <a href="http://www.technorati.com/tag/XOOPS" rel="tag">XOOPS</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.macgeek.co.za/2008/04/03/review-of-open-source-content-managers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Securing Drupal&#8217;s future</title>
		<link>http://www.macgeek.co.za/2007/12/04/securing-drupals-future/</link>
		<comments>http://www.macgeek.co.za/2007/12/04/securing-drupals-future/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 12:35:20 +0000</pubDate>
		<dc:creator>Roger Saner</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.macgeek.co.za/2007/12/04/securing-drupals-future/</guid>
		<description><![CDATA[As you know, I&#8217;m a freelance web developer, which means I make websites do cool things (making them look cool is a designer&#8217;s job) and to do that, I use the &#8220;linux of the internet&#8221;, a little piece of software magic called Drupal. Drupal is open source, meaning anyone can poke under the hood and [...]]]></description>
			<content:encoded><![CDATA[<p>As you know, I&#8217;m a freelance web developer, which means I make websites do cool things (making them <i>look</i> cool is a <u>designer&#8217;s</u> job) and to do that, I use the &#8220;linux of the internet&#8221;, a little piece of software magic called <a href="http://www.drupal.org">Drupal</a>. Drupal is open source, meaning anyone can poke under the hood and change things, and it has a robust user community around it, constantly improving it.</p>
<p><img src="http://acquia.com/sites/all/themes/acquia/images/logo.png" align="right" style="padding-left: 10px">The big news of the last few days is that Dries Buytaert, Drupal&#8217;s founder, has co-founded <a href="http://acquia.com/">Acquia</a>, a startup company which will give the financial muscle necessary to keep Drupal at the forefront of the web (especially in implementing open API&#8217;s which would allow Drupal to integrate with Facebook, <a href="http://code.google.com/apis/opensocial/">OpenSocial</a>, 2nd Life and others, allowing for some cool mashups). Acquia won&#8217;t annex Drupal or fork the code or make it closed-source. It&#8217;s intention is to be as what Ubuntu or Red Hat are to Linux. I think this is a great move, especially since Dries (who will retain the Drupal trademark while the Drupal Association continues to operate drupal.org) <a href="http://acquia.com/node/8">writes</a>:</p>
<blockquote><p>Furthermore, I&#8217;m expressly permitted to make decisions within the Drupal project that may not always be in Acquia&#8217;s best commercial interest.</p></blockquote>
<p>Overall, this is a Good Thing for Drupal.<br />
<!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://www.technorati.com/tag/Drupal" rel="tag">Drupal</a>, <a href="http://www.technorati.com/tag/Acquia" rel="tag">Acquia</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.macgeek.co.za/2007/12/04/securing-drupals-future/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

