Blogs

paddy's picture

Luxembourg brings iPhone country count to 75

Exactly what I have been waiting for....

To quote from Apple 2.0....

paddy's picture

Create project releases on Drupal CVS

Flow of a simple module file in CVS

I wanted to create a release of both the Dark and Sodelicious themes, and had an interesting time doinf it.

There is a lot of information on the Drupal website, notably the CVS quick-start guide for module and theme maintainers (http://drupal.org/handbook/cvs/quickstart).

In short, I had to clean up all the branches I had mistakenly created by
cvs tag -dB DRUPAL-6--1
where DRUPAL-6--1 is the branch name to be deleted.

paddy's picture

Automatically backup Drupal databases through cron

With my hosting provider I have all Drupal sites installed under my public_html directory. Each Drupal instance uses a different database. I could generate a mysqldump command for each instance - but that would become out of date very quickly with the immanent upgrades to version 6.

The solution was to create a small script that searches all the sites folders for a settings.php file, extracts the relevant database connection information, and dumps and gzips the database.

paddy's picture

ImageMagick on Mac OSX

For variuos readons I need ImageMagick. Finding a good package can be problematic, and finding one that has all the re-requisites can be even more problematic.

libjpeg

I downloaded libjpeg, extracted the source and
./configure --enable-shared --enable-static --prefix=/usr/local
make
sudo make install

libpng

Again, I found the source for libpng and
./configure --prefix=/usr/local
make
sudo make install

paddy's picture

Blog Theme for Expression Engine convert to Drupal

I have never used the Expression Engine (EE) before, so this is a complete experiment. Let's see how it goes...

page.tpl.php

From what I can see, EE has a file called index.txt that displays almost everything. This file is our page.tpl.php candidate.

  • Remove the {assign_variable:master_weblog_name="journal"}
    {assign_variable:main_template_group="bartelme"}
    from the beginning of the index.txt file
paddy's picture

Convert a Word Press theme to Drupal

The example WP theme I am trying to use is sodelicious_black.

page.tpl.php

Combine header.php, page.php and footer.php into on new file called page.tpl.php. In this new page.tpl.php file:

paddy's picture

Added "The Dark Theme" to Drupal Themes

I have just added The Dark Theme to Drupal Themes. I thought that it would have been harder than it was. Here is what I did

  • export CVSROOT=:pserver:_userid_@cvs.drupal.org:/cvs/drupal-contrib
  • cvs login (entered password when prompted)
  • cvs checkout -l contributions/themes
  • cd contributions/themes/
  • cp -r _path-to_/dark .
  • cvs add dark
  • cvs add dark/*
  • cvs dark/images/*
  • cvs commit -m "Initial commit."

Later I made an update to the screenshot, so I have to create a new version, as follows

paddy's picture

Postfix, Amavis, SpamAssassin, dspam and ClamAV working together on Mac OSX (Leopard)

After my recent upgrade to Leopard, I decided to upgrade my mail system which includes Fetchmail, Postfix, Amavis (SpamAssassin, dspam, DCC, Razor, ClamAV) and Courier-IMAP.

paddy's picture

Beer runners’ flour trail a recipe for trouble

Hashers around the world beware!! Make sure you keep the receipts from the supermarket for your flour when setting your trails...

*Pair arrested after marking a powdery path through IKEA parking lot*

Two people who sprinkled flour in a parking lot to mark a trail for their offbeat running club inadvertently caused a bioterrorism scare and now face a felony charge.

The sprinkled powder forced hundreds to evacuate an IKEA furniture store Thursday.

paddy's picture

Updated the navigation controls in drupal

While working on customising my theme, I noticed that all the symbols with the 'first', 'previous', 'next' and 'last' all ended up as question marks.I changed them to their numerical equivalent, and even though the symbols re-appeared, my HTML validator plugin in FF complained.So I did the following..

Get Firefox W3C Markup Validation Service W3C CSS Validation Service drupal.org | Community Plumbing Taylor McKnight  -  //gtmcknight Creative Commons License Irish

Syndicate

Syndicate content

Who's online

There are currently 0 users and 10 guests online.

pair Networks