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

Noderate module

For a project I'm working on, I've created a new, highly-flexible module for rating nodes. (Yes there seem to be a few of those, but I didn't realize that when I started writing. :-) ) It allows for unlimited user-based rating axes on any node and unlimited "calculated axes" based on those for totals. It's still a bit rough and could use some cleanup and documenting, but it's functional. I'll be adding more calculation options shortly as well, but wanted to get it posted for others to see and offer feedback.

front_page mod (how to display sticky first and only promoted stories)

I'm new to drupal but I'm already hooked. I figured out how to do something I thought was going to be hard.. but it was very easy. I'm very impressed with drupal and hopefully this post will be usefull to someone in the future.

I wanted the front_page mod to show only stories that are "promoted to the front page" AND list the sticky stories before all others. By default front_page shows ALL stories and orders by the time they were posted.

the code:

adding comment threads to custom module

I have written a custom module which tracks my client's customer cases. The case data is stored in a separate database table. I would like to add a comment thread for each case record. What's the approach to implement this? Should the case records be treated as nodes? Is it a matter of adding a corresponding record to the node table for each case?

All comments/suggestions appreciated.

weblink mod

This morning I’ve been playing around with the weblinks module, I’ve just been trying to find out where the title is defined, the line below appears in 3 different place in the mod. but when I upload the modified version I don’t see the change to the module I’ve flushed the cache and still get this problem…

Are the any other steps that need to be taken when uploading modules

Using a subdomain installation of Gallery2 (G2) with gallery.module

Hey folks,

I'm trying to use Gallery2 (G2) with Walkah's gallery.module. I want to install Gallery2 on a subdomain, e.g: http://gallery2.mysite.com, whereas my Drupal installation is in the root directory of the domain, e.g: http://www.mysite.com.

However, when I go to Administer / Settings / Gallery in Drupal. It doesn't seem possible to put a subdomain as the location of my Gallery2 installation.

_view hook

Hi,

I'm trying to use the _view hook in module I called "links" (Drupal 4.4.1), but for some reason the function I created(links_view) is not called(I put echo "something" and it doesn't appear). Why it's happening?

Thanks in advance.

Pages

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