This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Permission Access?

I've customised my own version of the story module and want to restrict read access to this module depending on their role. I've looked in /admin/user/permission and am unable to restrict read access to this module, is there anything that i could do to get around this please?

Cheers
Kam

Email Newsletter

I've uploaded a preview release of my Email Newsletter module to my sandbox.

WARNING: This is a work in progress, it should not be used except for testing purposes, don't use this on an active site.

This module creates email newsletters based on selected terms from the site's taxonomy. Subscribers can then filter which of these terms they would like to receive news about. On send out, the module personalises the email and includes only nodes that the Admin has allowed, and the subscriber has selected.

Once you've installed the module, and run the SQL to create the database tables that it uses, you will need some test users:

1.) Create a new role
2.) Give the new role permission to subscribe to newsletters
3.) Create new test users, with email addresses that will come back to you, assign these users with the new role you just created.

OK, now you're ready to create a newsletter, under Administration, look for the "Email Newsletters" menu.

Create a new newsletter.

Log in as each of your test users, under "My Account", "Email Newsletter", subscribe to the newsletter(s), edit which content you would like to receive.

As Administrator you are now ready to send....

Make sure you have a few nodes in the taxonomy terms you've selected for your newsletter(s).

Go to the newsletter you want to send, click "send now", enter a date range for the nodes you want to send (their creation dates), click 'Send".

Navigation module

Hi,

I'm new at all this and I'm working on the navigation module from release 4.4.1

I'd like to have the links displayed in a table like here (this is the hand coded site, nothing dynamic) AIESME.org rather than as a tab separated list as here Dev site

Any help would be greatly appreciated.

Problem: Filestore Temp Path Not Found!

I am trying to get the filestore module working. It seems everything is up and running correctly, yet I cannot figure out why none of the temp pathnames entered in the filestore configuration screen are found. This manifests itself in a "Filestore Error. Temporary Upload Path -- does not exist." I feel like a dork because it seems this should be a no-brainer. I can't find any forum topics that address this problem. Oh, and to guess your advice.. I am putting /tmp/, or /drupal/tmp, or any combination I can think of.

Theme function doesn't return content

I am trying to return a string through the theme function, the module is activated and when I goto myurl/wpiupd it returns the theme, but it doesn't contain my test string. If I replace the theme call with for instance "echo 'teststring';" it prints teststring on a white background. I am using Drupal 4.3.1, how can I make the theme function return my string?

here is the sample module:

function wpiupd_settings() {
// only administrators can access this module
if (!user_access("admin wpiupd")) {
return message_access();
}
}

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions