<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6978448</id><updated>2012-02-09T21:39:22.561Z</updated><category term='drupal cs5 dreamweaver development code'/><category term='install'/><category term='module development'/><category term='drupal theming links icons'/><category term='yahoo imap outlook mac'/><category term='vw touareg battery charging'/><category term='drupal drush php windows'/><category term='git'/><category term='mac osx ios sdk download wget'/><category term='drupal'/><category term='drush'/><category term='ssh'/><category term='mac osx parallels kernel components'/><category term='drupal search customize error 404'/><title type='text'>Snorkers</title><subtitle type='html'>Good oh!&lt;br&gt;&lt;br&gt;

Snippets of technical things I've worked out how to solve.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6978448.post-3512964058343731597</id><published>2012-02-09T14:30:00.000Z</published><updated>2012-02-09T14:30:15.832Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='drush'/><category scheme='http://www.blogger.com/atom/ns#' term='drupal'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><title type='text'>Install Drupal Remotely with SSH &amp; Drush</title><content type='html'>&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Connect to your server with SSH (using OSX Terminal, or Putty on Windows):&lt;br /&gt;&lt;code&gt;ssh &lt;i&gt;&amp;lt;username&amp;gt;&lt;/i&gt;@&lt;i&gt;&amp;lt;site address&amp;gt;&lt;/i&gt;&lt;/code&gt;&lt;br /&gt;See &lt;a href="http://en.wikipedia.org/wiki/Secure_Shell"&gt;en.wikipedia.org/wiki/Secure_Shell&lt;/a&gt; for some background on SSH.&lt;/li&gt;&lt;li&gt;In your server root directory - preferably not the 'Public HTML' directory, WGET the &lt;a href="http://drupal.org/project/drush"&gt;Drush&lt;/a&gt; tarball of the latest release:&lt;br /&gt;&lt;code&gt;wget http://ftp.drupal.org/files/projects/drush-7.x-4.5.tar.gz&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Use TAR to extract and de-compress the archive, eg:&lt;br /&gt;&lt;code&gt;tar xzvf drush-7.x-4.5.tar.gz&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Set up an alias to Drush &lt;br /&gt;&lt;code&gt;alias drush='/myserverroot/home/drush/drush'&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Change working directory to Public HTML root of server&lt;/li&gt;&lt;li&gt;Download the Drupal code&lt;br /&gt;&lt;code&gt;drush dl drupal&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Move the download 'up' one level:&lt;br /&gt;&lt;code&gt;mv drupal/* .&lt;br /&gt;mv drupal/.htaccess .&lt;br /&gt;rm –r drupal&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Create a MySQL database (you may need to do this via your host's control panel)&lt;br /&gt;&lt;code&gt;mysqladmin –u [db_user] –p create [db_name]&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Install the Drupal site&lt;br /&gt;&lt;code&gt;drush site-install standard --account-name=admin --account-pass=[useruser_pass] --db-url=mysql://[db_user]:[db_pass]@localhost/[db_name]&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Fame and glory await&lt;/li&gt;&lt;/ol&gt;Only snag I've had with some hosts is providing enough resources for PHP/Drush to execute commands: 'Out of memory' a common problem, especially on shared hosting which may have relatively low memory. 256MB seems to be the minimum you can get away with to allocate to PHP [for Drupal/Drush] to run, so make sure when you purchase a hosting package, that you can have enough memory to play with.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-3512964058343731597?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/3512964058343731597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2012/02/install-drupal-remotely-with-ssh-drush.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/3512964058343731597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/3512964058343731597'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2012/02/install-drupal-remotely-with-ssh-drush.html' title='Install Drupal Remotely with SSH &amp; Drush'/><author><name>arrrgh</name><uri>http://www.blogger.com/profile/10025761693591184910</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Perth, Perth &amp; Kinross, UK</georss:featurename><georss:point>56.394994 -3.430838</georss:point><georss:box>56.359840999999996 -3.509802 56.430147 -3.351874</georss:box></entry><entry><id>tag:blogger.com,1999:blog-6978448.post-2284469543756939666</id><published>2011-10-06T10:08:00.002+01:00</published><updated>2011-10-06T10:08:36.362+01:00</updated><title type='text'>Steve Jobs RIP</title><content type='html'>&lt;h1&gt;Inspirational Stuff&lt;/h1&gt;&lt;iframe allowfullscreen="" frameborder="0" height="360" src="http://www.youtube.com/embed/D1R-jKKp3NA" width="640"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-2284469543756939666?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/2284469543756939666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2011/10/steve-jobs-rip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/2284469543756939666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/2284469543756939666'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2011/10/steve-jobs-rip.html' title='Steve Jobs RIP'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/D1R-jKKp3NA/default.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6978448.post-5111530147733184072</id><published>2011-09-13T13:58:00.001+01:00</published><updated>2011-09-13T14:00:53.579+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='module development'/><category scheme='http://www.blogger.com/atom/ns#' term='git'/><category scheme='http://www.blogger.com/atom/ns#' term='drupal'/><title type='text'>Create a Drupal Module Patch With Git</title><content type='html'>I thought I'd written my last bit of code over 10 years ago, but here I am struggling with all this new-fangled technology and inevitably tweaking module code that makes up the great Drupal open source empire.&lt;br /&gt;A quick way to generate a patch for a module you want to tweak is using Drush and Git. &lt;br /&gt;&lt;br /&gt;1. Download the module to your test environment with Drush. FFS don't do code development on a live site - kittens will die and you might (quite rightly) lose your job.&lt;br /&gt;&lt;code&gt;drush dl [module-name]&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;2. Navigate to directory and initialize an empty repository&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;cd [module-name]&amp;nbsp;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;git init&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;3. Add the files to new repository&lt;br /&gt;&lt;code&gt;git add *&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;4. Commit the files to the repository&lt;br /&gt;&lt;code&gt;git commit -m 'Initial commit'&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;5. Make changes to the file(s) you want to change within the module's directory.&lt;br /&gt;&lt;br /&gt;6. Create patch - do this BEFORE committing changes&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;git diff —no-prefix &amp;gt; patchfile.patch&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;7. Optionally commit your latest changes to Git&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;git commit -m 'Description of what you've changed'&amp;nbsp;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Save the patch, submit it on an issue queue, set the issue status to 'Needs review' and hope that some kind person reviews it so it can be committed as a permanent feature. Fame and glory awaits. &lt;br /&gt;&lt;br /&gt;This is taken from a post by the awesome Swedish Chef dudes at Node One. &lt;a href="http://nodeone.se/blogg/how-to-create-a-patch-for-a-drupal-module."&gt;http://nodeone.se/blogg/how-to-create-a-patch-for-a-drupal-module.&lt;/a&gt; They talk about commits against core/contrib HEAD: not really my bag, but ignore the comments about CVS (CVS must die, etc).&lt;br /&gt;&lt;br /&gt;&lt;iframe allowfullscreen="" frameborder="0" height="345" src="http://www.youtube.com/embed/mbs64GvGgPU" width="420"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-5111530147733184072?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/5111530147733184072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2011/09/create-drupal-module-patch-with-git.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/5111530147733184072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/5111530147733184072'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2011/09/create-drupal-module-patch-with-git.html' title='Create a Drupal Module Patch With Git'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://img.youtube.com/vi/mbs64GvGgPU/default.jpg' height='72' width='72'/><thr:total>0</thr:total><georss:featurename>Perth, UK</georss:featurename><georss:point>56.401744392758964 -3.460693359375</georss:point><georss:box>55.84301339275896 -4.724120859375 56.960475392758966 -2.1972658593750003</georss:box></entry><entry><id>tag:blogger.com,1999:blog-6978448.post-5125603676063615524</id><published>2011-06-27T09:13:00.000+01:00</published><updated>2011-06-27T09:13:07.494+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vw touareg battery charging'/><title type='text'>Charging Battery on a Touareg</title><content type='html'>Children playing in the car, forgetful spouse... who knows. Flat battery this morning in the beast known as a VW Touareg. Automatic transmission, so no chance of bump starting this 2 tonne monster either.&lt;br /&gt;&lt;br /&gt;A quick search of the manuals to find the battery killed off my first thought - whip it out and re-charge it. Alas it's 'very complicated and must be handled by specialist personnel'. Even my engineering prowess baulked at trying to remove it (it's under passenger seat BTW). So gave up for a while and generally pondered life.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-dr5C2BvNVMI/Tgg6HH2M6-I/AAAAAAAAAJM/bJKwoMfFWV0/s1600/tuoareg-battery.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="179" src="http://2.bp.blogspot.com/-dr5C2BvNVMI/Tgg6HH2M6-I/AAAAAAAAAJM/bJKwoMfFWV0/s320/tuoareg-battery.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;However, VW have placed some funky little terminals in the engine bay (nearside) so you can charge it in situ. Red clip goes on the terminal under the little red cover (to left of photo); black clip goes on to the earthing stud (to the right of photo), which has a convenient lightning symbol etched onto it.&lt;br /&gt;&lt;br /&gt;Leave it for a few hours with a meaty charger, and life is back to it's fuel-guzzling, carbon-producing self. Would be easier if a nice publisher, such as Haynes, produced a workshop manual for this. Serves us right, I suppose for buying such a large vehicle, but a necessary evil, alas.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-5125603676063615524?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/5125603676063615524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2011/06/charging-battery-on-touareg.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/5125603676063615524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/5125603676063615524'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2011/06/charging-battery-on-touareg.html' title='Charging Battery on a Touareg'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-dr5C2BvNVMI/Tgg6HH2M6-I/AAAAAAAAAJM/bJKwoMfFWV0/s72-c/tuoareg-battery.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6978448.post-6330280398125679443</id><published>2011-06-26T20:50:00.000+01:00</published><updated>2011-06-26T20:50:08.190+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mac osx ios sdk download wget'/><title type='text'>Downloading Massive Files with a Mac</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Damn that slow broadband. I needed to download the latest version of the Apple Developer's iOS toolkit. A whopper at 4.1GB. The best I've ever got from my ISP is about 0.7M. I thought I'd click on the HTTP download link and leave it running overnight. Next morning: dismal failure at about 3GB, so no DMG file downloaded :(.&lt;br /&gt;&lt;br /&gt;Inspired by &lt;a href="http://ine.scripts.mit.edu/blog/2011/01/downloading-the-xcode-and-ios-sdk-on-a-slow-internet-connection/"&gt;this post&lt;/a&gt;, I had a go at WGETing the file instead, which should be a faster download, and automatically accommodate errors/breaks in net connection... but I had a few hurdles to clear:&lt;br /&gt;&lt;br /&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;OSX 10.6 doesn't have wget installed. I had previously installed the wonderful &lt;a href="https://github.com/mxcl/homebrew"&gt;Homebrew&lt;/a&gt; package manager, and allowed me to install wget with &lt;code&gt;brew install wget&lt;/code&gt;. Please note that you do need a version of the OSX Developer's Tools (ie, the one on your OSX install disc) prior to installing Homebrew. Worth installing Homebrew, just to make your future life much easier.&lt;/li&gt;&lt;li&gt;To use wget for the SDK download, you need to indicate to Apple that you have a Developer's account. To grab the cookie, install &lt;a href="https://addons.mozilla.org/en-us/firefox/addon/cookie-exporter/"&gt;Firefox's cookie exporter&lt;/a&gt;, log in to the the &lt;a href="http://developer.apple.com/"&gt;Apple Developer site&lt;/a&gt; and export (save) your cookies.txt file.&lt;/li&gt;&lt;li&gt; Navigate via Terminal to the directory you saved cookies.txt, then run the following:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;wget --cookies=on --load-cookies=cookies.txt --keep-session-cookies --save-cookies=cookies.txt https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_3.2.6_and_ios_sdk_4.3__final/xcode_3.2.6_and_ios_sdk_4.3.dmg&lt;br /&gt;--2011-06-22 19:09:30--  https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_3.2.6_and_ios_sdk_4.3__final/xcode_3.2.6_and_ios_sdk_4.3.dmg&lt;br /&gt;&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Sit back and make a few cups of tea, or strip your car engine, go for a long walk. Took about 5 hours, despite the download being interrupted twice. The SDK downloaded just fine and now I have the newer SDK and XCode tools installed.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-6330280398125679443?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/6330280398125679443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2011/06/downloading-massive-files-with-mac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/6330280398125679443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/6330280398125679443'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2011/06/downloading-massive-files-with-mac.html' title='Downloading Massive Files with a Mac'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6978448.post-2664502201655902550</id><published>2010-11-17T11:12:00.002Z</published><updated>2010-11-22T11:03:20.250Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='yahoo imap outlook mac'/><title type='text'>Yahoo IMAP in Outlook 2011</title><content type='html'>Just getting to grips with Outlook for Mac. Also discovered how to set up Outlook with Yahoo Mail using IMAP. Not sure if it makes a difference but I'm using the paid Yahoo mail service.&lt;br /&gt;&lt;br /&gt;Tools &amp;gt; Accounts&lt;br /&gt;&lt;br /&gt;Add new mail account - enter [from/reply to] email address and password and clear the 'Configure automatically'&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Server info&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;User name (without the @yahoo.com bit)&lt;/li&gt;&lt;li&gt;Password (should be from initial dialogue)&lt;/li&gt;&lt;li&gt;Incoming server: &lt;i&gt;imap.mail.yahoo.com&lt;/i&gt; and check the Use SSL (should default to Port 993)&lt;/li&gt;&lt;li&gt;Outgoing server: &lt;i&gt;smtp.mail.yahoo.com&lt;/i&gt; and check Override default port and Use SSL; set port to 465&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;That should be it, although to keep everyone happy, you might want to confirm your account name/password under outgoing server's 'More options'.&lt;br /&gt;&lt;br /&gt;I actually have my email address set to something else (a 'lifetime' email forwarding alias) and Yahoo seems pretty happy with that - although that's probably another benefit of paying to use the service.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-2664502201655902550?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/2664502201655902550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2010/11/yahoo-imap-in-outlook-2011.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/2664502201655902550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/2664502201655902550'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2010/11/yahoo-imap-in-outlook-2011.html' title='Yahoo IMAP in Outlook 2011'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6978448.post-2982117796923130614</id><published>2010-07-01T23:29:00.000+01:00</published><updated>2010-07-02T00:55:51.077+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='drupal cs5 dreamweaver development code'/><title type='text'>Coding Drupal in Dreamweaver CS5</title><content type='html'>I've used big IDEs in the past: all the Drupal gurus/ninjas/whatever use Eclipse, Netbeans or something way over the top. My big project programming days are well and truly over - kicked the arse out of it over the years in BASIC, Pascal, FORTRAN, CORAL, ADA, Java and C++. When I started using Drupal to build websites, my aim was to avoid touching its underlying language, PHP.&amp;nbsp; Managed that for 2 years, but recently have had to geek out to do a few cheeky things, either in the theming layer or some simple modules. My knowledge of PHP, jQuery and the Drupal API is pretty minimal, so need the following to write code:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Code hints (for PHP, jQuery and the Drupal API)&lt;/li&gt;&lt;li&gt;Code colouring (keep life simple)&lt;/li&gt;&lt;li&gt;Basic syntax checking (not debugging)&lt;/li&gt;&lt;li&gt;Integrated FTP and version control client.&lt;/li&gt;&lt;/ul&gt;Tried Smultron and TextMate, which are great, but can be a bit limited. With the relaunch of Adobe's Dreamweaver (version CS5) all of the above is now possible, with a load more CMS goodies (see &lt;a href="http://www.adobe.com/products/dreamweaver/?configListID=0&amp;amp;chapterID=0&amp;amp;npObjID=8"&gt;http://www.adobe.com/products/dreamweaver&lt;/a&gt; - and there's an intro on &lt;a href="http://www.lynda.com/home/DisplayCourse.aspx?lpk2=59959"&gt;lynda.com&lt;/a&gt; too). OK, you only get SVN support and no Git, but everything else on my list now works well.&lt;br /&gt;&lt;br /&gt;Here's how to set up Dreamweaver:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Find the Dreamweaver configuration files, MMDocumentTypes.xml (on OSX at /Applications/Adobe Dreamweaver CS5/Configuration/DocumentTypes) and Extensions.txt (on OSX at /Applications/Adobe Dreamweaver CS5/Configuration). &lt;/li&gt;&lt;li&gt;In MMDocumentTypes.xml add file extensions to the PHP section (you'll need to scroll through the XML to find it):&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&amp;lt;documenttype file="Default.php" id="PHP_MySQL" internaltype="Dynamic" macfileextension="php,php3,php4,php5,theme,module,engine,inc" servermodel="PHP MySQL" winfileextension="php,php3,php4,php5,theme,module,engine,inc" writebyteordermark="false"&amp;gt;&lt;br /&gt;&amp;lt;/documenttype&amp;gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;In Extensions.txt change the line ending in &lt;code&gt;: All Documents&lt;/code&gt; to include &lt;code&gt;MODULE,THEME,ENGINE,INFO,INC,INSTALL&lt;/code&gt; and the line ending in &lt;code&gt;: PHP Files&lt;/code&gt; and append the following extensions &lt;code&gt;MODULE,INC,THEME,INSTALL&lt;/code&gt;&lt;/li&gt;&lt;li&gt;Open Dreamweaver and edit your preferences:&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Code format: indent with 2 spaces; Tab size to 2 &lt;/li&gt;&lt;li&gt;File Types/Editors - open &lt;code&gt;.module, .theme, .engine, .info, .inc, .install&lt;/code&gt; in code view (add to the list of existing extensions)&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;Create your site locally and set up in Dreamweaver (Site &amp;gt; Manage sites). Then open any page and it should recognize it's part of a bigger thing.... so go to Site &amp;gt; Site-Specific Code Hints and set the 'Structure' to Drupal. Use the same process to add specific libraries (see following video&lt;object width="425" height="256"&gt;&lt;param name="movie" value="http://images.tv.adobe.com/swf/player.swf"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;param name="FlashVars" value="fileID=6375&amp;context=428&amp;embeded=true&amp;environment=production"&gt;&lt;/param&gt;&lt;embed src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=6375&amp;context=428&amp;embeded=true&amp;environment=production" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="256"&gt;&lt;/embed&gt;&lt;/object&gt;)&lt;/li&gt;&lt;/ol&gt;Err... that's it&lt;br /&gt;&lt;ol&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-2982117796923130614?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/2982117796923130614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2010/07/coding-drupal-in-dreamweaver-cs5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/2982117796923130614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/2982117796923130614'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2010/07/coding-drupal-in-dreamweaver-cs5.html' title='Coding Drupal in Dreamweaver CS5'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6978448.post-565436126654513840</id><published>2010-05-25T19:28:00.000+01:00</published><updated>2010-05-25T19:28:46.935+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='drupal theming links icons'/><title type='text'>Theming Drupal [Node] Links</title><content type='html'>I spent ages trawling the internet trying to find easy ways to change the little links that Drupal attaches to each node ('Add new comment') and either remove them, change them to icons or shuffle the order.&amp;nbsp; Options available include:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Write a custom helper module that implements hook_link_alter()&lt;/li&gt;&lt;li&gt;Make the changes inside the theme's template.php preprocess_node&lt;/li&gt;&lt;li&gt;Overwrite the &lt;i&gt;li a&lt;/i&gt; attribute with CSS&lt;/li&gt;&lt;/ol&gt;Option #1 just didn't work for me - it kept outputting the updated links in both the links ($links) and the categories ($terms).Option #3 was just bad. So I settled on #2:&lt;br /&gt;&lt;br /&gt;I wanted to create custom icons (rather than text) and remove a few links generated by the Feed API module; I also was using the &lt;a href="http://drupal.org/project/addthis"&gt;Add this&lt;/a&gt; module and wanted that to be the last link at the bottom of the page. So created some nice icons (I used the wonderful &lt;a href="http://www.famfamfam.com/lab/icons/silk/"&gt;FamFamFam Silk icons&lt;/a&gt; and a few custom drawn ones) and added them to the /images directory of my theme.&amp;nbsp; I then edited the template.php file in my theme and added the following function:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;function mytheme_preprocess_node(&amp;amp;$variables) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $patheme = drupal_get_path('theme','mytheme');&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $links = $variables['node']-&amp;gt;links;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; global $user;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Repeat following for each $links item you wish to change&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if($links['comment_add']){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; $links['comment_add']['title'] = theme('image', $patheme.'/images/comments_add.png', t('Add a comment'),t('Add a comment'));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $links['comment_add']['html'] = true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Remove link example: removes link to 'Original Feed' (Feed API)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; unset($links['feedapi_feed']);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Removes 'Login to post comments' link for anon users&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!$user-&amp;gt;uid) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unset($links['comment_forbidden']);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Simple way to affect order that links are rendered&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Move addthis to end of $links&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if( isset($links['addthis']) ) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; $addthis = $links['addthis'];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; unset($links['addthis']);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $links = array_merge($links, array('addthis' =&amp;gt; $addthis));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Reset node template links&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $variables['links'] = theme_links($links, array('class' =&amp;gt; 'links'));&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;And you should obviously customize accordingly. There's a little more explanation in '&lt;a href="http://frontenddrupal.com/"&gt;Front End Drupal&lt;/a&gt;' (Hogbin/Kafer - Prentice Hall 2009) pp163-165 which I highly recommend. I was also using the &lt;a href="http://drupal.org/project/print"&gt;Print&lt;/a&gt; module and there is advice on customizing the module's icons at &lt;a href="http://drupal.org/node/190173#themeicon"&gt;http://drupal.org/node/190173#themeicon&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_mMq6Ua0VSkc/S_wVk3Cb4RI/AAAAAAAAAIg/t4p5UA5egPM/s1600/links.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_mMq6Ua0VSkc/S_wVk3Cb4RI/AAAAAAAAAIg/t4p5UA5egPM/s320/links.png" /&gt;&lt;/a&gt;&lt;/div&gt;And this is the end result (Left to right: Add new comment, print-friendly view and 'Add This' button).&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-565436126654513840?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/565436126654513840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2010/05/theming-drupal-node-links.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/565436126654513840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/565436126654513840'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2010/05/theming-drupal-node-links.html' title='Theming Drupal [Node] Links'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mMq6Ua0VSkc/S_wVk3Cb4RI/AAAAAAAAAIg/t4p5UA5egPM/s72-c/links.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6978448.post-6553255429247556910</id><published>2010-04-06T03:38:00.000+01:00</published><updated>2010-04-06T03:42:13.639+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='drupal search customize error 404'/><title type='text'>Creating a Custom 404 (Page Not Found) Page in Drupal</title><content type='html'>In the event of an HTTP 404 error ("Page not found") this PHP snippet will render a site search form, but will take keywords from the user's erroneous URL and prepopulate. &lt;br /&gt;&lt;br /&gt;Create a new node (node/add/page), and ensure you can enter PHP code in your page body (check input filters).&lt;br /&gt;&lt;br /&gt;Insert the following code into the body of your new page:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;p&amp;gt;I'm sorry the page you are looking for cannot be found.&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;div id="error-search-box"&amp;gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;// check that the search module exists and the user has permission to hit the form&lt;br /&gt;if (module_exists('search') &amp;&amp; user_access('search content')) {&lt;br /&gt;$path = $_REQUEST['destination'];&lt;br /&gt;$keys = strtolower(preg_replace('/[^a-zA-Z0-9-]+/', ' ', $path));&lt;br /&gt;print drupal_get_form('search_form', NULL, $keys, 'node', 'Search this site');&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Save this new page (ideally with a custom URL of your choice: such as &lt;i&gt;/page-not-found&lt;/i&gt;) and tweak your CSS accordingly. &lt;br /&gt;&lt;br /&gt;So that Drupal will send users there when HTTP 404 errors are generated, go to admin &amp;gt; settings &amp;gt; error reporting (&lt;i&gt;/admin/settings/error-reporting&lt;/i&gt;), and set the default 404 error page to &lt;i&gt;page-not-found&lt;/i&gt; (or whatever). (You might want to do a 403 error page while you're here too).&lt;br /&gt;&lt;br /&gt;If the above phases you out, as with all problems Drupal, there's a module for that... the &lt;a href="http://drupal.org/project/thrifty404"&gt;thrifty404&lt;/a&gt; module will do exactly the above, but you'll need to do a bit of cunningness in the Drupal theming layer to customize it.&lt;br /&gt;&lt;br /&gt;And Bob's your aunty's live-in lover..!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-6553255429247556910?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/6553255429247556910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2010/04/creating-custom-404-page-not-found-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/6553255429247556910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/6553255429247556910'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2010/04/creating-custom-404-page-not-found-page.html' title='Creating a Custom 404 (Page Not Found) Page in Drupal'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6978448.post-5891131926392626641</id><published>2009-11-02T19:10:00.000Z</published><updated>2009-11-02T19:20:41.039Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='drupal drush php windows'/><title type='text'>Drupal/Drush on Windows</title><content type='html'>Spent the past 3 years getting very comfortable using a Mac/Unix environment, but have mainly been using a Windows Server at work for hosting my sites.  Now striving to reach Drupal ninja status, thought it was time to use &lt;a href="http://drupal.org/project/drush"&gt;Drush&lt;/a&gt; on the Windows [2003] server instead of just my DEV machines.&lt;br /&gt;&lt;br /&gt;Pretty easy to get the basics of Drush running, although kept getting these annoying 'Cannot find module (IP-MIB): At line 0 in (none)' errors in every command being executed on the MS-DOS CLI... Bit of Googling found that this is a PHP error because the MIB files need to be on every Windows drive that you are executing PHP scripts.  Even though my main website directories are on the D: drive, Drush is on my C: drive.&lt;br /&gt;&lt;br /&gt;So, solution is to find the \USR folder, then copy \USR\mibs to the root of each drive you want to execute Drush (or, indeed, any PHP scripts) from.  If you know tons about PHP (and I don't) you can probably disable the offending PHP extensions in php.ini - but in my case 'it ain't broke' so I'm going to leave as much of my PHP configuration alone as possible.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-5891131926392626641?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='enclosure' type='text/html' href='http://forums.devshed.com/php-development-5/cannot-find-module-ip-mib-at-line-0-in-none-328318.html' length='0'/><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/5891131926392626641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2009/11/drupaldrush-on-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/5891131926392626641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/5891131926392626641'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2009/11/drupaldrush-on-windows.html' title='Drupal/Drush on Windows'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6978448.post-8112042000325510931</id><published>2009-05-21T17:12:00.000+01:00</published><updated>2009-05-21T17:18:05.411+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mac osx parallels kernel components'/><title type='text'>Mac/Parallels Kernel Issues after upgrade to OSX10.5.7</title><content type='html'>I don't know if anyone else got this problem, but I recently upgraded Parallels then a few days later installed the latest OSX update to 10.5.7.  After that whenever Parallels was opened received the error:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;Are you sure you want to start the virtual machine?&lt;br /&gt;One or more kernel components loaded on your Mac are for another version of Parallels Desktop. If you start the virtual machine now, it may work incorrectly. To solve this problem, restart your Mac. If the problem persists, reinstall Parallels Desktop.&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Although I could proceed, Shared Networking stopped working, and Windows/Vista crashed a few times.  Searching around, found a sweet application to clean the duplicate kernel entries - published by Parallels.  Worked fine for me - although note it requires a Mac OS reboot.  I did not need to re-install parallels&lt;br /&gt;&lt;br /&gt;&lt;a href="http://download.parallels.com/desktop/v4/en_us/parallels/update2/Cleanup-Kernel-Extensions.app.zip"&gt;http://download.parallels.com/desktop/v4/en_us/parallels/update2/Cleanup-Kernel-Extensions.app.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-8112042000325510931?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://download.parallels.com/desktop/v4/en_us/parallels/update2/Cleanup-Kernel-Extensions.app.zip' title='Mac/Parallels Kernel Issues after upgrade to OSX10.5.7'/><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/8112042000325510931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2009/05/macparallels-kernel-issues-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/8112042000325510931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/8112042000325510931'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2009/05/macparallels-kernel-issues-after.html' title='Mac/Parallels Kernel Issues after upgrade to OSX10.5.7'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6978448.post-1928691969564966830</id><published>2009-04-29T05:49:00.000+01:00</published><updated>2010-01-11T18:06:59.841Z</updated><title type='text'>GoDaddy Hosting and FTP with Dreamweaver</title><content type='html'>Just a quick online snippet as this took me ages to sort out.&lt;br /&gt;If you have Dreamweaver and wish to use FTP to transfer your files, use the following settings in Preferences &amp;gt; Sites &amp;gt; Manage Sites &amp;gt; Edit &amp;gt; Remote Info&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Access: FTP&lt;/li&gt;&lt;li&gt;FTP Host: yourdomain.com (no ftp:// or www prefix please)&lt;/li&gt;&lt;li&gt;Host directory: subdomain/ (ie, the folder you have your subdomain within)&lt;/li&gt;&lt;li&gt;Login: GoDaddy Primary FTP user name (or other user name if you set that up)&lt;/li&gt;&lt;li&gt;Password: doh!&lt;/li&gt;&lt;/ul&gt;And on a Mac, I selected Passive FTP (on advice of &lt;a href="http://www.mac-forums.com/forums/web-design-hosting/55152-need-quick-help-ftp-dw-godaddy.html"&gt;this article&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;And, as they say in Paris: 'C'est la blaireau!'&lt;br /&gt;&lt;br /&gt;THAT'S THE BADGER!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6978448-1928691969564966830?l=snorkers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://snorkers.blogspot.com/feeds/1928691969564966830/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://snorkers.blogspot.com/2009/04/godaddy-hosting-and-ftp-with.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/1928691969564966830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6978448/posts/default/1928691969564966830'/><link rel='alternate' type='text/html' href='http://snorkers.blogspot.com/2009/04/godaddy-hosting-and-ftp-with.html' title='GoDaddy Hosting and FTP with Dreamweaver'/><author><name>snorker</name><uri>http://www.blogger.com/profile/03991712890476629494</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>
