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

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:

Simplenews - variable for username in email-body?

Hello,

I want to use "simplenews" and needs some help: I cannot find the varible, that inserts the user name for registered users in the newsletter.

How can help me?

Thanks

Anti-spam idea: anonymous link rejector

I'v been searching for a Drupal module that is the equivalent of Links Rejector for phpBB and No Spam by Guests for Simple Machines Forum... but I haven't found it (yet).
I've used both of the modules, mentioned above, and have (had) very positive experiences with it.

Pages

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