sydneyDK's picture

Dynamic Redirects

I'm working on a module that needs to create dynamic redirects. For starters, I've installed the Redirect module, which allows me to create static redirects via the admin panel (and API for further development). I'm finding that although it does redirect to external sites, it only redirects within the current window and I'd like the redirect to occur in a new window. I'm thinking this may require some javascript script as well, but maybe I'm missing something or another module is better suited to my needs.

Seeking thoughts and advice from the group.......

Read more
ryan_courtnage's picture

Extending Custom Subscriptions with Notifications 4.x

Notifications version 6.x-4.x includes the Custom Subscriptions module. It allows for the creation of flexible event notification subscriptions, and exposes to the user a simple, no-nonsense interface for subscription management. Custom Subscriptions is also the recommended method for automatically subscribing users to notifications.

Read more
kayograco's picture

Active trails between two different menus

What I have:
A primary menu (one level depth) at the top of the page.
Some secondary menus to the right, that changes depending on primary links (controlled via Visibility).

What I need:
Primary links to stay active when secondary links activated.

You can see the project I'm working on at nexos

I'm a graphic designer, trying to evolve to serious web design with Drupal, and think I accomplished the theme task very well, but this challenge of active trails...

Read more
shaal's picture

How to disable false communication when working on DEV?

we have a LIVE website, with active (recurring) paid subscribers...
every month - they get charged on their credit card through paypal.

(so far - all good)

now - while creating the next version, updates, etc -
on DEV - we migrated all live user info and started working with it
and then - all our paid subscribers - got a false message - that their credit card cannot be charged!

my question is -
moving forward, as we are going to have automatic notification on content added, newsletters, recurring payment, etc.

is there any safe method / workflow -

Read more
BastouBach's picture

Help needed: is_dir() []: open_basedir restriction in effect.

I am still new-ish to Drupal.

I recently moved my site from local machine to a test online site. When I try to create content, I get this:

warning: is_dir() []: open_basedir restriction in effect. File(/Applications/MAMP/tmp/php) is not within the allowed path(s): (/var/www/vhosts/ in /var/www/vhosts/ on line 102.

Read more
gvanhoof's picture

How to add a "more" link to the block "Group members"


I am trying to figure out how to add a "more" link to the block "Group members" provided by OG.

The "more" link should link to /og/users/groupid/faces as you did for Drupal Dojo.

Thanks in advance,


Read more
PixelClever's picture

How to set a menu to not cache in Drupal 6

Hello Everyone,
I have been working with the new Drupal 6 hook_menu, and have discovered that hook_menu in D6 no longer accepts $may_cache or !$may_cache as arguments. I have a menu which writes out some links information dynamically, and I can't figure out how to stop it from caching the menu.

I have searched for an answer and I found a very vague reference to the use of hook_init and hook_link_save, but there was no example of how to implement this. Does anyone know how to to it properly?


Read more
PixelClever's picture

Where is data from CCK fields stored in database?

m working on a module that requires information from a CCK date field in Drupal 6. In version 5 the cck data was stored by content type, but now I can't figure out where it is. Can anyone tell me which table I would look at to find CCK data, specifically data from the date field module?
Any tips are appreciated... thanks.

Read more
PixelClever's picture

using hook_theme to style module output

Hello everyone,
I am writing a module that requires quite a bit of theming and I want to be able to use a tpl to control the layout of the page callback on a menu item. I have tried using the theme() function like so but I am getting a blank screen in response:

in the menu code: 'page callback' => 'featured_page',

the callback function:

function featured_page () {
$hello = "Hello world";
return theme("main_page", $hello );

the theme function:

function bookeditions_theme() {
$path = drupal_get_path('module', 'bookeditions');
$theme['main_page'] = array(

Read more
seaneffel's picture

Feed API + Emfield Recipe Screencast

The blog post on Drupaltherapy
Hosted on Blip

Here is a quick recipe that uses Drupal's Feed API, Feed Element Mapper, CCK and the Embedded Media Field to create independent embedded video nodes on your Drupal site by RSS. This is my first screencast and first contribution to the Drupal Dojo, I followed the specs on the other discussions as best I could, consider adding this to the Dojo video pool.

Read more
Subscribe with RSS Syndicate content

Drupal Dojo

Group organizers

Group events

Add to calendar

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: