Blog
Syndicate content

Drupal: how to place the Tweet Meme Widget EXACTLY where you want

As you can see in this very article, there's a TweetMeme widget to the right. It's pretty convenient, as it allows any user to post your content to Twitter. And you get this just by installing and configuring the TweetMeme module. Ain't it cool? You get the widget located at the beginning of your node's content. Always. No matter where you really want the widget to be. No matter if you want the widget to be in any other place.

Ummm... that sounds a bit less cool.

So what? What can we do?

ImpressCMS: How to change a module's template without changing the original files

You can change the default templates of a module without modifying the original files. This process is known as "template overriding". Here's the process:

How to create an empty page (for Drupal) the easy way

This module creates a Void page. If you need a page to be populated only with blocks, you need the main content of this page to be empty. This is what this module does, as fast as possible. It performs much better than creating an empty module, for example.

Node reference and Views 2: How to define a "refers to nothing" filter

This was a problem I had some time ago, and I'm pretty sure this post will save time to some people.

The problem: Using a Node reference field and Views 2, how do I define a "refers to nothing" condition in the filters?

Solution by merlinofchaos: Add the node reference as a relationship. Then add the Node: Nid filter, set it to the relationship, and set the operator to Is Empty.

jQuery skinnable countdown plugin

jQuery Skinnable Countdown Plugin is a countdown plugin that creates a countdown to zero, showing days (if needed), hours, minutes and seconds, but it lets you do some other things:

ImpressCMS can resize images automatically in the template

ImpressCMS (1.2 Upwards) can resize images automatically if you tell it what images and where to put them. You just need to insert a Smarty tag in your design where you want the resized image to be.

Note: You can find updated info on the ImpressCMS Wiki.

What is Drupal good for, part one: Drupal is Bruce Lee

When you get into website building and maintenance, you soon realize that there is no such thing as a “good system for website building and maintenance”. Instead, there are solutions that are “good for this, but not good for that”. You have to choose between different sets of virtues and flaws, so you get the capabilities you need while living with its problems.

You choose the right tool for the job.

Drupal is a good tool. Even more, Drupal is a great tool, an awesome tool. Awesome for what?

What is a domain, what's a host, what's an IP?

 How does a website "appear" on the Internet? How does the magic happen?

If you're trying to put a site online, you've probably heard something about domains and hosting, and half of it sounds like a big mess. What's all that?

Stop SPAM in your Drupal site by being slow.

In this article on SPAM control, we created a tasty honeytrap for our SPAMbot. This trap actually catches about 98% of the SPAM attempts at my site, but we can do better.

The other article used the fact that SPAMbots fill all form elements, even those that are invisible to people. Now we're using the fact that they do it too fast. A person needs time to write on the form. A bot doesn't, unless deliverately the coder introduces in the SPAMbot the ability to wait.

Umfrage Polls module for ImpressCMS and XOOPS updated to 1.1

Ignacio Segura (Nachenko) and Juan Calzado (Debianus) proudly present our upgraded version for Umfrage, a polls module forked from XOOPSPoll.