I have intalled ecommerce module and afeter that I have enabled upload module.
When I add a product, upload module does not show button "Attach" below browse file. When I edit the product it shows me "Attach" button. In edit produst I am able to upload attachmet, but in add I could not attach. I thought it may upload file when I upload product, but its not working.
I have looked through the drupal docs and the forums without much success.
I have a hook_block function where i would like to read in the current URL specifically the current node (if any). Can I access this via a built in drupal function?
I figured that has to have already been done somewhere in the page life cycle of building a drupal page but I can't find it or figure out what function I can call to get the current url, specifically q?=node/62
I have installed ecommerce module and looking to integrate following features
* sample chapter download before purchase
* either download file from server on payment or order physical copy
Hi, I am hoping someone with some better knowledge of PHP can help me here. I am trying to integrate plogger into my drupal web site. Plogger can be seen in action here: http://www.plogger.org
I have tried to work with Gallery2 but it just is horrible. Plogger is much simpler and very nice looking. I thought it would be fairly straight forward to implement, since you can include the gallery on any page with just a line of code.
When I post a form, with a get method, in the url I have a problem with [ and ] chars. For example, if I post a value called "name", made with drupal api (4.7), the name in the form is edit[name], but when I post it with a get, in the url the variable is: edit%5Bname%5D=value and I have problem to retrive the value (in the form I lost the value). I use Drupal 4.7
How I can retrive the values of this form variable?
Google started paying a $1 per referral to get people to download firefox and the friendly folks at www.explorerdestroyer.com created some javascripts to that detect the browser and display a friendly message encouraging the user to download firefox if the user's browser is ie. I packaged this up in a quick drupal module so that if you want to use these scripts with drupals you just need to download the module and add a couple lines to any phptemplate theme.