Drupal Modules

All drupal module development related questions should be post in this forum.

Problem with oauth tokens

Hi,
Today I just confronted one bug in one of my servers with twitter integration with oauth module.
The application was returning blank oauth token and was not able to work properly with twitter incontrast to local server or other servers.
After debugging a lot, I found the problem was with server date.
I just resolved it with setting up my server time to ntp.
ntpdate pool.ntp.org
BTW the server is slackware.

Help needed for drupal

Hi,
I needed help on making a website compatible with mobile based browsers too.
Did anyone yet developed such kind websites? if yes, could u plz specify the procedure how you did, and could u plz list out the modules and themes used?

Thanks in advance..

Can't connect to database

drupal_developer's picture

I downloaded Drupal 6.15, copied it to a new directory, created new databases on the database server, and started to go through install.php However, it cannot contact the database, even though I can connect from the command line. I can connect to the database with some simple PHP test scripts.

number of characters allowed

Can anyone tell me how to de-restrict the number of characters allowed for each question when using the webform module. At the minute it is limited to 128 chars, but I really need to increase this as I am building a fairly complex form which requires explanations at each question. I've had a look within the module but can't see where this is defined.

Any help is much appreciated, cheers.

Twitter Module Customization

drupal_developer's picture

I would like to thanks to the creator of this module for this incredible work.
I have observed some things that with which you can make twitter more better.
1) Nodes that are not published should not be posted to twitter. There may be approval process for nodes to get publish right?
2)Twitter passwords are not being encrypted which is not good. There should be someway to encrypt it while saving in db and when posting to twitter it should get decrypted.

title as optional in content types

I just wanna make the title in page or story content type as optional, right now its mandatory.
How can I do that?

any help is grately appreciated. :-)

Site not Functioning properly after transfer from one server to another

drupal_developer's picture

Transferred my Drupal site from my one server to another.
I uploaded all the site files, and imported the sql database. I then adjusted the settings.php file to reflect the database changes. It looks as if the database is functioning properly, as the homepage data is there, but any theme/css info is not there, and I can't reach the user/login page anymore.
Any instant help is highly appreciated.

how to change view, edit tabs url or add tabs if not there

drupal_developer's picture

garland theme:
just after
<?php print $breadcrumb; ?> in page.tpl.php file in garland theme add the following code :
<?php include_once('_tabs.php');?>
place this _tabs.php in the same folder where page.tpl.php file is
and in _tabs.php

<?php
$nid = arg(1);
$node = node_load($nid);
if ($node->type == "page") {
if (!$tabs) {
$url = $node->path ? $node->path : 'node/'.$nid;
$view = l('View', $url);
$edit = l('Edit', 'node/'.$nid.'/edit');
$tabs = "<li class='active'>$view</li><li>$edit</li>";
}
}
?>

How to change the Lable of "Body" ?

drupal_developer's picture

Most content types have this "body" field which is default. I tried to change the lable of it, but seems i can only use "content type" to ADD field, but cant remove/change the default one. Is there anyway to delete some and change some? This is really important:)

THnaks!!

how to retrieve the currently logged in users email address.

drupal_developer's picture

Does anyone have any idea how to retrieve the currently logged in users email address.

Attempted various methods such as;

if ( $user->email ) {
echo $user->email;
}
but to no avail.

any suggestions?

 

Free Web Hosting
v>