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

How do I get my homegrown module to override a theme function from another module?

How do I get my homegrown module to override a theme function from another module?

E.g. My homegrown module (let's call it qdiscount) wants to change the way product price is displayed. This is normally handled by the function theme_product_price in ecommerce/product/product.module.

Now, I know that if I have a theme called e.g. mymarine, then I can define a function called mymarine_product_price in mymarine/template.php, and that will override theme_product_price.

Image manager

Is there a way to manage images which have been uploaded with for example fckeditor. So A module which scans a directory with files, check if the files are in the source of the nodes (Only local images are allowed.)
and if they are not in the source there must be an option available to delete those images.

open Comments on a separate site

Hi there,

i`m looking for a way to open book or page comments on a separate site.
I was looking at the comments.module but found nothing about where to open the comments.

Has anyone an idea?

Regards
Helge

Making some module code available. Dynamic tree control for selecing freetagging parent

This is an experimental piece. It is a widget.

This module uses OAT.

This module is derived from the content_taxonomy_options module. (CCK and Taxonomy)
It creates a tree selector for a class.

In this widget in particular, the class that is selected is a parent for free tagging terms.
All the free tagging terms that are entered in the free tagging field become children of the term selected in the tree.
The taxonomy module needed a few changes so that this could function.
So, the altered source has been included.

Auction Module and Classifieds Module

Are there any modules that could be useful for an auction site or classifieds site?

Thanks.

Accepting input when installing with custom site profile

I'm using Drupal 5.1. I've created a profile for setting up a new version of my site with appropriate defaults. I'm running into an issue with accepting input though - namely, I don't see a way to do it.

I've read posts here and the profiles section in Pro Drupal Development, and there is no mention of being able to accept values from the user when setting up a new site. The form for database details is presented, but is there a way to extend it with my own form fields?

I didn't see a forum section for profile questions, so hopefully "module development" is correct.

Pages

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