How many times have you done the good old print_r($var); just to find out what’s in the variable?
I have been using the devel modules for age’s but it still surprises me what you can find if you just look at some code every now and then.
How many times have you done the good old print_r($var); just to find out what’s in the variable?
I have been using the devel modules for age’s but it still surprises me what you can find if you just look at some code every now and then.
Often when you create a “Privacy Policy” or “Terms and Conditions” page you may have to link to another page within your drupal site. This can be a pain because you have to remember the full URL and you also have to know how to enter in HTML code.
Ever had the need to move a taxonomy list from one Drupal site to another? Instead of re-entering all the terms why not try the Taxonomy Import/Export via XML module. Even though the module name is “via XML” it actually supports XML, CSV and a couple of other formats. To keep things simple we’ll stick to XML.
The activity module is great for showing off site activities like newly created nodes and comments. But it can also be integrated with other modules like user relationships, flag or votingapi. To find out others check the contrib folder within the activity module.
DraggableViews gives you the ability to create a table view and order the rows by dragging them to your desired order. The module is in heavy development and we’ll be using the dev branch because it has the most bug fixes.
The video filter module let’s you add embedded video with a simple tag (
[video:url]) using a Drupal input filter. A whole bunch of video sites are supported check out the project page for more information.
There are two options when you want to create a FAQ page for your site. One is to hand code an HTML page which can be a pain or you could use the FAQ module and save yourself the nightmare of manually adding in HTML. The module creates a FAQ content type and a nice FAQ layout page.
The external links filter module adds a small icon to all external and mailto links. It’s great for notifying users that links are external. Requirements:
The user relationship module can be used to create relationships between users on your drupal site. In this example we’ll be creating a single relationship called “Friends”. Requirements:
Continue reading “How to install and setup user relationships”
When writing articles about drupal or anything that requires code to be shown, its great to have syntax highlighting just to liven up the page.
UPDATE: Setup GeSHi on Drupal 7