We want to convert urls in content and menus to relative urls if they are local. ie.
from: http://my.example.com/~dev/?q=/node/30
to: l(/node/30) or ?q=/node/30
The motivation for this is so that links do not break when we move a site from dev to live. The url conversion must happen upon submission. Could someone suggest a way to do this. Something in wiki.module could be used for general content, but what about menus?
We have realeased a good 4.6 video.module then the past weeks worked hard
for the new 4.7 version (MAIN).
Now we have a patch for a bug in the 4.6 branch but I'm not able to submit
it to the 4.6 branch
I tried it but not luky with cvs... I'm getting:
cvs commit: sticky tag `DRUPAL-4-6' for file `video.module' is not a branch
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