Frontpage Regions?
skotmiller - April 4, 2008 - 15:01
| Project: | Ad Agency |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | skotmiller |
| Status: | active |
Description
I need the home page to look something like this (minus the content area and add a few buttons under the main graphic):
http://bescene.homeip.net/files/Picture2.jpg
Following these instructions:
http://drupal.org/node/65064
Changing this:
function ad_agency_regions() {
return array(
'left' => t('left sidebar'),
'right' => t('right sidebar'),
'content_top' => t('content top'),
'content_bottom' => t('content bottom'),
'header' => t('header'),
'footer' => t('footer'),
);
}To This:
function ad_agency_regions() {
return array(
'left' => t('left sidebar'),
'right' => t('right sidebar'),
'content_top' => t('content top'),
'content_bottom' => t('content bottom'),
'header' => t('header'),
'footer' => t('footer'),
* 'frontpage_top' => t('frontpage top'),
'frontpage_center' => t('frontpage center'),
'frontpage_bottom' => t('frontpage bottom')
);
}(*=line 18)
Causes this:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/mediapro/public_html/themes/ad_agency/template.php on line 18
And that is as far as I get. Any way I can add the regions, so I can setup a frontpage? Would the panels module be a better solution?
Thanks in advance.
