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

League module

Is there a module for league?
like this one:

laene.nl/fb/

Post method for forms

Hi,

I my module, I've created a form that works perfectly when #method value is get - I access parameters with $_GET array.

When I change this value to post, I can't retrieve parameters with $_POST array - it is empty.

I think this is due to the type of item I have set in my hook menu :

Classified module.

Hey all,

I have to post a free classified, which should accept the classified in following form

1. Section
2. Category
3.Title
4. Description
5. Email
6.Add Images

Did there is any module already developed?

Please help.

Thanks n regards,
paresh kendre

Duplicate entry "" for key 2

Hey all,

Please help me, am facing the following problem while updating the record....

Please help...

Addnode list Error

Hi,

i have to create a create a formular with much informations for user, and some functions that are'nt so easy.

I'm happy that i found the module "Addnode", wih this module i can select a data and the data will give to the textfield beside, this is create, but there are 2 problems.

1. i got this error if i insert an addnode list:

table only created once

I'm running into a bug which is just about to drive me insane. I'm developing a custom form for my website which once the form is submitted stores the info in a database. My problem is: I install the module once, then I make a change in my database schema so I drop the database and use the devel module's 'reinstall module' function to reinstall it. But the problem is the hook_install in my module isn't called again. But as soon as I move the code to a different drupal installation it installs just fine.

So I can install the module once but never again.

Any help would be greatly appreciated. BTW, if I'm just doing something really stupid, I apologize in advance -- this is my first Drupal module.


function custom_shirts_form_install() {
drupal_set_message(t('Beginning installation of customShirtsForm.'));
switch($GLOBALS['db_type']){
case 'mysql':
case 'mysqli':
db_query("CREATE TABLE {custom_order_bids} (
bid_id mediumint(9) unsigned NOT NULL auto_increment,
num_shirts int(10) unsigned NOT NULL default 0,
shirt_color varchar(20) NOT NULL default '',
who_design varchar(20) NOT NULL default '',
total_cost varchar(20) NOT NULL default '',
price_per_shirt varchar(20) NOT NULL default '',
name varchar(100) NOT NULL default '',
email varchar(100) NOT NULL default '',

Pages

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