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

Custom welcome module

The following is custom home page module. I want to call blog, story, quotes etc., in a menu.
By default all the blogs will be displayed, when a user clicks on story to display all the stories, similarly for quotes.
I went through the api and found that by calling blog_page the entire blogs posted will be displayed respectively for other nodes.

I am struck in calling the function menu, how to call the theme to display the output ?

php code ....

.... Implementation of hook_menu()....

affiliates module from spreadfirefox

I have a copy of the affiliates module used on http://spreadfirefox.com . It lets you create affiliate links with specific paths and banners for your site and provides a point system for tracking user success, also a block to display recent affiliates. I've been authorized to release it to the drupal community. It just needs an update for 4.5, but that may only require a few lines for node_access issues. Should be very simple for someone not as daft as me.

Image.module full size image mod

I'd like to modify the image.module. Simply when somebody clicks on the "original image" a new page layout should come up with the full size image in the middle. Can you give me pointers as to what needs to be changed in the image.module and how to include the full size image into a new page layout?

New Module: Story List

I created a new module called "Story List" for my site, and I'm wondering if there's any interest in it making it available for others to use.

The purpose of the module is to provide functionality similar to Slashdot's story browser. It displays a list of stories, showing only the first 150 characters. The user can choose to only view stories associated with a specific term.

Where should shared external libraries go?

If external php libraries are utilized in a module but they could be of use to other module developers, is there a special shared folder where they should be placed?

I've noticed most other module devs simply create a sub-folder in their module's folder that contains its dependencies but this doesn't seem ideal as you could end up with multiple versions of the same external library within the one drupal installation.

Does drupal specify guidelines on this?

Brian.

img_assist not working with flexinode nodes

I was curious if anyone else has had any issues with using img_assist with flexinode on 4.5.x?

I have uninstalled htmlarea for testing (there are compatibility issues with htmlarea as well), but it appears that img_assist will work correctly with blog/page/story/etc nodes, but not with flexinode nodes. When attempting to attach images to flexinode nodes, pressing the submit button just appears to be a dead link. Am I missing something?

Pages

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