Placement of blocks Right & Left only

creatorsdream - May 4, 2006 - 06:44
Project:Sands
Version:HEAD
Component:Rendering issues
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I just installed the latest cvs of sands and drupal 4.7 final release and have learned that only the right and left sidebars are available for placement of blocks. Is there any way to fix it to display all available placement areas? Bluemarine is working as expected but not Sands. I had all areas available when I was using drupal 4.7 beta 6. But not anymore. This is a very nice theme! I hope it can be upgraded to the final release of Drupal 4.7.

#1

Samat Jain - May 4, 2006 - 06:54

Last I checked, Sands broke (i.e. looked bad) when blocks were placed elsewhere other than the left and right sidebar.

If you want all regions to be accessible, you can edit template.php included with the theme. Look for and remove the function "sands_css_region".

#2

Samat Jain - May 4, 2006 - 06:55

Er, rather, the function sands_region.

#3

creatorsdream - May 12, 2006 - 09:13
Status:active» closed

Thanks for the tip. I did find the problem while learning how the sands theme works. The culprit was at:

function sands_regions()
{
  return array(
    'left' => t('left sidebar'),
    'right' => t('right sidebar')
  );
}

I removed this section, and to be honest, I've been making so many other changes, that I don't know if simply deleting will fix it. I know once I removed it, the other regions became available.

 
 

Drupal is a registered trademark of Dries Buytaert.