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

customizing comments.module independently of category links.

this is probably bad form, but i was a bit irked since comment module adds itself to the links array, which also outputs the categories, so you get a bit less control over the display if you wanted to distinguish between the category link(s) and the "add a comment" link, for example.

a quick search and replace of "$links" to "$commentsLink" in comments.module, and then adding print $commentsLink to your theme (i use phptemplate for my engine) lets you have quite a bit more formatting power over that section of the output.

front_page with drupal 4.6.4 and latest PHP not working

Hello,

I am getting a error when using front_page on my new 4.6.4 with latest php version. The adminstration settings page just gives "Array" text and two buttons. All other modules are working fine. I was wondering if anyone has a fix?

Thanks,
John

Updated Googlemap.module - multiple maps/feeds/custom icons/lines

I have taken over the development of the GoogleMap Module created by bjornarneson. We are in the process of updating CVS but I wanted to announce some changes and updates to the module:

Core Functionality
- Multiple maps: each map is now a node
- Multiple RSS feeds: imports any number of local RSS feeds
- Custom icons: Specify a custom for each feed
- Lines with custom color (per feed level)
- IE compatibility (I hope, see the Lines nodeAPI below for caveats)

See an example of this: http://island94.org/node/15

You can get an advance copy here (or wait for the CVS, there still may be a few bugs to squash): http://drupal.org/files/issues/googlemap-2005-12-1-1624.tar

Added Functionality
NodeAPI for Lines: allows lines to be drawn at a node level (no easy way to create the line...yet, I'm looking at incorporating some of the functionality of GMap Filter module). Lines are then injected into the RSS feed. I use the tag "line" but I am not sure if this will create a namespace collision anywhere (this may break IE).

Additionally included
- Fullfeed.module: Because Drupal 4.6 caps feeds at 15 items, this module creates entire feeds of content. Code is ripped from taxonomy.module, so for a feed of term 1: /fullfeed/taxonomy/term/1/0/feed. I understand this can also be useful for getting your site indexed.

Images - which of the module is ready for 4.7, and which would be best

Hi

I have not found information about image handling in the HEAD / CVS version of Drupal.

Wonder, which would be the module ready for 4.7 and which would allow best the inclusion of images, thumbnails etc.. Is tehre a "one-for-all" solution ?

Thanks for input and advice.

Roland

amazon items / compare new reviews with old

I was thinking about this today as I was adding reviews to my site. Eventually I am going to add a duplicate review. Is there a way for amazon items/reviews to check(by asin or something else) already posted reviews so as not to post duplicates? I could probably search myself but if it search when I previewed or submitted a review and alerted me to the duplicate, maybe with an option to overide and post anyway?!?

How to enter data into users.data from a module

I'm creating a module that emails users once their account has been approved. To do this, I need some sort of way to mark each account to tell if it has been changed, and if an email has been sent. Could I use the users.data database field for this?

I'd like to try to do this without imposing a new database table. This is why I'd like to use something existing, like the users.data field.

If this is possible, is there a programmatic (perhaps through the drupal API) way to do this? ANy examples or suggestions would be greatly appreciated - thanks.

Pages

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