<?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/"
	>

<channel>
	<title>Sourcefusion</title>
	<atom:link href="http://sourcefusion.nl/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://sourcefusion.nl/blog</link>
	<description>Fusing information into websites and webapplications</description>
	<pubDate>Wed, 02 Sep 2009 20:21:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The first steps in OG land</title>
		<link>http://sourcefusion.nl/blog/2009/09/the-first-steps-in-og-land/</link>
		<comments>http://sourcefusion.nl/blog/2009/09/the-first-steps-in-og-land/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 20:21:53 +0000</pubDate>
		<dc:creator>helma</dc:creator>
		
		<category><![CDATA[drupal]]></category>

		<category><![CDATA[en]]></category>

		<guid isPermaLink="false">http://sourcefusion.nl/blog/?p=55</guid>
		<description><![CDATA[All the recommendations for Organic Groups (OG) made me curious. Can I use them for my purposes and safely hand over part of the responsabilities of managing restricted content?

I downloaded and installed the module. Although I&#8217;ve read some documentation, it all assumed you were already familiar with OG, so I was a bit surprised when [...]]]></description>
			<content:encoded><![CDATA[<p>All the recommendations for Organic Groups (OG) made me curious. Can I use them for my purposes and safely hand over part of the responsabilities of managing restricted content?</p>
<p><span id="more-55"></span></p>
<p>I downloaded and installed the module. Although I&#8217;ve read some documentation, it all assumed you were already familiar with OG, so I was a bit surprised when the first thing I had to do was to select which content types were OG-aware. Ok, fair enough. I don&#8217;t want separate content types for restricted and non-restricted information. In my mind, restriction is an attribute of a node, not a separate type. However, the second setting was to select a content type as group node. Why? I don&#8217;t necessarily need a separate home page for a group and it sounded like an either-or choice. Ok, so I created a &#8216;default&#8217; custom content type &#8216;Group Node&#8217; and selected that one.</p>
<p>The rest of the settings sounded logical and straight forward. Then, I wanted to add users. To my astonishment I couldn&#8217;t find where to add a user to a group. Finally, after some searching on the Drupal website I came across the answer (sorry, forgot to notice the post): make the Group Details block visible and select the link with the number of members. Second surprise: it&#8217;s impossible to add existing users if you don&#8217;t know their exact usernames. <img src='http://sourcefusion.nl/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> After scrolling through the endless number of OG add-on modules, I gave up. There were only 20 to 30 users that would apply, so I simply opened a MySQL browser, generated the query (select name from users join users_roles where users.uid = users_roles.uid and users_roles.rid=&lt;number of the role I wanted&gt;) and copy pasted the list of names into the Add member textarea. Adding some commas and I was up and running.</p>
<p>On to the group page and in for another surprise: as admin (user 1) , I was unable to find the group page of the closed group. Yes, I took the book&#8217;s advice and created a separate user and assigned group ownership to that user, but I assumed that user 1 would be added automatically. Not! Ok, so admin was added as group administrator.</p>
<p>More surprises: I added both the Dutch and the English version of the (currently only) restricted page to the restricted group. The group &#8216;home page&#8217; was set to be language neutral, but each version of the page has been set to the respective language. Yet, both versions showed up on the home page. <img src='http://sourcefusion.nl/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> So I need another add-on to get to where I was before.</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcefusion.nl/blog/2009/09/the-first-steps-in-og-land/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pros and cons of the current configuration</title>
		<link>http://sourcefusion.nl/blog/2009/09/pros-and-cons-of-the-current-configuration/</link>
		<comments>http://sourcefusion.nl/blog/2009/09/pros-and-cons-of-the-current-configuration/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 17:54:41 +0000</pubDate>
		<dc:creator>helma</dc:creator>
		
		<category><![CDATA[drupal]]></category>

		<category><![CDATA[en]]></category>

		<guid isPermaLink="false">http://sourcefusion.nl/blog/?p=52</guid>
		<description><![CDATA[The current configuration includes many modules, a.o. I18n, Content Access, Views and CCK. With these I&#8217;m able to define roles, grant restricted access to nodes based on roles and keep the site bi-lingual (Dutch and English, with the largest part of the content in Dutch). This works fairly well.
On the other hand, assignment has to [...]]]></description>
			<content:encoded><![CDATA[<p>The current configuration includes many modules, a.o. I18n, Content Access, Views and CCK. With these I&#8217;m able to define roles, grant restricted access to nodes based on roles and keep the site bi-lingual (Dutch and English, with the largest part of the content in Dutch). This works fairly well.</p>
<p>On the other hand, assignment has to be done by hand. I haven&#8217;t figured out yet how to grant permission to another user to just restrict content to one particular role and I guess I need to build a custom View to see which nodes are restricted, i.e. build my own administrative views. As said before, it&#8217;s easy to make a mistake and grant the wrong role to a user. I also haven&#8217;t looked into the Drupal forum to see if role-based restrictions are possible. Just had a quick look: the Forum Access module and Content Access are recommended for restricted forums (the first one also allows the setup of moderators).</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcefusion.nl/blog/2009/09/pros-and-cons-of-the-current-configuration/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drupal site requirements</title>
		<link>http://sourcefusion.nl/blog/2009/09/drupal-site-requirements/</link>
		<comments>http://sourcefusion.nl/blog/2009/09/drupal-site-requirements/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 17:11:28 +0000</pubDate>
		<dc:creator>helma</dc:creator>
		
		<category><![CDATA[drupal]]></category>

		<category><![CDATA[en]]></category>

		<guid isPermaLink="false">http://sourcefusion.nl/blog/?p=49</guid>
		<description><![CDATA[Although I subscribe to the ideas in the book (see my previous post) that you need to write user stories and follow an architectural approach, my main goal here is to see whether Organic Groups provide features I need in the next version of my website.

The site evolved from a relatively static site, where all [...]]]></description>
			<content:encoded><![CDATA[<p>Although I subscribe to the ideas in the book (see my <a href="/blog/2009/09/drupal-website-overhaul">previous post</a>) that you need to write user stories and follow an architectural approach, my main goal here is to see whether Organic Groups provide features I need in the next version of my website.</p>
<p><span id="more-49"></span></p>
<p>The site evolved from a relatively static site, where all pages were hand-crafted to a simple Drupal site last year. The main reasons for switching were a hard disk crash in our server and a growing need to simplify the way content was added to the site. In the current version, I&#8217;m assisted by a web editor, who is able to convert much of the incoming information to relevant content types. So the initial goal was reached.</p>
<p>During this year, the need for private pages came up. This was a long standing request, that I couldn&#8217;t solve easily with the previous version of the site, but with the help of the Content Access module was fairly simple to set up in Drupal. Right now, users need to subscribe to see the private pages, and a registration request is manually verified by me before granting it. After all only members of the Society are allowed to register.<br />
This is a tedious task and prone to errors as I discovered yesterday: more than 6 months ago I accidentally granted a user the Administrator role, fortunately without much problems. Also, since I need to do this manually, it might take a while before I find some time to doing it.</p>
<p>So the next version will need to have the following functionality:</p>
<ul>
<li>Automatically verify if the user registration request comes from a legitimate Society member. I already have some additional fields in place <strong>and</strong> I have an Excel sheet with relevant information on current members. So I need to either find a module or build one myself that is capable of matching a request to the Excel information and automatically accept the user when his credentials are found. After that he or she needs to be automatically granted the &#8216;members&#8217; role.</li>
<li>There will be several user groups on the site. All users will be &#8216;members&#8217;, but some will have additional roles, varying from &#8216;teachers&#8217; to &#8216;moderators&#8217; (of a forum or other website parts) to &#8216;web editors&#8217; (who can add different kinds of content). At first, being careful, I&#8217;d like to be the only one to grant the additional roles, but when things get out of hand, I might want to delegate some of the responsibility.</li>
<li>There is restricted access for parts of the site. For starters, there will be a &#8216;members-only&#8217; section with Pages and Stories. In the future, this might be extended to include a forum.</li>
<li>There is a long standing request from the teachers group for a restricted forum. Since the number of teachers is small, it&#8217;s ok to manually assign a &#8216;teacher&#8217; role to the relevant users. However, I need a complete list of teachers for this.</li>
</ul>
<p>This is it for now. I&#8217;ll add more requirements if they show up in the course of this write-up.</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcefusion.nl/blog/2009/09/drupal-site-requirements/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drupal website overhaul</title>
		<link>http://sourcefusion.nl/blog/2009/09/drupal-website-overhaul/</link>
		<comments>http://sourcefusion.nl/blog/2009/09/drupal-website-overhaul/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 11:20:26 +0000</pubDate>
		<dc:creator>helma</dc:creator>
		
		<category><![CDATA[drupal]]></category>

		<category><![CDATA[en]]></category>

		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://sourcefusion.nl/blog/?p=43</guid>
		<description><![CDATA[Summer holidays is an excellent time to do some major work on my  pet project. Sitting in the shade with cool drinks at hand I started to read a book on Drupal I came across some time ago. This book, Leveraging Drupal: Getting your site done right, turned out to be amazing. It not [...]]]></description>
			<content:encoded><![CDATA[<p>Summer holidays is an excellent time to do some major work on my  <a href="http://www.origami-osn.nl">pet project</a>. Sitting in the shade with cool drinks at hand I started to read a book on Drupal I came across some time ago. This book, <a href="http://www.amazon.com/Leveraging-Drupal-Getting-Your-Right/dp/0470410876/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1233255604&amp;sr=1-1">Leveraging Drupal: Getting your site done right</a>, turned out to be amazing. It not only explained best practices on how to configure your Drupal site, but, more importantly, how to setup a development environment. Been there, done that and already suffered from bad decisions such as not putting everything in SVN. It&#8217;s not feasible right now to do it &#8216;right&#8217; with a flaky wireless internet connection, but I&#8217;ll definitely look into it as soon as I get home.</p>
<p>That didn&#8217;t stop me from working on a new theme, which is almost done by now. So with a few days to spare, I decided to look into some other issues, such as the best way to provide private content on the website.<br />
<span id="more-43"></span></p>
<p>The book talked about Organic Groups, which I&#8217;ve come across before, so I decided that this was the right time to look into it. After all, I do want to create more social networking functionality on the website <strong>and</strong> be able to hand off some of the content management work to others. I&#8217;ll write up my experiences in subsequent posts. They won&#8217;t be literary pieces of prose, merely my sentiments as I try to achieve my goals.</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcefusion.nl/blog/2009/09/drupal-website-overhaul/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Update to Wordpress 2.7</title>
		<link>http://sourcefusion.nl/blog/2008/12/update-to-wordpress-27/</link>
		<comments>http://sourcefusion.nl/blog/2008/12/update-to-wordpress-27/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 23:31:14 +0000</pubDate>
		<dc:creator>helma</dc:creator>
		
		<category><![CDATA[en]]></category>

		<guid isPermaLink="false">http://sourcefusion.nl/blog/?p=37</guid>
		<description><![CDATA[The update to Wordpress 2.7 goes as painless as described in the docs. However, after importing and editing posts, I always end up with an 500 internal server error. Haven&#8217;t found the cause yet. Happens with both a manual upgrade and a clean install from an Installtron script in Plesk. Strange thing is it happens [...]]]></description>
			<content:encoded><![CDATA[<p>The update to Wordpress 2.7 goes as painless as described in the docs. However, after importing and editing posts, I always end up with an 500 internal server error. Haven&#8217;t found the cause yet. Happens with both a manual upgrade and a clean install from an Installtron script in Plesk. Strange thing is it happens only with the imported posts, not with the newly created ones.</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcefusion.nl/blog/2008/12/update-to-wordpress-27/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Access denied, yet again</title>
		<link>http://sourcefusion.nl/blog/2008/11/access-denied-yet-again/</link>
		<comments>http://sourcefusion.nl/blog/2008/11/access-denied-yet-again/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 11:43:22 +0000</pubDate>
		<dc:creator>helma</dc:creator>
		
		<category><![CDATA[drupal]]></category>

		<category><![CDATA[en]]></category>

		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://www.sourcefusion.nl/blog/?p=34</guid>
		<description><![CDATA[In an attempt to update Drupal to it&#8217;s latest version (6.5) I decided to test it on my local setup. Lo and behold, I got an &#8216;Access denied&#8217;. After testing out several possible causes, I googled around.
The answer: a few days ago I setup an SMB share on my home folder, with access for only [...]]]></description>
			<content:encoded><![CDATA[<p>In an attempt to update Drupal to it&#8217;s latest version (6.5) I decided to test it on my local setup. Lo and behold, I got an &#8216;Access denied&#8217;. After testing out several possible causes, I googled around.</p>
<p>The answer: a few days ago I setup an SMB share on my home folder, with access for only my user account, no access for &#8216;everyone&#8217;. That resulted in a permissions change on my home folder, even after removing the SMB share.</p>
<p>The solution: <code>sudo chmod o+rx [home folder]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://sourcefusion.nl/blog/2008/11/access-denied-yet-again/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drupal shows blank pages, sometimes</title>
		<link>http://sourcefusion.nl/blog/2008/09/drupal-shows-blank-pages-sometimes/</link>
		<comments>http://sourcefusion.nl/blog/2008/09/drupal-shows-blank-pages-sometimes/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 17:42:36 +0000</pubDate>
		<dc:creator>helma</dc:creator>
		
		<category><![CDATA[drupal]]></category>

		<category><![CDATA[en]]></category>

		<guid isPermaLink="false">http://www.sourcefusion.nl/blog/?p=33</guid>
		<description><![CDATA[Something I never experienced on my local setup suddenly happened on the production site: random white pages. Consistent in that it was always the same pages (e.g. admin/build/modules), but random because most content pages would show up fine and many admin pages as well.
Digging aroung showed an error in the Apache log:
Fatal error: Allowed memory [...]]]></description>
			<content:encoded><![CDATA[<p>Something I never experienced on my local setup suddenly happened on the production site: random white pages. Consistent in that it was always the same pages (e.g. admin/build/modules), but random because most content pages would show up fine and many admin pages as well.</p>
<p>Digging aroung showed an error in the Apache log:<br />
<code>Fatal error: Allowed memory size of X bytes exhausted</code></p>
<p>I found the answer here: <a href="http://drupal.org/node/76156">http://drupal.org/node/76156</a>. I added an appropriate ini_set line to settings.php and suddenly my admin/build/modules page showed up.</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcefusion.nl/blog/2008/09/drupal-shows-blank-pages-sometimes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gallery2 woes</title>
		<link>http://sourcefusion.nl/blog/2008/09/gallery2-woes/</link>
		<comments>http://sourcefusion.nl/blog/2008/09/gallery2-woes/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 07:42:51 +0000</pubDate>
		<dc:creator>helma</dc:creator>
		
		<category><![CDATA[drupal]]></category>

		<category><![CDATA[en]]></category>

		<guid isPermaLink="false">http://www.sourcefusion.nl/blog/?p=32</guid>
		<description><![CDATA[Finally I thought it was time to move my Gallery2 configuration + albums to the production site. This time making sure that I took the necessary precautions.
Yes, it was uploaded without errors and yes, I could switch off maintenance mode and yes, I could see my pictures and enter the site admin mode etc. However, [...]]]></description>
			<content:encoded><![CDATA[<p>Finally I thought it was time to move my Gallery2 configuration + albums to the production site. This time making sure that I took the necessary precautions.</p>
<p>Yes, it was uploaded without errors and yes, I could switch off maintenance mode and yes, I could see my pictures and enter the site admin mode etc. <span id="more-32"></span>However, there was one album that didn&#8217;t show its thumbnail. Rebuilding the thumbnails produced a hang half way through. Editing the album wasn&#8217;t possible, it produced just a blank page. Editing the other albums worked fine. I could even see the contents of the faulty album if I just selected it from the list of albums shown in the sidebar when viewing another album.</p>
<p>After several hours I found the culprit: the original image I used for the custom thumbnail was 1Mb, 2000+ x 1500+ pixels that had to be resized to 150&#215;150. I didn&#8217;t notice because it was done smoothly on my laptop. After resizing the &#8216;original&#8217; thumbnail to 200&#215;150 and uploading it to the corresponding directory (g2data/plugins_data/modules/thumbnail/&lt;nr&gt;/ the thumbnail rebuild continued until the end. The thumbnail was restored and the album was totally functional again.</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcefusion.nl/blog/2008/09/gallery2-woes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Drupal module subtleties</title>
		<link>http://sourcefusion.nl/blog/2008/09/drupal-module-subtleties/</link>
		<comments>http://sourcefusion.nl/blog/2008/09/drupal-module-subtleties/#comments</comments>
		<pubDate>Thu, 04 Sep 2008 22:06:25 +0000</pubDate>
		<dc:creator>helma</dc:creator>
		
		<category><![CDATA[drupal]]></category>

		<category><![CDATA[en]]></category>

		<guid isPermaLink="false">http://www.sourcefusion.nl/blog/?p=31</guid>
		<description><![CDATA[Drupal is growing on me: I like it more and more and I&#8217;m capable of doing much more with Drupal after a few months than I could with Joomla after the same amount of studying.
However, today I spend more than an hour figuring out why I couldn&#8217;t get the CAPTCHA module to produce an image [...]]]></description>
			<content:encoded><![CDATA[<p>Drupal is growing on me: I like it more and more and I&#8217;m capable of doing much more with Drupal after a few months than I could with Joomla after the same amount of studying.</p>
<p>However, today I spend more than an hour figuring out why I couldn&#8217;t get the CAPTCHA module to produce an image on a Webform form.</p>
<p>Finally, after googling around I found the answer: I <strong>can&#8217;t</strong> set it in the <strong>edit</strong> mode of the form, only in the <strong>VIEW</strong> mode. So much for subtleness.</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcefusion.nl/blog/2008/09/drupal-module-subtleties/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MySQL vs PHP login weirdness</title>
		<link>http://sourcefusion.nl/blog/2008/08/mysql-vs-php-login-weirdness/</link>
		<comments>http://sourcefusion.nl/blog/2008/08/mysql-vs-php-login-weirdness/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 15:52:15 +0000</pubDate>
		<dc:creator>helma</dc:creator>
		
		<category><![CDATA[drupal]]></category>

		<category><![CDATA[en]]></category>

		<guid isPermaLink="false">http://www.sourcefusion.nl/blog/?p=30</guid>
		<description><![CDATA[During the reinstallation of Gallery2 I also wanted to set the database username to the same name as the production site to have as few differences as possible. I ran into a problem I had before when installing Drupal: the only connection allowed was using user &#8216;root&#8217;. Whenever I used a user with a password [...]]]></description>
			<content:encoded><![CDATA[<p>During the reinstallation of Gallery2 I also wanted to set the database username to the same name as the production site to have as few differences as possible. I ran into a problem I had before when installing Drupal: the only connection allowed was using user &#8216;root&#8217;. Whenever I used a user with a password who had only privileges on a single database I got an &#8216;access denied&#8217; error. However, on the production site the installation with a username and password went well and using the username and password and logging in in a terminal using the mysql commandline also worked well.</p>
<p>No idea what&#8217;s wrong locally.</p>
<p>I guess I need to settle for manual change when moving from local to production and vice versa.</p>
]]></content:encoded>
			<wfw:commentRss>http://sourcefusion.nl/blog/2008/08/mysql-vs-php-login-weirdness/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
