Auto fill drupal on installation

Hello,

I'd like to automatically fill a drupal website on the installation just like WordPress does. Anyone as an idea how ?

D6>D7 : add custom region in node-custom.tpl

hi

i would to convert my D6 themes into D7 but i cant add custom region in node-custom.tpl like for D6
i start from the D7 basic theme

in D6 i've in template.php :

<?php
function cyrano_ca_preprocess_node(&$vars, $hook) {
//Partie regions dans node.tpl- ajoute les regions utiles au node.tpl
 $vars['pole_bloc_G'] = theme('blocks', 'pole_bloc_G');
 $vars['pole_bloc_C'] = theme('blocks', 'pole_bloc_C');
 $vars['pole_bloc_D'] = theme('blocks', 'pole_bloc_D');
 $vars['col_G1'] = theme('blocks', 'col_G1');
 $vars['col_G2'] = theme('blocks', 'col_G2');
 $vars['col_G3'] = theme('blocks', 'col_G3');
...
?>

in D7 i try but it's not work,which function to choose ? :

<?php
function cyrano_er_d7_preprocess_node(&$vars) {
  
  /* Permettre l'ajout de regions dans les node.tpl pour le theming de node
 * http://www.victheme.com/blog/drupal-7-printing-block-region-nodetplphp
 */
        if ($blocks = block_get_blocks_by_region('region')) {
      $vars['colonne_c1'] = $blocks;
      $vars['colonne_c2'] = $blocks;
      $vars['colonne_c3']['#region'] = 'Colonne C3 - Theming de node';

  }
// Add a striping class.
  $vars['classes_array'][] = 'node-' . $vars['zebra'];
}

function cyrano_er_d7_preprocess_block(&$vars, $hook) {
  // Add a striping class.
  $vars['classes_array'][] = 'block-' . $vars['zebra'];
}?>

Drupal 7 multisite for windows

My set of drupal projects on my plate has now grown large enough so that I'm trying to figure out how multisite works on D7.x. I can find lots of documentation on D6.x and others, but I think there's a recent (consolidated) update from the 6.x docs to 7.x with WAMP/XAMPP somewhere - I can't seem to find it - does anyone know where this updated multisite documentation is? (I think on .../node/xxxxxx, etc)

Thanks,

Jeff

Since Update to D7 no more update report mails are sent

Hi,

since I've updated to Drupal 7, there are no more Update Reports sent, even if I set the email address in configuration and have the maintenance cron running. Any ideas?

Yours, Michael

Login problems

Dear members,

I just started learning Drupal. Using windows 7.

I installed a server on my computer with XAMPP, everything worked fine. Until I forgot my password, I auto-saved it and after wanting to preview my site (by logging out) I was locked out.

After googling I stumbled upon this site: http://drupal.org/node/1023428

And after receiving a HASH for the new password and executing it in my database, I'm still locked out. I've tried it a few times and double-checked the HASH-codes.

Problems with Image Styles and Images in General

Hope someone can help...

We have a new school website up and running using Drupal 7.2 and a customised marinelli theme (http://www.estonpark.co.uk). Everything is working fine except I cannot get a gallery to work I've tried two different solutions which work fine on a local MAMP setup but don't work on the live site.

The problem seems to be that the images are not being save to the appropriate /styles/thumbnail/public/ folders and their other variants such as medium, large etc. In some cases using a module such as media gallery from drupal gardens - drupal doesn't even create the appropriate folders.

On the occasions where the file is saved correctly or I manually create the folders and FTP the image to the server the page still displays a broken link.

I've tried/confirmed the following:

  • Changing the permissions on various folders including the 'default' and 'files' folders with no luck.
  • Cleared the cache
  • As mentioned created the folders manually and the uploaded the images via FTP
  • Recreated the image styles in the config > media > image styles page
  • Checked the 'public file system path'

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x