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

favorite nodes module help...

I am trying to include a users' favorite nodes in their user profile. I have a custom user_profile.tpl.php working and so far I have inserted several php snippets to add the functionality I want.

I have tried to use the php snippet that adds a list of nodes from a certain taxonomy term, but so far I've had no luck.

My thinking is that the favoritenodes.module creates the taxonomy term "favorites" and that this snippet will list a given number from the "favorites" taxonomy. This has not been the case. I am getting no return.

Programatically determining filesystem path to drupal files directory

Hi,

Is there a way to determine the server filesystem path to the drupal install directory? I am writing a module that reads the fienames of all images in a subdirectory in 'files' (i.e., the value of the file_directory_path system variable) and formats HTML for displaying the images -- a very simple image gallery generator that allows you to upload a bunch of images via FTP. However, I can't figure out how to get the filesystem path to the files directory. Is there a way to programmatically generate this? Or do I have to have the user set it in the module settings?

Pass arguments to add node.

Hi,
I'm having a problem developing a product review module.

Basically, i have two node types: products and product_reviews.
Each product can have many product review.

Now, on each product page, i want to add a link "write review" that take to /add/product_review for the user to write a review.

on the add review page, i could add a drop down for the user to choose the product he's reviewing, but it will soon become huge.

category.module trying to install but get some errors

I am trying to finish off installing the category.module but I get some error when I try to add a container, where can i go to get help with this?
I have looked on the website but there doesnt seem to be any one with errors???

Hope some one can help, thank you.

gallery2 module in multisite ?

i install a multisite drupal, and 2 of them i install gallery2 module.

i just want to know, if the rewrite can work in the multisite mod?
and how can i insert pics from gallery when i write blog?

i tried with g2image , after edit its config.php and tinymce's plugin_reg.php ,i can see the g2image button in tinymce.

hook_view not happening in 4.7 ?? huh??

I have a simple-ish module that creates node from a flickr stream, and then rechecks from the flickr api up to every 48 hours.

I just upgraded to drupal 4.7, and now it seems that the hook_view is not being called anymore....

I've disabled the module, and enable it again

i'm lost as to what to look at next.
Has the hook changed??

any help is greatly appreciated

my module file is flickrphoto.module

Here's my hook, that's not being called.

Pages

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