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

Category Module confusing

Hi all

I've been using drupal for more than a year, but recently I came across category module and am very confused with it. I tried going through the tutorial on the author's site, but after that I still couldn't make a proper category. I just want something simple:

container > category > content

but my content just doesn't appear in the category for some reason.

How to make two different pages for URLs 'site.com/mypage' and 'site.com/mypage/'?

How to make two different pages for URLs 'site.com/mypage' and 'site.com/mypage/'?
I used page_example.module as example to write my module prints page with URL 'site.com/mypage'.
I registered function only for 'site.com/mypage':

action buttons

I am building a module for drupal 4.7.

I want to create 2 buttons on a form.
1 to submit, 2 to go back.

$form['button1']['submit'] = array('#type' => 'button', '#value' => t('Save') );

$form['button2']['submit'] = array('#type' => 'button', '#value' => t('Back') );
$form['button2']['#action'] = url('user/register'); //change this to the link location

But the Back action overwrites the save action.

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

Pages

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