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

Customizing image layout

Sorry for the dumb question, but i don't know how to customize an image node (example).

I did personnalized layout for image galleries with a "image_gallery.tpl.php" file, following instructions given on drupal.org, but it doesn't seem to affect the single images, which still display like regular nodes.

incorrectly displaying french characters

Hi All,

I am developing a multilingual site in english and french but am having problems with some of the french characters. (The fact that it is multi-lingual doesnt really have much to do with it I think.)

if you goto http://cust-art.com/fr/node/371 you can see the problem. If you scroll down to the bottom of the page you will see a table with text: Qualité la photo. Except instead of é it is a wierd character (that is different in IE and firefox!). The wierd thing in the same table you can see the word Sépia which is displayed correctly.

The text on the right of the table (e.g. Sépia) comes from custom fields of a flexinode.
The text on the left of the table (e.g. Qualité la photo) comes from the code. I have a function to print text :

function msaText($s) {
   static $msaStrings = array(
	'QualityPhoto' => array("Quality of the Photo", "Qualité de la photo"),
	'Background' => array("Background", "Fond"),
	'Character' => array("Character", "Personnage"),
	'Options' => array("Options", "Options")
   );
   $lang = (i18n_get_lang() == 'fr') ? 1 : 0;
   if (isset($msaStrings[$s][$lang]))
      return $msaStrings[$s][$lang];
}

and then i usually do $content.= msaText('blah'); and eventually print $content;

So the special characters that I print through the print command dont work, the ones from node fields do. Do i need to call a special function before printing?

How to update/upgrade modules?

For example, the Pathauto module now says “Download latest release (4.7.0, 06/10/2006 - 04:46, 22.02 KB)”

But I downloaded and installed it two weeks ago so I’m assuming bug fixes has been carried out since, so how do I upgrade my current one to this latest one?

Also there are some patches that needs to be added such as the one here, http://drupal.org/node/65736, how do I go on about adding that? There’s no instillation explanation provided.

Thanks.

Image.module: wrong path information when download methode "private"

On my multisite Drupal 4.7 installation, I have a problem with the image module (v. 197.2.3): Somehow the word "system" gets injected into the path to the pictures if I set the download method to "private". My settings are:

File directory path: sites/pre.mysite.com/files
image default path: images

How can add notes above the Comment Box?

How can add notes above the Comment Box?

I want to add my own informative notes above the comment box so those who want to leave a comment are able to see it.

Moderation on User Roles?

After searching the Drupal site, I still can't seem to figure out how to moderate a single user role.

If I have "Authors under Review" and "Authors," how do I allow Authors to publish their Stories and have Authors under Review's Stories go into a moderation queue? I don't want Authors being able to administer nodes (e.g. they can't edit someone else's stuff), just allow the default for their role to be published/promoted and those under review to go into a moderation queue, no matter what content type they are submitting.

Pages

Subscribe with RSS Subscribe to RSS - Post installation