drupal

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

Bartelme Design the "dark" theme converted to Drupal

I have almost completed the conversion of the "dark" theme to Drupal. There are still a few outstanding display issues - but for the most part it seems to work OK. I have to say that it was/is a lot of work - but I do like it...

paddy's picture

Just set up Flock to start blogging!

Just set up Flock to start blogging!

That was easy! As simple as point and press. This just can't be natural!

Blogged with Flock

paddy's picture

Updated to Drupal 4.7 and applied the lock tables hack

Finally updated everying to 4.7 and applied the home-grown lock tables hack.so far so good.

paddy's picture

Script.aculo.us scripts for Drupal 4.7

Attached is a scriptaculous module that implements many of the visual effects available on http://script.aculo.us/

Installation

  • unpack the contents to your modules directory
  • copy the template.php file to your theme directory - please be careful and not replace willy-nilly existing template.php files
  • if you want blocks to have special effects, use the block.tpl.php template provided as an example
  • if you want nodes to have special effects, use the node.tpl.php template provided as an example
paddy's picture

It seems that I need to update taxonomy_image and FCKeditor to 4.7

It seems that I need to update taxonomy_image and FCKeditor to 4.7 API

The CVS versions of both modules use the old forms API.

They need to be updated to use the new API - looks like I have an interesting evening in front of me...

paddy's picture

Amadain.net upgraded to Drupal 4.7 beta 6

Amadain has been upgraded to Drupal 4.7 beta 6.

The upgrade went without fault. Modules were turned-off, the base system updated, the database upgraded, modules updated and finally re-enabled.

I have one issue with the weather module - I can't edit the settings of the block.

I had to apply a fix to get the menu displaying properly. And apply a 'fix' for want of a better phrase to by-pass the LOCK TABLES problem.

The latter now causes a SQL error - I'll have to fix that this evening.

Oh - yeah - I still need to get taxonomy_image working.

paddy's picture

:-(( Drupal still requires LOCK TABLE permission

On testing Drupal 4.7 I was saddened to see that 4.7 still requires LOCK TABLE permission - only this time it's harder to fix.

Previously, the sole fix was in db_next_id in database.mysql.inc - of course such fixes are hotly contested and largey unsupported.

Now, two new functions have been added, db_lock_table and db_unlock_table. These are called to lock the variables and the cache tables in bootstrap.inc.

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 2 guests online.

pair Networks