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

RSS feed creation examples? (help needed)

Hello - This may be (and probably is) a dumb question but Im looking for a way to cutomize the RSS feed my drupal site generates. As best I can tell this is done with the hook_nodeapi of the module I created and the node_invoke_nodeapi of teh node.module file. Is this right? If so are there any examples I can look at to base my code off of and figure out how to go about it? Thanks in advance.

Q: hook_menu

I am trying to dynamically show a new page for a custom node that I have created. I want the url to be something like:

site.com/assault/ar15/images
site.com/assault/m16/images
site.com/shotguns/mossberg500/images

where the regular url alias that I created for each node is:

site.com/assault/ar15
site.com/assault/m16
site.com/shotguns/mossberg500

My question is: How would I add the 'images' path to the end of the URLs dynamically and then be able to call the 'images_page' function?

I am thinking something like:

Image.module Error

Hi, i'm trying image.module to work.

I uploaded the whole folder on module/ and enabled it, but when i click on settings / image_gallery, i get this error:

Fatal error: Call to undefined function _image_check_settings() in C:\apachefriends\xampp\htdocs\Drupal\modules\image\contrib\image_gallery\image_gallery.module on line 19

What's wrong? Please help.

RSS feed creation

So here is the situation. I have created several customized nodes that read and write to thier own tables in the drupal database. For my site there are also nodes that have (essentially) no customization and write to the core tables. Now the issue is that when I go to generate my rss feeds from my content the customized nodes display absoutly nothing whereas the other nodes actually have the proper content. Is there some code I need to add to my modules to make sure they generate the appropriate feed?

bloks visible on specific pages

I create a node and give it the alias mydomain.com/c/sports

i want a block to be visible only on page c/sports

i try on block admin to make all these
c/sports
c/sports/*
'c/sports'

seems not to work

anyone can help please

Saving form fields to the database

Hi,
I have added a form to og.module to display the og groups a user is assigned in the edit user form (the code is below).

function og_user($op, $edit, &$account, $category = NULL) {
global $user;

Pages

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