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

New Drupal module : filmreview.module

I've created a film review module by playing around with the bookreview.module developed by Jeremy Andrews. This is my first module and I'm not sure how to go about releasing it.

You can see it working at:

http://www.cloudsoup.com/films/goodbye_lenin

If anyone would like a copy, or help release it officially, drop me a message.

Drupal 4.6 title module becomes freelinking module ?

Just noticed after upgrading to 4.6.0 that many links are not working anymore. This was because I used the title module input format filter. However, a similiar module seems available now called freelinking.

*URL FORMAT*
Title module:
site.com/title/red+apple
Freelinking module:
site.com/freelinking/red+apple

*USAGE*
Title module:
[title|url], one-bracket use
Freelinking module:
[[title]], ability to use text to describe link is gone

image.module tmp error

I'm having this error when creating new images

warning: opendir(/tmp//mc-alex): failed to open dir: Permission denied in /var/www/drupal/modules/image/image.module on line 1202.
warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal/includes/common.inc:344) in /var/www/drupal/includes/common.inc on line 155.

The tmp folders are set up right, or at least they seem to be, because the images get uploaded correct.

Has anybody the same problem. I'm Using Drupal 4.5.

profile.module: browse users matching two name/value pairs?

I suck at SQL and especially at INNER JOIN, so maybe someone can que me on how to accomplish the following:

*** find all the users in database matching profile query *** :
q=profile/first_name/first_value/second_name/second_value

Current code inside profile_browse does the following (only for the first_name)
$query = "v.value = '". db_escape_string('first_name') ."'";

How to restrict possible parent nodes in book page creation?

I am trying to develop personal books, where a user can add pages only to his or her own books.

How can I restrict which nodes can be the parent when creating or editing a book page? Specifically, I want to restrict possible parent nodes to nodes with a toplevel parent that matches certain criteria -- ownership, taxonomy terms, etc. I thought I could do this with the node_access API, but now I don't see how I could exclude nodes from being possible parents without also preventing the user from viewing them.

Thank you,
Evan

Custom design forms with option to automatically add field content to taxonomy

Hi,

Before I start delving in module development it might be smart to see if something simular already exists. I didn't find it on the modulepage. At least not with all the requirements below.

I use 4.5.2 and it seems this will be the version I have to use for a while because my hosting company uses an older version of php.

Pages

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