Quantcast
Channel: monline - Drupal
Browsing latest articles
Browse All 10 View Live

Picasa Web Albums random photo block in Drupal

There's already a picasa module for Drupal, but if you just want a random photo block and not the complete integration stuff (custom node type and nodes for all the photos), then you might find my...

View Article



Small glitch with upgrading to new CCK in Drupal 6

I had a small problem with upgrading the CCK module during the transition from Drupal 5 to Drupal 6. I use the Link module to have a link field (the field name is "url") in a custom content type...

View Article

Image may be NSFW.
Clik here to view.

Drupal + Taxonomy + Tagging + automatic references in nodes

I just had an idea. I know: what a rarity! It'd be nice if the field API of the coming Drupal release (v7) would support adding fields to taxonomy. I'll explain why ...read more

View Article

Image may be NSFW.
Clik here to view.

Regular calls to Drupal cron.php scripts on a server with a number of Drupal...

Calling the cron.php of a Drupal site is fairly easy. You just have to put something similiar into your server's /etc/crontab:0 * * * * www-data test -x /usr/bin/wget && /usr/bin/wget...

View Article

Spamicide for Drupal

http://drupal.org/node/744560#comment-2833258"The purpose of Spamicide is to prevent spam submission to any form on your Drupal web site. Spamicide adds an input field to each form then hides it with...

View Article


Image may be NSFW.
Clik here to view.

mysql_connect and ‘No such file or directory’

http://blog.mpdaugherty.com/2010/06/02/mysql_connect-no-such-file/ This blog post helped me a lot ... probably it'd have taken a few hours to figure out why mysql_connect() dies with a "No such file or...

View Article

How to get the list of nodes that have custom (not pathauto automatically...

It's quite simple. Here's the code snippet based on the current version of the 6.x pathauto module. You can run it eg. via the devel module.read more

View Article

Making PHP session expire (in Drupal and in general)

http://www.rymland.org/en/blogs/boaz/2_jan_09/making-php-session-expire-drupal-a...(...) Modern Linux distro's, say Ubuntu (8.10) comes with a default PHP configuration of session.gc_probability = 0....

View Article


PHP + LDAP + SSL (LDAPS) authentication in Windows running Apache

I tried to set up LDAPS (LDAP + SSL) based authentication in a Drupal site, but it didn't want to work. Here's how I managed to solve the issue.read more

View Article


Image may be NSFW.
Clik here to view.

How to prevent pasting of images (with a "data:image" URI scheme) into...

Let's first take a look at what I'm talking about. Firefox (starting with version 4) supports copy+paste of images into HTML textfields using the data URI scheme. This is nice for embedding small...

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images