austgl / gantry-framework

Automatically exported from code.google.com/p/gantry-framework
0 stars 0 forks source link

Display Component in Advanced tab does not work #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
First I apologize about my poor English.

What steps will reproduce the problem?
1. Turn off the Display Component button.
2. Refresh the website
3. The template continues showing the component.

What is the expected output? What do you see instead?
I was expecting that the template does not show the component.

What version of the product are you using? On what operating system?
Joomla 2.5.1
Gantry-Framework 3.2.17.
Linux, Windows.

Please provide any additional information below.
There is a variable called "$display_component" in the "body mainbody.php" 
layout.
This variable is never used.
I guess that an "if" statement is missing before to call ob_start() function.
For instance:
if ($display_component == false) return '';

Original issue reported on code.google.com by solerdi...@gmail.com on 20 Mar 2012 at 3:29

GoogleCodeExporter commented 9 years ago
Please ignore this bug report. I was wrong when I wrote it. I apologize.

Original comment by solerdi...@gmail.com on 20 Mar 2012 at 4:44