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

Need help in creating a form

First off, I've been asked to create a leave application form on Drupal platform for my company. I've tried the Survey and Forms modules to achieve my task but couldn't. I know how to create simple form using PHP. However, in order to get it working with Drupal. I really don't know where to start.

OG Content Time Useless?

when I make a read only OG group where no content type is allowed then all I have to do is to subscribe a different group which then in turn allows me to pick that audience from the 1st group and the posting occures?!

Rating for each individual comment

How do I make it such that visitors can leave a rating only when they're submitting a comment on my nodes?

And have the average rating from all the comment ratings displayed within the node?

I found the fivestar module but the rating was on the node itself and not on the comments.

Love to have something like this;

http://www.imagepear.com/images/1899commentrating.jpg

I appreciate any help. Thanks. :)

hook_form_alter doesn't work for nesting menu form elements

I'd like to include additional form options within the menu fieldset on node create/edit forms using hook_form_alter with my own module. However, my form element additions don't display. The weird part is that everything works if I want to nest on other fieldsets like 'options'.

When I do a print_r of the $form array, every other form element appears except for the menu form elements.

Any ideas?

Automatic cck fields created when user clicks add - for staff list on content page

I've been searching the forums/issues areas and haven't found the answer (wrong question probably).

I would like to create a department content type that includes a listing of department staff. I would like to have the staff members name (full name), title (select list) and phone number(s). These staff members won't necessarily be registered users of the website, it's more of a department directory on one content type/group named department.

Blocks

Greets!

I am working on my first module for Drupal for an online radio station. Now, we are wanting to create block content, and I've followed parts of the module development tutorial, but my issue is with the block not displaying. The .info and .module files are both in the same folder, so is another file that is used in an includes call. I'm hoping someone can point out what I've done wrong because I can't seem to figure it out for the life of me. :P

Here is what I'm currently working with as part of the block hook:

Pages

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