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

Easylinks error when using apostrophes

When I use an apostrophe ('S to be exact))in the Site Description in Easylinks I get the follwoing error:

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Searh Engine' )' at line 15 query: INSERT INTO easylinks ( state, uid, sugestdttm, url, sitename, sitedesc ) VALUES ( 1, 1, 1152343478, 'http://google.com', 'Google .com', 'Google'sSearh Engine' ) in /home/username/public_html/includes/database.mysql.inc on line 120.

How to re-position attachment table

When a node is displayed that has attachments; the table of attachments is displayed at the bottom of the node content.

How would I re-position the attachment table to the top of the content?

John
www.drupal.com.au

server migrations issues

I just recently migrated from a server that I had been running to hosting my site on Site5. I did the typical migrate, dump sql, move all the files over (including .htaccess) and edit settings.php
The site works fine except that I can't login. When I go to the login screen everything looks as it should. After I type in my login info and click the button I just go back to the login screen. I've check the user table and all the data is intact. The version on my server works perfectly fine.

Please tell me what the variables are.

I have 4.6 with the internationalization module. I want the primary links to be language dependant (i.e. switch when you switch the languages). I am using spreadfirefox which has the phptemplate. I followed the directions in the internationalization module which says to add this code to the settings.php file.

$i18n_variables = array(
        // Site configuration
        'site_name',
        'site_slogan',
        'site_mission',
        'site_footer',
        'anonymous',
        // Node help
        'blog_help',
        'story_help',
        // User configuration
        'user_registration_help',
        'user_mail_welcome_subject',
        'user_mail_welcome_body',
        'user_mail_approval_subject',
        'user_mail_approval_body',
        'user_mail_pass_subject',
        'user_mail_pass_body',
        // Theme settings: primary and secondary links, logo, etc..
'theme_settings',
        // These are for PHPtemplate
    'phptemplate_primary_links',
    'phptemplate_primary_links_more',
    'phptemplate_secondary_links',
    'phptemplate_secondary_links_more',       
    );

It didn't work so I posted that I had a problem here:
http://drupal.org/node/60487

The person who made the module said I was using the variables from 4.7 not 4.6 (which is funny cause he make the install.txt file)

he said to add this:

/**

Adding files through the API

Drupalers,

I have a large number of files (in the thousands) which I need to add to Drupal. Obviously, I'm not going to do this by hand, so I am writing a script to do this. I have figured out how to create nodes for each document (node_save), but now need to figure out how to attach the files to the node. I looked over upload.module, but didn't understand it well enough to guess which function I needed to call.

Can anyone offer some ideas how I can do this?

Thanks!!!

how to control posts that don't word wrap

Hi I had this happen where a user posted and purposely ( i think) just typed the letter "X" about 40 on the subject and endless on the Body. I couldn't even scroll over to the right because it was long. Shouldn't it automatically wrap long lines like that?

What ended up happening was it screwed up the front page when it was posted. Everything was stretched to the right because the teaser subject and body was just long. Is there a setting that can control this from happening?

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Post installation