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

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.

User Profile Set Up

I set my User Profiles up without any mods. I like the way they turned out but weighted categories don't work with it. Currently it's account settings/additional info/contact info/experience. I want it accounts settings/contact info/experience/additional info. How can I fix this...if it's possible.

Thanks for any/all your help.

Disable cache through db changes, not web changes

I am getting white screne errors. I have already dumped the cache, sessions, and accesslog tables. Previous form threads say to disable the cache but they do not give instructions on how to do that when you have no web interface.

Views Error Message

After uploading views & applying the mod I got this error:

Views

warning: Invalid argument supplied for foreach() in /home/dawnsweb/public_html/okkjs/includes/form.inc on line 637.

Can anybody tell me why or how to fix it? Thanks. :-)

Pages

Subscribe with RSS Subscribe to RSS - Post installation