hey there,

i'm having troubles with the theme: i cannot add any blocks to the side-bars, only the header, content, and footer ones are editable - i even cannot see the region displayed with the yellow mark such as the header+footer region does. i manually added a template.php with following code:

<?php
function foliage_regions() {
  return array(
    'left' => t('sidebar_left'),
    'right' => t('sidebar_right'),
    'content' => t('content'),
    'header' => t('header'),
    'footer' => t('footer'),
  );
}

anyhow i still can't edit the right+left-sidebars.
btw: my url to the theme is http://riddimculture.com/_v1

thanks & cheers from germany

Comments

margae’s picture

Status: Active » Closed (fixed)

Hi Metzgerr,

thank you for downloading the theme and for reporting this issue.
For the start I'd like to ask you not to use any Drupal 6 release prior version 6.x-1.2.
Are you sure that you downloaded the Drupal 6 version? After looking into the source code of your website I saw the table-based code of the Drupal 5 version.

By answering your support request I am now adressing the Drupal 6 version:

  1. Foliage natively supports all block regions that you mentioned in your issue and so there's no need to add them manually.
  2. For Drupal 6 the naming conventions for some block regions have been changed:
    $sidebar_left became $left, $sidebar_right became $right and $footer became $footer_message.
  3. Additional block regions are not defined in template.php anymore but in the .info file.
    You can read more about this subject here.
METZGERR’s picture

Hi Johann,

thank you issue solved, works great with the new release!