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

having trouble with variables - should be easy

Hi, i have a script in one of my blocks that i assign a country pulled from a geoip site to $visitor_country_name. The block does what its suppose to do and displays the right thing for that country.

However.. when i try and use $visitor_country_name in another one of my blocks it isnt assigned to anything. Is there a way to make variables global in drupal? so i can call $visitor_country_name anywhere anytime?

Or is it limited to just one block?

can node comments be accessed from the forum?

I haven't ever used the forum module. Is there a way to access node comments from the forum module and treat the threads just like any other topic?

Forward Module

Hello:

I have a problem with forward.module, i think it is a error code, and this is the information i have obtained:

http://drupal.org/node/99684

Something with the same problem? whit a solution?

Thanks

Attachment management: sub directory for each taxonomy term?

Ok well i have looked at all the modules i could find and none of them appear to do what i need. I am looking for a way to manage the way files are handled when attached, i dont want everything to go into the "files" directory. What i would like is for a way to create subdirectories under the "files" directory for each taxonomy term, and then when someone creates a new node and attaches a file, that file will be moved or placed in the directory that the node is categoriezed under.

writing code to the header

hi there,

I want a modul to write an additional <link> element to the site header.

How do I do this? I didn't find a way therefor.

Hope you can help me.

regards, bloomaniac

translation of my module

hi all, i'm developing a module for drupal, a module for some biblio cards.
I'd like to translate my own module in a lot of language.
How can I start?
I've read I've to create a *.pot to distribute together the *.module.
But how can I create the .pot file ?

I don't know where to start..

Pages

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