View Full Version : Removing the right column
tommyxv
05-19-2005, 06:19 AM
Can anyone tell me how to remove the right column all together?? I am running a fixed width of 750 px, and woulds like more room for the articles and photos. So I want to move the info in the right column to the left, and completely remove the right column on all pages.
Thanks
Bjones
05-19-2005, 11:23 PM
It would be nice to have a version of the existing templates that are both fixed and stretch that are left column only. Just pile everything up over there, and then we can take out what we don't want.
Chris S
05-20-2005, 03:31 AM
Hi,
You'll need to modify the base templates in the templates/template_name/ folder (template_name is whatever template you're currently using, check the settings page).
Each html file has:
<td class="RightColumn" rowspan="2">%%Panel.DefaultRightColumnPanel%% </td>
[php]
You'll need to adjust each of the tables accordingly.
Actually probably an easier way is to edit the panel.
Jump into the templates/template_name/Panels/DefaultRightColumn.php file and lines 20-23 are:
[php]
function ParsePanel()
{
$parsedPanelData = "";
Change it to be:
function ParsePanel()
{
$parsedPanelData = "";
return $parsedPanelData;
and it won't show those columns at all. The HTML code will still be there (it will just be an empty column) but this will be a quicker change...
Can anyone tell me how to remove the right column all together?? I am running a fixed width of 750 px, and woulds like more room for the articles and photos. So I want to move the info in the right column to the left, and completely remove the right column on all pages.
Thanks