drupal

Update Drupal files path in database manually

Dragan Eror's picture

Move Drupal site from one subdomain to another subdomain in multisite Drupal installation easy with manually updating files path in database.

UPDATE files SET filepath = REPLACE (filepath, 'old/path', 'new/path');

Drupal Serbia community web site

Dragan Eror's picture
druplicon

A few days ago we started an official Drupal Serbia community website and first activity on it.

The first meeting we had in July in Novi Sad, where we agreed to move from the development community website and organizing content.

A few days ago we set a date for second meeting which will be on September 30, 2010. in Belgrade, where we will get to know future members of the community in Serbia, as well as to determine the future direction of community development...

CAPTHA After

Dragan Eror's picture

CAPTCHA After is a Drupal module developed by MontenaSoft which is finally released.
You can read more at MontenaSoft Blog post http://montenasoft.com/en/blog/captcha-after-module-released.
Well done Ivica :)

novus TAXI Novi Sad koristi Drupal

Dragan Eror's picture
in
novus taxi novi sad

Zvanični sajt Novosadskog taxi udruženja novus TAXI, od pre par dana korsiti Drupal kao osnovu za svoj sajt.

Kratak opis sa sajta:

Novus TAXI, prvi taxi koji je podigao TAXI uslugu u Novom Sadu, a i u Srbiji na jedan viši nivo!
Novus TAXI broji preko 100 novih Volkswagen vozila prepoznatljive žute boje.

Easiest way to untar multiple .tar.gz files

Dragan Eror's picture
tar-gz archive

Easiest way to untar multiple .tar.gz files

for i in *.tar.gz; do tar xzvf $i; done

How to setup Drupal cron job on GoDaddy hosting?

Dragan Eror's picture

I suppose there is more than one way to do that. This is how I did this...

First, you need to go to your hosting manager page
Then from 'Content' tab choose 'Cron Manager'

Create Cron Job (from top right button)

In the 'Cron Job Title' field write some title (example: 'your_domain cron job')
In 'Command' field you should write

/usr/bin/wget -O - -q -t1 http://your_domain/cron.php

and choose 'Hourly' from selection list.
From 'Minute' selection list choose on witch minute cron will run... (example: 'x:15').

Generic Syntax Highlighter - GeSHi

Dragan Eror's picture

Yesterday I found great Generic Syntax Highlighter class.
Searching more I found 'geshifilter' Drupal module for GeSHi class, after I was implement it into this Drupal site.

With GeSHi you can make your code examples more readable for users!

You can see examples of GeSHi below!

Drupal logout under site-maintenance offline

Dragan Eror's picture

This is my solution. Update site status directly in database. Please copy/paste next MySQL queries into terminal or into phpMyAdmin's SQL Query window!

First to do:

UPDATE variable SET value = 's:1:"0";' WHERE name= 'site_offline';

Second to do:

DELETE FROM cache WHERE cid = 'variables';

After that your Drupal website is back online and you can Administrating again ;)