Drupal is up and running but how do I ...?

Automatic node creation

I am currently making a node type that will require the creation of several other nodes whenever a page of this type is added. Is there a function that creates a new node automatically?
I couldn't find one in the API, but it seemed like such an obvious feature that I thought I must have missed it...

hard times with db_rewrite_sql

I'm using in a page template this kind of lines:

$result2 = pager_query(db_rewrite_sql("SELECT title, path, mid FROM {menu} WHERE pid = '30' ORDER BY weight ASC"));

In order to do some tricky stuff with the menu that I need to do. Everything was working until I loaded the i18n module. Now I get the error:

safari authentication blindspot?

Hi folks,
I administer a drupal based website. I recently had a report from a user that he was able to get back onto the site as an authenticated user, bypassing the login page, by simply clicking on a link in his history folder.

This was after he had closed the browser and - if he did it properly - cleared the cache.

How is this possible? Does Safari have some weird 'autosave privacy details' aspect he doesn't know about? Does he just not know how his browser's working and this is a non-issue?

How do plain vanilla Image insertion onto some pages

I'm a brand new Drupal user, but I have been building websites the hard way since Netscape 1.0.

And up until I tried to add an image to page I thought I'd died and gone to heaven after installing Drupal 6 hours ago.

... I don't want to have anything create automatic thumbnails from my images.

... I don't want or need galleries.

I simply have some photos already sitting up on my website, all sized perfectly and ready to go. And I'd simply like to add them to some of my Pages without as little fuss / headache / custom installation / re-compilation of PHP as possible.

I'd hoped putting a plain old <img src="/myimagedir/myfamilypicture.jpg"> would work. But it doesn't.

Why not, and what is the simplest possible path to getting a picture that already exists on my website into a page in Drupal?

Did I miss something in the docs?

Thanks!
Will

PS I installed the image and img_assist module without really having any idea what they do or how they do it. I get the error "be sure you have a working image toolkit installed..." but have no idea what an image toolkit is, other than (a) I don't have one and (b) if I don't have one I don't want one... I'm running a Mac OS X Server, and I want to change nothing on my pefectly-working server, and I *really* don't want to re-install PHP or install *any* extra image software when everything on my system *except* drupal handles plain old html img tags just fine.

user warning: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right

when i activate og groups module i get this error on my new register user page http://okotoksinterd.ca/user/register
and when i deactive groups modules all my content desperate and i get the welcme message of after the first installation

php-mysql problem

Hi folks
when i create a php form using drupal page for entering some data into database , i can insert things into the tables , but i can't retrieve it for displaying or using it as foreign key for entering it into another data. I even can't check out wht error is there as no error fuction or php functions like print_r are working . What is the solution ?

Pages

Subscribe with RSS Subscribe to RSS - Post installation