<?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>IT Know-It-All &#187; civicspace</title>
	<atom:link href="http://itkia.com/tag/civicspace/feed/" rel="self" type="application/rss+xml" />
	<link>http://itkia.com</link>
	<description>Applications, OS, Networking, Data</description>
	<lastBuildDate>Mon, 12 Apr 2010 19:56:35 +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>Shared and Concurrent Drupal Sites with Symlinking</title>
		<link>http://itkia.com/shared-and-concurrent-drupal-sites-with-symlinking/</link>
		<comments>http://itkia.com/shared-and-concurrent-drupal-sites-with-symlinking/#comments</comments>
		<pubDate>Sat, 22 Apr 2006 19:45:08 +0000</pubDate>
		<dc:creator>IT Know-It-All</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[civicspace]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://itkia.com/?p=44</guid>
		<description><![CDATA[One shared Drupal, several sites with private data.]]></description>
			<content:encoded><![CDATA[<div>
<p>I&#8217;m currently running Drupal 4.6.6, Drupal 4.7 RC3 and CivicSpace 0.8.3 . I preferred to have one set of source files, but I wanted each site (Apache vhost) to have its own root folder.</p>
<p>So, with some symlink magic, here&#8217;s what I do. Each version of Drupal has its own directory under my servers web root. I have the following directories and symlinks:</p>
<ul>
<li>drupal-4.6.6</li>
<li>drupal-4.7.0-rc3</li>
<li>civicspace-0.8.3</li>
</ul>
<ul>
<li>drupal-4.6 -&gt; drupal-4.6.6</li>
<li>drupal-4.7 -&gt; drupal-4.7.0-rc3</li>
<li>civicspace -&gt; civicspace-0.8.3</li>
</ul>
<p>Each vhost has its own DocumentRoot with the following symlinks, substituting drupal-4.6 or civicspace for drupal-4.7 as appropriate:</p>
<ul>
<li>cron.php -&gt; ../drupal-4.7/cron.php</li>
<li>database -&gt; ../drupal-4.7/database</li>
<li>includes -&gt; ../drupal-4.7/includes</li>
<li>index.php -&gt; ../drupal-4.7/index.php</li>
<li>misc -&gt; ../drupal-4.7/misc</li>
<li>modules -&gt; ../drupal-4.7/modules</li>
<li>scripts -&gt; ../drupal-4.7/scripts</li>
<li>sites -&gt; ../drupal-4.7/sites</li>
<li>themes -&gt; ../drupal-4.7/themes</li>
<li>update.php -&gt; ../drupal-4.7/update.php</li>
<li>xmlrpc.php -&gt; ../drupal-4.7/xmlrpc.php</li>
</ul>
<p>Each vhost gets its own files/ directory, robots.txt, .htaccess and favicon.ico files.</p>
<p>Now, when the next version (e.g. 4.7.1) is released I can unpack the files, copy the sites folder from the previous version, and then update the version symlink (drupal-4.7 -&gt; drupal-4.7.1) and run the update.php script.</p>
<p>If I want to change a particular site from Drupal 4.6 or CivicSpace 0.8.3 to Drupal 4.7 I update the symlinks in the DocumentRoot to point to the 4.7 series, copy the appropriate site config file over and run the update.php script.</p>
<p>This is working well so far, but in my recent &#8220;Memory Hogging&#8221; blog I mention that having too many modules installed (even if not activated) make the admin/modules screen take up tons of RAM. My sites have different modules needs, so I think I&#8217;m going to give each vhost its own modules directory and then symlink the modules under that. This way I&#8217;ll have only one module version per drupal version in my filesystem and be able to remove modules I know don&#8217;t need from individual sites.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://itkia.com/shared-and-concurrent-drupal-sites-with-symlinking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CivicSpace 0.8.3 Oddities</title>
		<link>http://itkia.com/civicspace-0-8-3-oddities/</link>
		<comments>http://itkia.com/civicspace-0-8-3-oddities/#comments</comments>
		<pubDate>Thu, 20 Apr 2006 16:03:58 +0000</pubDate>
		<dc:creator>IT Know-It-All</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[civicspace]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://itkia.com/?p=38</guid>
		<description><![CDATA[Some problems I had with CivicSpace which is Drupal+modules repackaged.]]></description>
			<content:encoded><![CDATA[<div>
<p>Although a relative newbie, I have some observations on CivicSpace 0.8.3 as compared to a base Drupal install:</p>
<ul>
<li>The &#8220;plain text&#8221; input filter allows unfiltered html!</li>
<li>The bug list isn&#8217;t closely monitored. I submitted the unfiltered html issue to CivicSpace as a bug, and 4 1/2 days later it is still unassigned and has no replies.</li>
</ul>
<ul>
<li>The zadministration panel has a cute front page but mucks up the administration navigation menu in a way that&#8217;s confusing to me, different from Drupal (and therefore Drupal documentation and discussion) and when you turn off the zadministration module your administer settings are scattered amongst the top level of your navigation menu; in other words you don&#8217;t go back to Drupal normal admin when disabling zadministration. EDIT Dec 20, 2006: I just noticed how to avoid this problem when disabling zadministration: Before disabling the zadmin module, from the zadmin panel, click &#8220;Activate/Deactivate this page&#8221; and then push the &#8220;Deactivate&#8221; button. Then the admin menus return to their Drupal state and you can safely disable the zadmin module.</li>
<li>CivicSpace seems to be a memory hog compared to Drupal. CivicSpace recommends setting php.ini to use 24M of memory, but on my 256M virtual server I keep running out of VM pages when I do that. I&#8217;ve tried different settings and had problems at 8M and 12M; I&#8217;m at 16M now but I haven&#8217;t had a problem with a Drupal site at 8M with the same modules enabled yet. I think the enabled statistics module may be to blame, but I&#8217;m not sure yet. (I have CivicCRM turned off. I could also probably tune apache and MySql to not use as much RAM, but I haven&#8217;t tried that yet.)</li>
<li>After upgrading CivicSpace to Drupal 4.7 rc3 with a mix of Drupal 4.7 and cvs modules, the &#8220;my profile&#8221; page has some odd characters on it.</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://itkia.com/civicspace-0-8-3-oddities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading CivicSpace 0.8.3 to Drupal 4.7 rc3</title>
		<link>http://itkia.com/upgrading-civicspace-0-8-3-to-drupal-4-7-rc3/</link>
		<comments>http://itkia.com/upgrading-civicspace-0-8-3-to-drupal-4-7-rc3/#comments</comments>
		<pubDate>Thu, 20 Apr 2006 15:53:00 +0000</pubDate>
		<dc:creator>IT Know-It-All</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[civicspace]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://itkia.com/?p=36</guid>
		<description><![CDATA[Issues and solutions migrating from CivicSpace to Drupal.]]></description>
			<content:encoded><![CDATA[<div>
<p>These past two or three weeks I&#8217;ve been working hard on figuring out CivicSpace / Drupal. I&#8217;m ditching CivicSpace 0.8.3&#8211;based on Drupal 4.6&#8211;and going with Drupal 4.7 rc3.</p>
<p>Drupal 4.7 is very new. In fact it hasn&#8217;t been officially released yet. But there are enough changes I think it&#8217;s important to go ahead and switch now while my websites are young and shy on content. The big feature for me is the free tagging additions to taxonomy. I don&#8217;t fully understand these yet but have some ideas on how I want to use them. As I understand it, the backported free tagging / folksonomy patches for 4.6 are sufficiently different from 4.7 as to cause upgraded headaches.</p>
<p>At first CivicSpace sounded like an easy-to-install Drupal distribution that included a robust default configuration with popular modules. I had used Drupal 4.6, but hadn&#8217;t quite figured it out, and CivicSpace seemed slicker. Perhaps it helped; I don&#8217;t know. But I&#8217;ve already outgrown the need for the preselected modules. As far as the easy install, it was easy, but I didn&#8217;t have a problem installing Drupal in the first place. As I learned to use CivicSpace I decided I didn&#8217;t like their &#8220;zadministration&#8221; modified administration menu, didn&#8217;t use the features (CivicCRM) that set CivicSpace apart from Drupal plus modules and started to suspect that CivicSpace is enough different from Drupal that &#8220;upgrading&#8221; to Drupal could be a problem, especially with established content.</p>
<p>So, on the the upgrade. I installed the drupal 4.7 files in a new directory, copied my files/ directory and configuration directory over and checked the .htaccess and robots.txt files. I downloaded and installed the modules that were enabled in CivicSpace but not included with Drupal. Some modules have a 4.7 version, some I had to get the cvs build. Actually I left out the zadministration panel module because I couldn&#8217;t find it on Drupal&#8217;s site, and I hate it, anyway.</p>
<p>EDIT Dec 20, 2006: I just noticed how to avoid the administration menu problem when disabling zadministration: Before disabling the zadmin module, from the zadmin panel, click &#8220;Activate/Deactivate this page&#8221; and then push the &#8220;Deactivate&#8221; button. Then the admin menus return to their Drupal state and you can safely disable the zadmin module. (/EDIT)</p>
<p>Drupal 4.6/CivicSpace don&#8217;t have a &#8220;site maintenance&#8221; mode; I wanted to prevent possible changes to the database during the upgrade. I found suggestions on using conditional apache redirects, but it occurred to me I could just remove authenticated users&#8217; permission to access content. To make a friendly message, I created a new block for the top of the left column explaining the site was briefly down for maintenance. After enabling that and disabling &#8220;access content&#8221; under the node section of the access control page everybody except user #1 gets &#8220;Access Denied&#8221;, the login box and my site mx message block. I patted myself on the back for being so clever and knowing how to do this.</p>
<p>I backed up the databse. The files hadn&#8217;t changed since the daily backup, and I didn&#8217;t intend to delete or overwrite anything, so I didn&#8217;t do any specific file backup. I logged in as user #1 as per the upgrade instructions. I disabled the zadministration module because I wasn&#8217;t going to use it in 4.7. I used the unix &#8220;mv&#8221; command to move the existing install to an old/ directory and move the new directory in its place. Already logged in as user #1, I browsed to /update.php . Drupal 4.7 is pretty slick in that it has upgrade hooks for its modules, meaning you don&#8217;t need to update modules individually. This screen handles upgrading the datbase for the system and all hooked modules.</p>
<p>That was easy, and then the site worked fine. I poked around a bit and then reenabled user access to content and disabled the site mx message block. There were a couple of oddities at first, but they cleared and were apparently caching issues. Only two issues remained: the admin menu was messed up due to disabling zadministration; the primary links were missing (I don&#8217;t use secondary).</p>
<p>EDIT Dec 20, 2006: The zadministration menu issues in the previous and following paragraphs are avoidable by &#8220;deactivating&#8221; zadmin before disabling the module. See my earlier edit above for details. I haven&#8217;t upgraded a deactivated zadmin site yet, so I&#8217;m not sure yet if the Primary Links problem will still happen.(/EDIT)</p>
<p>These issues are actually the same. Drupal 4.7&#8217;s main menu is called &#8220;Primary Links&#8221; and is propogated to the Primary Links area on the theme as well. But due to the zadministration influence your &#8220;upgraded&#8221; menu doesn&#8217;t fit the scheme. I had done a Drupal 4.6-&gt;4.7 upgrade before the CivicSpace upgrade, so I knew what the menu should look like. Rather than rebuild it by hand I used mysqldump and mysql to dump the menu table from the &#8220;good&#8221; site&#8217;s menu and import it into my upgraded CS site, overwriting the existing structure. (Lots of backups and careful typing here, of course.) It worked great! I then had to delete an item I had added to the other site&#8217;s menu and manually add links to my aggregator sources. Interestingly it automatically deleted the invalid aggregator source links that were imported from the other board. After this my navigation menu, administration menu and Primary Links along the top of the page were working spiffy and the menu adapted to new modules I enabled. UPDATE: Drupal 4.7 doesn&#8217;t add menu items under aggregator/sources anymore; that&#8217;s probably part of why I had to manually re-add the menu items after doing my menu trick. Come to think of it, I think I&#8217;ll take the aggregator/sources subitems back off again as I have too many feeds to make sense of; I&#8217;ll set up the categories instead.</p>
<p>The only two remaining glitches I know of are that the profile page is slightly garbled and the &#8220;1,2,3 next page&#8221; links are squished together for some reason. The squished links are on my 4.6-&gt;4.7 upgrade site, too, so I don&#8217;t know if that&#8217;s an rc3 issue yet or an upgrade artifact. UPDATED: The &#8220;squished links&#8221; were apparently also a caching issue (cached CSS file?). It looks fine now for both the 4.6-&gt;4.7 site and the CivicSpace-&gt;Drupal 4.7 site, and I haven&#8217;t changed anything.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://itkia.com/upgrading-civicspace-0-8-3-to-drupal-4-7-rc3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
