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

Comment + rating module, help needed.

Hi,

I am trying to make a voting module, in which people can submit a rating within a comment for certain content (like the content type: image, but every contenttype should be able to be "voteable"). Now I am fairly new to drupal coding, but not new to PHP, and after checking out the nodeapi_example at drupaldocs, I am wondering if I would have to hack the existing comment module (since I want people only to be able to give a rating while writing a comment) or that this is possible to add to the comment form by an add-on module.

malicious modules, zen and the art of sleeping at night

Hiya!

Before I ask this...a mini-disclaimer:

I love drupal and am an avid supporter, promoter of the project. I have evaluated many CMS & community management/development tools for the web and drupal is miles ahead of anything else out there in my opinion.

The module list is getting very long. Which is great and in the spirit of open source, I know, but, am just curious about the following i.e. the risk of malicious modules, security, zen and the art of sleeping at night:

Page not found error- custom module

Hello,

I'm new to Drupal and to this Forum.

I need some help. I've developed a couple custom modules for a client, and now I'm on my third.

The module is for a list of Top 10's. (If I get it working, I'll submit it to the site).

I have a function for adding/editing and deleting Top 10 lists and it's called topten_configure(). I loads fine from a menu item under admin/topten.

I have a block and I want to have the list of Top 10's show up there and if a user clicks on the title of a list, they get the full list.

image.module and 4.6

Is there any planned support for image module and 4.6? I ask because I find no reference to it, which is perhaps essential for drupal. The present version (4.5 cv) is one of the few to break drupal.

Problem with Codefilter

I use the Codefilter Module and when I write the code between "code tags" it works.
But when I use the only output I get is this:

?

Here's my Code:

if(count($links)==1){
  array_pop($links);
}
else{
  $lastItem = array_pop($links);
  $lastItem = strip_tags($lastItem);

  $links[] = t($lastItem);
 
}
return $links;

Any suggestions?

meinolf
learn-php.de

Output filter development?

Hello,

I want to design an output filter that converts external URLs in all nodes to a format like "/exit.php?go=$URL", where exit.php is a PHP script that maintains statistics on what external URLs my visitors go to.

I looked at filter.module and it seems the HTML/PHP filters are all built in. I don't want to patch the filter.module though, if it can be avoided. How would I go about designing such a module? Where do I need to plug in?

Pages

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