Postponed
Project:
Flexiblock
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
25 Jul 2005 at 22:50 UTC
Updated:
6 Aug 2005 at 21:52 UTC
This is already achieved with wgSmarty, which detects Flexiblock and doesn't generate the legacy sidebars if it is present.
Achieving the same by hacking PHPtemplate would be possible, but less than ideal.
Needs revisiting after further thought.
Comments
Comment #1
djnz commentedIn flexiblock 1.8 changes were made so that flexiblock blocks are independent of legacy sidebars. The PHPtemplate theme engine still looks for blocks for the sidebars (using two SQL queries) but if no blocks are assigned, the queries will return no blocks.
It would be good to remove the unnecessary queries, but this requires changes to PHPtemplate so it isn't going to happen as part of this module. The hack is easy so perhaps just providing instructions to comment out generation of $sidebar_left and $sidebar_right is a good idea.