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

not displaying images propery in image gallary

hello
i am new to drupal and want to display the images one after other but actually when i upload it and submit it displays one current image there and by cliking one the link it displays lisk of images that i submitted but it is not display one after other it is displaying randomly

Remove "content" link from site path

Hello,
I've done it before on a diffrent site I just don't remember how.
I seem to recal there was a module that allowed you to customize the path of your content. What I'm trying to achieve is to remove 'content' from the site path in my header so when I click on content I see "Home/My Page" rather than "Home/content/My Page".

How can I do this?

Thanks

getting errors in flexinode 4.7 when I don't fill in the image field

anyone else have this problem? in the code it looks like flexinode deals with image fields not being filled in but when I set up flexinodes it gives me errors if I don't select an image. I'm really confused.

Jay

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',

Pages

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