Hi everybody.
In a nutshell - how do I turn the right hand column on (globally).
Thanks in anticipation.
Philip
Hi everybody.
In a nutshell - how do I turn the right hand column on (globally).
Thanks in anticipation.
Philip
We need to know why it's off to answer that positively. Did you turn it off somehow? Or did your template come that way?
It should be controlled in Configuration > Layout Settings > Column Right Status - Global. The column widths and column box widths will also affect the display.
Hi Glenn. Thanks for that.
To explain more fully - my site was being built by a designer who has 'vanished', so I'm having to carry on myself. I am reasonably competent in osCommerce (NOT as good). I have mastered the theory of templates and discovered where my designer put mine.
The setting for the RH column is 1 (on). The width is 150px (Same as the LHS). I assume that a page overide exists but I don't know where to look!
Kind regards
Philip
Do you have a blank space where the column should be? Or does the center go all the way to the right edge?
There are two column width settings - column width and column boxes width, provided so you can have custom margin/container effects. They both need to be set to function properly.
It is possible to set a flag in /includes/templates/your_template/common/tpl_main_page.php to disable the right column (or other elements). Search that file for $flag_disable_right.
Hi again.
1) The centre section goes to the edge.
2) Both settings are the same at150px.
3) I've found several mentions of the flag you identified - all set to true except the *'ed one at line 19. Do I reset them all?
Thanks
Philip
Probably not. There are a couple of conditional settings, like thiswhich you should leave alone. If therre are any pages mentioned in the list, you may or may not want to delete them.PHP Code:// the following IF statement can be duplicated/modified as needed to set additional flags
if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
$flag_disable_right = true;
}
The instances around lines 19, 25 and 31 should all be commented out, as examples only.
The code near the end of the fileshould read as shown - it should be conditional.PHP Code:if (COLUMN_RIGHT_STATUS == 0 or (CUSTOMERS_APPROVAL == '1' and $_SESSION['customer_id'] == '')) {
// global disable of column_right
$flag_disable_right = true;
}