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

trouble installing Table Manager Module

Hello,
I copied the Table Manager module into the modules folder as per instructions. When I go to the administration page and open the Table Manager control panel I get this message:

user warning: Table 'drupal.tablemanager' doesn't exist query: SELECT tm.tid FROM tablemanager tm in C:\wamp\www\includes\database.mysqli.inc on line 121.

If I need to tinker with the file "database.mysqli.inc" how do I find line 121?

When I created a test table I got this:

* user warning: Table 'drupal.tablemanager' doesn't exist query: INSERT INTO tablemanager (tid, uid, name, description, header) VALUES ('', 1, 'test', 'test', 'a:2:{i:0;a:3:{s:4:\"data\";s:4:\"test\";s:4:\"type\";s:1:\"1\";s:8:\"required\";N;}i:1;a:3:{s:4:\"data\";s:5:\"test2\";s:4:\"type\";s:1:\"1\";s:8:\"required\";N;}}') in C:\wamp\www\includes\database.mysqli.inc on line 121.
* user warning: Table 'drupal.tablemanager' doesn't exist query: SELECT tm.tid FROM tablemanager tm ORDER BY tm.tid DESC in C:\wamp\www\includes\database.mysqli.inc on line 121.
* user warning: Table 'drupal.tablemanager' doesn't exist query: SELECT * FROM tablemanager in C:\wamp\www\includes\database.mysqli.inc on line 121.
* user warning: Table 'drupal.tablemanager' doesn't exist query: SELECT * FROM tablemanager in C:\wamp\www\includes\database.mysqli.inc on line 121.
* user warning: Table 'drupal.tablemanager' doesn't exist query: SELECT * FROM tablemanager in C:\wamp\www\includes\database.mysqli.inc on line 121.

How to debug module?

I'm new drupaler. I'm confusing with how to debug module.

Now, I want to develop a new blog client in Java with blogapi of drupal. I'm using Apache XML-RPC library. But when I submit blog which contained Chinese characters, the blog will show garbage characters.
I want to know the content of variable in blogapi. such as:

    $edit['title'] = $content['title'];
    $edit['body'] = $content['description'];

I want to print out the value of $content['title']. How to do it ?

Thank you

Fish

Javascrip in Drupal 4.7 Node Forms API

So, I'd like to do some DHTML stuff in a couple of my node forms. For example, I would like to show users different text boxes for completion based upon the selection of a radio button.

I'm familiar with the numerous was to do this outside of the Drupal forms API, but I'm wondering how to do this the Drupal way.

Here's an example of what I'm doing and would like to do:


<?php
/**
* Implementation of hook_form().
*/
function guide_form(&$node) {
$form['title'] = array(
'#type' => 'textfield',
'#title' => t('Guide Title),
'#required' => TRUE,
'#default_value' => $node->title,
'#weight' => -5);

$form['body'] = array(
'#type' => 'textarea',
'#title' => t('Guide Description'),
'#default_value' => $node->body,
'#weight' => -2,
'#rows' => 20,
'#required' => FALSE);

//I want to put a couple of radio buttons here to selectively display the pgid or suid textboxes
//Users should only be able to enter data for one or the other.

$form['pgid'] = array(
'#type' => 'textfield',
'#title' => t('Pagescribe Page ID (LibData)'),
'#required' => TRUE,
'#default_value' => $node->pgid,
'#weight' => 6
);

$form['suid'] = array(
'#type' => 'textfield',
'#title' => t('RQS ID (LibData)'),
'#required' => TRUE,
'#default_value' => $node->suid,
'#weight' => 6
);

$form['core'] = array(
'#type' => 'select',

creating a module to add options to the blocks form

I'd like to add 2 or 3 fields to the blocks form to be used for theming blocks. For instance, a "color" dropdown would be added and then that color selection could be used to set the color in the block theme template.

How hard would this be to do, and is there anyone who'd be interested in taking it on as a paid gig?

league module- a starting point needed

I'd like to start work on a module which I ultimately want to use for organising and reporting on an Online Gaming League although I want the module to be versatile so that it could be set up for various different sports. There is currently a module for php-nuke which does this kind of thing but I'm personally a big drupal fan and want to get a similar thing up and running for drupal. The php-nuke module is also very clunky (as is php-nuke...lol) from my experience.

I want the module to be used so that it can be used to input and record

+Players and there stats (although players will not necessary be 'users' on the site')

+Teams and which players belong in what teams

+When and where games are happening and what teams are participating

+a way of inputting post game information that will in turn then update team and player stats and produce a league table for teams (and also players) calculating the revelant points associated with a win/draw/loss etc.

+Possibly also a way of linking a match report node to a finished game.

I'm sure all this is possible but I have little or no experience with php and drupal module development, Just wanted to post to firstly make sure i'm not re-inventing the wheel (although I've searched and not found the wheel anywhere so I think I'm safe!) and secondly If anyone has any top tips on a starting point.

I am however worried that by even starting this I'd be biting off more than I can chew (being a non-developer), With this in mind if anyone knows of any tools that I could at least get some of these jobs done and import the results (standings) tables into drupal, please shout now!

how can we display 20-25 images in one page in tabular form

hello
i am new to drupal and want to display 20-25 images in one page in tabular form if u have any idea please help

Pages

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