<?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>Andrew Mallis&#039; blog &#187; drupal</title>
	<atom:link href="http://andrewmallis.com/blog/category/technology/drupal/feed" rel="self" type="application/rss+xml" />
	<link>http://andrewmallis.com/blog</link>
	<description>this is the personal blog for Andrew Mallis</description>
	<lastBuildDate>Fri, 27 Aug 2010 12:05:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>launching mollycrealock.com</title>
		<link>http://andrewmallis.com/blog/2010/07/26/launching-mollycrealock-com</link>
		<comments>http://andrewmallis.com/blog/2010/07/26/launching-mollycrealock-com#comments</comments>
		<pubDate>Mon, 26 Jul 2010 18:15:15 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=307</guid>
		<description><![CDATA[A little while back ideograph launched mollycrealock.com – a nice, attractive gallery for commercial Toronto photographer, Molly Crealock. It was a challenge to meet the requirements of automatic circular thumbnail generation and custom positioning. The site also incorporates: private client galleries visible based on either user role or user names. Multiple simultaneous file uploads. Easy [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-310" title="mollycrealock.com-screenshot" src="http://andrewmallis.com/blog/wp-content/uploads/2010/08/poster-screenshot.jpg" alt="screenshot fro mollycrealock.com" width="500" height="427" /></p>
<p>A little while back <a href="http://ideograph.ca" target="_blank" class="liexternal">ideograph</a> launched <a href="http://mollycrealock.com" target="_blank" class="liexternal">mollycrealock.com</a> – a nice, attractive gallery for commercial Toronto photographer, Molly Crealock. It was a challenge to meet the requirements of automatic circular thumbnail generation and custom positioning.</p>
<p>The site also incorporates:</p>
<ul>
<li>private client galleries visible based on either user role or user names.</li>
<li>Multiple simultaneous file uploads.</li>
<li>Easy image captions and re-ordering of galleries through drag &amp; drop.</li>
<li>jQuery interface elements</li>
</ul>
<p>You can see more screen shots of the work on <a href="http://ideograph.ca/websites/mollycrealockcom/" target="_blank" class="liexternal">ideograph.ca</a></p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F07%2F26%2Flaunching-mollycrealock-com&t=launching+mollycrealock.com" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F07%2F26%2Flaunching-mollycrealock-com&title=launching+mollycrealock.com" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F07%2F26%2Flaunching-mollycrealock-com&title=launching+mollycrealock.com" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F07%2F26%2Flaunching-mollycrealock-com&title=launching+mollycrealock.com&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F07%2F26%2Flaunching-mollycrealock-com&title=launching+mollycrealock.com&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2010/07/26/launching-mollycrealock-com/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sequel Pro: look at the nerdy things I can do at 1 AM</title>
		<link>http://andrewmallis.com/blog/2010/06/03/sequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am</link>
		<comments>http://andrewmallis.com/blog/2010/06/03/sequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am#comments</comments>
		<pubDate>Thu, 03 Jun 2010 09:12:48 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[tech tips]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=299</guid>
		<description><![CDATA[Did it tell you about Sequel Pro? You can use it to connect to your local MAMP and also to remote LAMP mysql servers (via SSH). Why is this so awesome? Well, not only is it 100 times faster than that phpMyAdmin, but you can edit your DB super easily, like a spreadsheet. It is [...]]]></description>
			<content:encoded><![CDATA[<p>Did it tell you about <a href="http://www.sequelpro.com" title="check out the sequel pro site" target="_blank" class="liexternal">Sequel Pro</a>?</p>
<p>You can use it to connect to your local MAMP and also to <strong>remote</strong> LAMP mysql servers (via SSH). Why is this so awesome?</p>
<p style="text-align: left;">Well, not only is it 100 times faster than that phpMyAdmin, but you can edit your DB super easily, like a spreadsheet. It is a snap to filter/search/order a table for viewing and editing.<em> </em></p>
<p style="text-align: left;"><em>Caveat emptor</em>: what I am about to show you <span style="text-decoration: underline;">can do tremendous damage</span>. You can accidentally kill your entire application, so BACK YOUR DATABASES UP! Test on a copy first.<span id="more-299"></span></p>
<p style="text-align: left;">You can do simple things like turn 1&#8242;s to 0&#8242;s and quickly disable a drupal module faster than drush can (but watch out if you don&#8217;t know your dependencies).</p>
<div id="attachment_300" class="wp-caption aligncenter" style="width: 510px"><a href="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-edit-system.png" class="liimagelink"><img class="size-full wp-image-300  " title="sequelpro-edit-system" src="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-edit-system.png" alt="Edit your system table in Sequel Pro" width="500" height="319" /></a><p class="wp-caption-text">Edit your system table in Sequel Pro</p></div>
<p>I had this interesting and daunting problem:<br />
I am working on this site for a soccer league that has a couple hundred teams and I realize that I need to modify a whole slew of node titles based on values that appear in their CCK fields.<br />
Many of the Organic Group Group nodes (each team is a group)<br />
Views Bulk Operations gets me part, but not all the way quickly enough for this one-time operation.</p>
<p>I&#8217;m not crafty enough to write a join and update statement across all these tables, but I do already have a view listing Teams and CCK fields for Division and Type.</p>
<p>Hey, if I scroll down to the bottom of the view, I can copy the query right from views into Sequel Pro!</p>
<p>Holy Moly. It just works. As it should.</p>
<div id="attachment_301" class="wp-caption aligncenter" style="width: 509px"><a href="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-viiews-edit-nodes.png" class="liimagelink"><img class="size-full wp-image-301  " title="Edit join statments from views" src="http://andrewmallis.com/blog/wp-content/uploads/2010/06/sequelpro-viiews-edit-nodes.png" alt="Edit the result of a sequel statement created with views" width="499" height="329" /></a><p class="wp-caption-text">Edit the result of a sequel statement created with views</p></div>
<p>Now I can just go down the list and edit my node titles.<br />
Sweet.</p>
<p>Because there was a pattern here, I ended up using  the fabulous <a href="http://drupal.org/project/auto_nodetitle" title="project on drupal.org" target="_blank" class="liexternal">auto nodetitle</a> module and tokens. I temporarliy added a pattern to the node titles of my team content type and used <a href="http://drupal.org/project/views_bulk_operations" title="project on drupal.org" target="_blank" class="liexternal">views bulk operations</a> to update <em>some</em> of my node titles. After the update, i set the pattern to be used only if the title was blank.</p>
<p>Even though I solved my use case another way, I can see plenty of use for this technique in the future. Great way to fix typos in content, for example.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&t=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2010%2F06%2F03%2Fsequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am&title=Sequel+Pro%3A+look+at+the+nerdy+things+I+can+do+at+1+AM&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2010/06/03/sequel-pro-look-at-the-nerdy-things-i-can-do-at-1-am/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring TinyMCE to handle a subset of styles</title>
		<link>http://andrewmallis.com/blog/2009/06/24/configuring-tinymce-to-handle-a-subset-of-styles</link>
		<comments>http://andrewmallis.com/blog/2009/06/24/configuring-tinymce-to-handle-a-subset-of-styles#comments</comments>
		<pubDate>Wed, 24 Jun 2009 20:32:29 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[wysiwyg]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=263</guid>
		<description><![CDATA[Users often require a limited set of stylistic controls over content on their site. We implement this in Drupal using the wysiwg module and TinyMCE. Commonly, users need to create subheadings in their posts. Markup should always be privileged over wrapping content in classes. For example, it is much better, both from a structural and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-264" style="border: 1px solid black; margin-left: 5px; margin-right: 5px;" title="wysiwyg" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/wysiwyg.png" alt="wysiwyg" width="294" height="174" />Users often require a limited set of stylistic controls over content on their site. We implement this in <strong>Drupal</strong> using the <strong><a href="http://drupal.org/project/wysiwyg" title="module page" target="_blank" class="liexternal">wysiwg module</a></strong> and <strong>TinyMCE</strong>.</p>
<p>Commonly, users need to create subheadings in their posts. Markup should always be privileged over wrapping content in classes. For example, it is much better, both from a structural and a maintenance perspective, to use an h2 tag to create a title, rather than adding a class of, say, .title to a paragraph tag, then forcing the paragraph to look like an h2. It will make a mess of your stylesheet, plus render your site less accessible to screen readers and search engines.</p>
<p><span id="more-263"></span>It is most often advisable to create a new Input profile called &#8220;Rich Text&#8221; or &#8220;Graphical HTML Editor&#8221;, but we can also edit the &#8220;Full HTML&#8221; input format.</p>
<p>Our <strong>wysiwyg profiles</strong> will be listed at  [ /admin/settings/wysiwyg/profile ]  where we edit the profile to which we&#8217;ve assigned the TinyMCE editor. Under Buttons and plugins, we enable the following buttons:</p>
<ol>
<li> HTML block format</li>
<li> Font style</li>
<li> Source code (not necessary, but useful for checking what we&#8217;ve done)</li>
</ol>
<p>Under the <strong>CSS fieldset</strong>, we limit the number of block tags available, i.e.</p>
<pre>  p,h2,h3,h4</pre>
<p>and set the <strong>Editor CSS</strong> to use the <strong>theme CSS</strong>. By default, this will generate a lot list of classes from our theme&#8217;s style.css. Now, you can create a separate stylesheet just for the wysiwyg, but coordinating changes across them can be a hassle. Instead, we open up only a subset of the classes in our stylesheet using the <strong>CSS classes textarea</strong>, following the [title]=[class] format (this will seem familiar if you&#8217;ve ever used webform module):</p>
<pre>  intro text=intro
  description text=description
  read more link=more-link</pre>
<p>This is great because we can now provide a more meaningful list of styles to the user, and also a limited set of structural markup tags. The downside is that we have 2 dropdown lists and have to provide the tiniest bit of eduction.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&t=Configuring+TinyMCE+to+handle+a+subset+of+styles" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F24%2Fconfiguring-tinymce-to-handle-a-subset-of-styles&title=Configuring+TinyMCE+to+handle+a+subset+of+styles&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2009/06/24/configuring-tinymce-to-handle-a-subset-of-styles/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>how to back up databases using phpMyAdmin</title>
		<link>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin</link>
		<comments>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin#comments</comments>
		<pubDate>Wed, 03 Jun 2009 01:04:30 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[tech tips]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpMyAdmin]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=234</guid>
		<description><![CDATA[Back ups are important. Like brushing your teeth, it&#8217;s something you should do routinely. And, as you&#8217;d brush before important events, like going out on a date, so should you too backup before upgrading software. I&#8217;m going to show you how to use phpMyAdmin to back up and restore MySQL databases. In my next post, [...]]]></description>
			<content:encoded><![CDATA[<p><span id="sample-permalink">Back ups are important. Like brushing your teeth, it&#8217;s something you should do routinely. And, as</span><span id="sample-permalink"> you&#8217;d brush before important events, like going out on a date, so should you too backup before upgrading </span>software.</p>
<p>I&#8217;m going to show you how to use <a href="http://www.phpmyadmin.net" target="_blank" class="liexternal">phpMyAdmin</a> to back up and restore MySQL databases. In my next post, I&#8217;ll show you how to graduate to doing the same thing using the command line.</p>
<p>I use <a href="http://www.mamp.info/" target="_blank" class="liexternal">MAMP</a> to develop websites locally. I&#8217;ve written about this before <a href="http://andrewmallis.com/blog/2007/11/03/mamp-and-xamp" class="liinternal">here</a>. The examples I&#8217;ll be showing come from the phpMyAdmin packaged with MAMP, but apply just as well to any other environment.<span id="more-234"></span></p>
<h2>phpMyAdmin without the MAMP frame</h2>
<p style="text-align: left;">First things first. Let&#8217;s  work so we can see what we&#8217;re doing.I&#8217;m going to assume that you&#8217;re able to download and install MAMP or MAMP Pro on your own. The phpMyAdmin URL that you from the MAMP default webstart page gets you to the URL:</p>
<p style="text-align: left;"><a href="http://localhost/MAMP/frame.php?src=%2FphpMyAdmin%2F%3Flang%3Den-iso-8859-1&amp;language=English" target="_blank" class="liexternal">http://localhost/MAMP/frame.php?src=%2FphpMyAdmin%2F%3Flang%3Den-iso-8859-1&amp;language=English</a></p>
<p>which looks gives you a framed version of the phpMyAdmin. The framing takes up a lot of screen real estate.</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_noframe-250x201.png" class="liimagelink"><img class="size-full wp-image-239 aligncenter" title="phpmyadmin_mampframe" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_mampframe-250x201.png" alt="phpMyAdmin widow with the MAMP framing" width="250" height="201" /></a></p>
<p>Instead, use <a href="http://localhost/phpMyAdmin" target="_blank" class="liexternal">http://localhost/phpMyAdmin</a> and you&#8217;ll get something that looks much more pleasing:</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_noframe-250x201.png" class="liimagelink"><img class="size-full wp-image-238 aligncenter" title="phpmyadmin_noframe" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_noframe-250x201.png" alt="phpMyAdmin window without a frame" width="250" height="201" /></a></p>
<h2>dumping a database with phpMyAdmin</h2>
<p>Select a database from the drop-down menu on the left hand side of phpMyAdmin. Or, Navigate to &#8220;home&#8221; by clicking the little house under the phpMyAdmin logo in the top left and hit the blue Databases link in the  longish list there.<a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_home.png" class="liinternal"></a></p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_home.png" class="liimagelink"><img class="size-full wp-image-245 aligncenter" title="phpmyadmin_home" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_home-250x182.png" alt="phpmyadmin_home" width="250" height="182" /></a></p>
<p>Ok, so now we see the tables in our database. Press the Export tab at the top. We&#8217;re going to export this database.</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_table-250x214.png" class="liimagelink"><img class="aligncenter size-full wp-image-253" title="phpmyadmin_table" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin_table-250x214.png" alt="phpmyadmin_table" width="250" height="214" /></a></p>
<p>Let&#8217;s review the options you should select to get nice, compact, and legible SQL.</p>
<p style="text-align: center;"><a href="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin2102_exportdb3-600x632.png" class="liimagelink"><img class="aligncenter size-full wp-image-252" title="phpmyadmin2102_exportdb3" src="http://andrewmallis.com/blog/wp-content/uploads/2009/06/phpmyadmin2102_exportdb3-600x632.png" alt="phpmyadmin2102_exportdb3" width="600" height="632" /></a></p>
<p>The first column, in the Export fieldset, is pretty straight forward. By default all the tables in your database will be selected. SQL is the format you want too.</p>
<p>&#8220;Disable foreign key checks&#8221; isn&#8217;t always necessary. I do a lot of CiviCRM work. Restoring a CiviCRM database will fail unless this option is enabled in your export.</p>
<p>&#8220;Add DROP TABLE / DROP VIEW&#8221; will delete your table on import before recreating it.</p>
<p>Extended inserts and Complete insterts gives you a smaller file and more compacted, easy to read view.</p>
<p>Click &#8220;Save as file&#8221; and use &#8220;gzipped&#8221; compression for the smallest files.</p>
<p>In the File name template, I add %D, which spits out today&#8217;s date. I add a little hypen before to seperate it from the database name and MAMP after, so I know it was a local dump and not from my live server. This format would give me a file like: mysql-06_02_09_MAMP.sql.gz</p>
<p>To restore your databse, click on the import tab, click the browse button, select your file, press go. I&#8217;ll spare you the screenshot.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&t=how+to+back+up+databases+using+phpMyAdmin" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F06%2F02%2Fhow-to-back-up-databases-using-phpmyadmin&title=how+to+back+up+databases+using+phpMyAdmin&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2009/06/02/how-to-back-up-databases-using-phpmyadmin/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>launching thespringweddingshow.com</title>
		<link>http://andrewmallis.com/blog/2009/05/26/launching-thespringweddingshowcom</link>
		<comments>http://andrewmallis.com/blog/2009/05/26/launching-thespringweddingshowcom#comments</comments>
		<pubDate>Tue, 26 May 2009 06:08:09 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=224</guid>
		<description><![CDATA[http://thespringweddingshow.com An innovative project conceived as a walk in the park. (Pulling it off was another story). Working with Brooklyn-based designers Mélngerie, and Toronto-based animators 3Di, and featuring a soundscape by composer Nicholas Longstaff, the project is a time-limited online wedding tradeshow. The interface promotes exploration and discovery by creating a whimsical lanscape, while simultaneously [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-225" title="thespringweddingshowcom-home-splash_sm" src="http://andrewmallis.com/blog/wp-content/uploads/2009/05/thespringweddingshowcom-home-splash_sm.png" alt="thespringweddingshowcom-home-splash_sm" /></p>
<p><a href="http://thespringweddingshow.com" target="_blank" class="liexternal">http://thespringweddingshow.com</a></p>
<p>An innovative project conceived as a walk in the park. (Pulling it off was another story). Working with Brooklyn-based designers Mélngerie, and Toronto-based animators 3Di, and featuring a soundscape by composer Nicholas Longstaff, the project is a time-limited online wedding tradeshow.</p>
<p>The interface promotes exploration and discovery by creating a whimsical lanscape, while simultaneously making quickly accessible information to those seeking it.</p>
<p>A Drupal 6 site with a  Flash-based front-end + Drupal back-end, featuring Lightbox2/Thickbox implementations. I&#8217;m proud of how un-drupal this drupal site is.</p>
<p>Screenshots don&#8217;t do this project justice. The innovative interface, and animations set this project apart. I&#8217;m going to try to post a video showing the site navigation soon.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F05%2F26%2Flaunching-thespringweddingshowcom&t=launching+thespringweddingshow.com" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F05%2F26%2Flaunching-thespringweddingshowcom&title=launching+thespringweddingshow.com" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F05%2F26%2Flaunching-thespringweddingshowcom&title=launching+thespringweddingshow.com" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F05%2F26%2Flaunching-thespringweddingshowcom&title=launching+thespringweddingshow.com&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F05%2F26%2Flaunching-thespringweddingshowcom&title=launching+thespringweddingshow.com&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2009/05/26/launching-thespringweddingshowcom/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JMA Consulting</title>
		<link>http://andrewmallis.com/blog/2009/04/16/jma-consulting</link>
		<comments>http://andrewmallis.com/blog/2009/04/16/jma-consulting#comments</comments>
		<pubDate>Thu, 16 Apr 2009 05:50:45 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=173</guid>
		<description><![CDATA[I&#8217;ve been working with the firm JMA Consulting for a good number of months now. The firm does a lot of work for non-profits in the areas of citizen engagement and relationship management. They do a lot of work for the Ontario NDP, and organizations in the environmental and educational fields too. I&#8217;ve been doing [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working with the firm <a href="http://jmaconsulting.biz" title="JMA Consulting Homepage" target="_blank" class="liexternal">JMA Consulting</a> for a good number of months now. The firm does a lot of work for non-profits in the areas of citizen engagement and relationship management. They do a lot of work for the Ontario NDP, and organizations in the environmental and educational fields too.</p>
<p>I&#8217;ve been doing work implementing and configuring  <a href="http://civicrm.org/" title="more about CiviCRM" target="_blank" class="liexternal">CiviCRM</a>. Joe, the principal JMA, is on the advisory board, and many of his clients leverage this solution to manage their constituents.</p>
<p>I&#8217;ve also been doing a lot of sysadmin work: Linux server administration, Subversion repository managment, etc. Generally, I figure things out; make things work. I&#8217;m enjoying not being the lead on every project I work on, and it&#8217;s helping me achieve more balance in my life, I think.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F04%2F16%2Fjma-consulting&t=JMA+Consulting" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F04%2F16%2Fjma-consulting&title=JMA+Consulting" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F04%2F16%2Fjma-consulting&title=JMA+Consulting" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F04%2F16%2Fjma-consulting&title=JMA+Consulting&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F04%2F16%2Fjma-consulting&title=JMA+Consulting&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2009/04/16/jma-consulting/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>techsoupcanada.ca</title>
		<link>http://andrewmallis.com/blog/2009/03/12/techsoupcanadaca</link>
		<comments>http://andrewmallis.com/blog/2009/03/12/techsoupcanadaca#comments</comments>
		<pubDate>Thu, 12 Mar 2009 18:17:50 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://andrewmallis.com/blog/?p=179</guid>
		<description><![CDATA[I&#8217;ve been working with a really fantastic organization, Techsoup Canada, on helping them launch their new site. They do really amazing work connecting non-profits and Charities to technologies that they might otherwise not afford. Techsoup Global was founded in 1987 by a couple of guys in a station wagon, who went around collecting all the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-204" title="techsoup" src="http://andrewmallis.com/blog/wp-content/uploads/2009/05/techsoup.jpg" alt="techsoup" /></p>
<p>I&#8217;ve been working with a really fantastic organization, <a href="http://www.techsoupcanada.ca" title="Techsoup Canada Homepage" target="_blank" class="liexternal">Techsoup Canada</a>, on helping them launch their new site. They do really amazing work connecting non-profits and Charities to technologies that they might otherwise not afford.</p>
<p><a href="http://www.techsoupglobal.org/" title="Techsoup Global homepage" target="_blank" class="liexternal">Techsoup Global</a> was founded in 1987 by a couple of guys in a station wagon, who went around collecting all the freebee software sent to publication for review and re-allocating it to organizations in need. These robin hoods of silicon valley eventually grew the organization to the point where, in 2008, they were receiving annually tech donation worth 312$ Million.</p>
<p>The real beauty here is that Techsoup has become more than just a great enabler – connecting organizations to a myriad of corporate donation programs in a centrally administered repository. Their success has mad them an important advocate for the non-profit sector.</p>
<p>For years, Techsoup has served the needs of Canadian NGO&#8217;s and NFP&#8217;s through their San Francisco office. Establishing a Toronto base of operations will allow the organization to better administer the intricacies of Canadian donation programs, and to support the language needs of French Canada. Techsoup Canada is the result of a collaboration between the Centre for Social Innovation,  the Information Technology Association of Canada, and the Trillium Foundation.</p>
<p>Working on the website has posed numerous challenges. Namely, coordinating workflows between a development team in Poland, the San Fransico office, and Toronto. Drupal has always been challenged when facing the dev-staging-production workflow, but I haven&#8217;t faced butted up against it this much before. The Drupal community desperately needs to smartly seperate database content from configuration, and develop better logging and migration toolkits.</p>
<div id="bppostbookmarks"><a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F03%2F12%2Ftechsoupcanadaca&t=techsoupcanada.ca" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/yahoo-icon.png" alt="Add to Yahoo" title="Add to Yahoo" /></a> <a href="http://www.google.com/bookmarks/mark?op=add&bkmk=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F03%2F12%2Ftechsoupcanadaca&title=techsoupcanada.ca" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/g-icon.png" alt="Add to Google" title="Add to Google" /></a> <a href="http://del.icio.us/post?&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F03%2F12%2Ftechsoupcanadaca&title=techsoupcanada.ca" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/delicious-icon.png" alt="Save to Del.icio.us" title="Save to Del.icio.us" /></a> <a href="http://digg.com/submit?phase=2&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F03%2F12%2Ftechsoupcanadaca&title=techsoupcanada.ca&bodytext=&topic=" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/digg-icon.png" alt="Digg IT!" title="Digg IT!" /></a> <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=http%3A%2F%2Fandrewmallis.com%2Fblog%2F2009%2F03%2F12%2Ftechsoupcanadaca&title=techsoupcanada.ca&top=1" target="_blank" class="liimagelink"><img src="http://andrewmallis.com/blog/wp-content/plugins/bp-bookmarks/images/live-icon.gif" alt="Live Bookmarks!" title="Live Bookmarks!" /></a> </div>]]></content:encoded>
			<wfw:commentRss>http://andrewmallis.com/blog/2009/03/12/techsoupcanadaca/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->