Blog

Posted by: 
Dominique De Cooman

The jquery scrollto is now available to drupal by using this project:

http://drupal.org/project/jquery_scrollto

For more on the jquery scroll to plugin http://plugins.jquery.com/project/ScrollTo

Posted by: 
Dominique De Cooman

This first project is used to make your interface localized easier. The second project is an API to look for translatable strings and translatability errors.
http://drupal.org/project/l10n_client
http://drupal.org/project/potx

Posted by: 
Dominique De Cooman
Posted by: 
Dominique De Cooman

The main function in drupal to format a date is the format_date function which will take the formatting and timezone conversion you configured at http://yoursite/admin/settings/date-time and http://yoursite/admin/settings/date-time/formats

<?php
//format_date($timestamp, $type = 'medium', $format = '', $timezone = NULL, $langcode = NULL)
//An example convert the unix timestamp for now 
?>

Posted by: 
Dominique De Cooman

In this post adding a setting from php to your jquery script will be explained through an example: Adding an api key as a variable to our query script.

Posted by: 
Dominique De Cooman

As we all know drupal has a default front page which shows a view of teaser nodes promoted to front.
Most sites will replace this page with something else.
But we might forget that we can still go to this page. You might want to remove it.
A simple trick to do this is to make it go to the page not found.

Posted by: 
Dominique De Cooman

In terminal:

First install libevent:

cd /usr/local/src/
wget <a href="http://monkey.org/~provos/libevent-1.3e.tar.gz
tar">http://monkey.org/~provos/libevent-1.3e.tar.gz
tar</a> zxpfv libevent*
cd libevent*
./configure
make install

Download and install memcached:

cd /usr/local/src/
wget <a href="http://www.danga.com/memcached/dist/memcached-1.2.4.tar.gz
tar">http://www.danga.com/memcached/dist/memcached-1.2.4.tar.gz
tar</a> zxpfv memcached*
cd memcached*
./configure
make install

Posted by: 
Dominique De Cooman

Legrandbateau is a brand new French/Flemish band playing Jazz, Bossa, Tangopop, Rumbarock.
You should definitely check them out!

Posted by: 
Dominique De Cooman
When working with taxonomy, especialy large vocabularies with deep hierarchies the standard taxonomy module isnt enough to manage your vocabularies. To maintain the vocabulary in drupals backend the most obvious choice is http://drupal.org/project/taxonomy_manager
Posted by: 
Dominique De Cooman

In the command line type

crontab -e

Press your insert key.
Insert a line, run every five minutes for example (more on syntax http://unixhelp.ed.ac.uk/CGI/man-cgi?crontab+5)
5 * * * * /usr/bin/lynx -source <a href="http://yoursite.com/cron.php
">http://yoursite.com/cron.php [/geshifilter-codes]

And now exit: press escape and type ":exit"
By exiting you are saving and you wont be prompted.

Pages

Subscribe to Blog