I recently moved my Drupal set up from root (/) to a subdirectory (/drupal). But the image URLs generated by img_assist are not containing the "/foo", so I am not able to see any images.
I've already posted this on the general discussion forum but didn't get any reply.
I'm developing an ecommerce site for a commercial activity that needs to sell their products online.
I've currently developed the product catalogue and plugged in the shopping cart fucntionality.
One problem I get is that I get a blank page whne I try to checkout.
But anyway, what I'm really interested in is in how to go on about credit card payments.
I heard PAYFLOW and SECURE PAY could be two good options to use for it.
I need a hook that stops a user from being deleted if it has unpaid bills in the database. In my module, I believe I can use hook_user to catch 'delete', but can I actually fully cancel delete and display an error message with the reason?
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.
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?