Select element __doPostBack

Hi,

I want to be able to post back using the onChange attribute of a select element. Is there built in support in Drupal for this or must I implement my own __doPostBack() javascript function?

Thanks.

Nathan.

Main text area breaks html in IE and Spreadfirefox

I'm working with Spreadfirefox theme to build upon that on a site i'm creating for young people. But i have just noticed that the main text area breaks the html in Internet Explorer (i.e. it shifts to the right by about 200-300px). Works fine in Firefox. This is on where you enter text for new node creation, new comment creation, etc...I think it is to do with the new resizable text area found in 4.7. I also feel the solution will probably lie in some css layout mathemetics and calculations for the columns but have tried and still can get to to come into line.

AJAX start help for an attempt to build a digg.com/reddit.com clone

My "Vote up/down" project http://drupal.org/node/48774 is an attempt to build a digg.com/reddit.com clone. (Project not approved yet so download from cvs.)

Adding more elements into the "Submitted By" area

Within the "Submitted By" area of my nodes, I'd like to display a bit more information about each user. Everyone is going to have an expanded profile and I would like to show the 'Company' and 'Title' next to their name (using the standard delimeter "|").

I've already setup the expanded profile. The field names are:
profile_company
profile_title

Looking at my node.tpl.php file, Im assuming this is handled by the $submitted variable. Where can I add those extra fields to show up?

Updating drupal to latest CVS?

I have a sanbox website I'm working on to get online and I would like to continue building this site with the latest CVS of drupal installed. Does the community have a guide on taking a 4.7 installation thats working and moving into CVS..

I'd just go ahead and replace files etc etc.. but I'm nervous about the database having a new reference or something strange. Or is there an upgrade utility that will take 4.7 to latest cvs?

Unable to connect to database server (but other scripts can, with same settings)

Hi,
I just tried to install Drupal on a Linux server where I have total root control.

From Drupal, I get "Unable to connect to database server" but if I use the same username, password, hostname, databasename in a script of my own, it works just fine.

The only difference is that my test script does it this way:
$dbh = mysql_connect('localhost','dbname','password');
mysql_select_db('dbname',$dbh);

Password has only char and digits...no special chars of any time
Username is simple as well (just char)
dbname also has just char

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x