Closed (won't fix)
Project:
Acquia Marina
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2009 at 23:33 UTC
Updated:
22 Dec 2009 at 07:39 UTC
Hi All
Unfortunatelly preface region can not be controlled by the visibility settings...
Any idea how to resolve?
Found this in PHP template
function phptemplate_preprocess_page(&$vars) {
// Remove sidebars if disabled
if (!$vars['show_blocks']) {
$vars['sidebar_first'] = '';
$vars['sidebar_last'] = '';
}
Modified to this:
function phptemplate_preprocess_page(&$vars) {
// Remove sidebars if disabled
if (!$vars['show_blocks']) {
$vars['sidebar_first'] = '';
$vars['sidebar_last'] = '';
$vars['preface_first'] = '';
$vars['preface_middle'] = '';
$vars['preface_last'] = '';
}
What else do I have to change?
Comments
Comment #1
jwolf commented