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

Gallery mod_rewrite

Hello all,

Problem with check_output

Scratching my head over this... How comes this works:

$string = "hello world";
print check_plain($string);
if (check_plain($string) === $string) {
print "<p>match";
}
else {
print $string;
}

But this doesn't?

Input validation/conversion of urls

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?

cvs commit of a 4.6 module when cvs main is going for 4.7

Hi everybody!

I'm the maintainer of video.module .

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

Does someone could explain how can I do it?

file upload modiule does not work with procust module

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.

Can anyone help me?

URL Functions

Hi there,

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

Pages

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