Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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.
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 ()
and if they are not in the source there must be an option available to delete those images.
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.
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.
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.