Hello friends,
What i should edit to have 2 columns one left and one main column in http://www.webdesigncut.com/storei tried editing the left and right tpl files but i am making a mess i want the left column contents just below the right col?
What i should edit to have 2 columns one left and one main column in http://www.webdesigncut.com/storei tried editing the left and right tpl files but i am making a mess i want the left column contents just below the right col?
the tricky way is :::: just delete all code in column_right.tpl in folder \catalog\view\theme\default\template\common
and change all your right column module to the left one (Set all module position to the left column).
it's work for me
and change all your right column module to the left one (Set all module position to the left column).
it's work for me

Hi therefili wrote:the tricky way is :::: just delete all code in column_right.tpl in folder \catalog\view\theme\default\template\common
and change all your right column module to the left one (Set all module position to the left column).
it's work for me
I am in the same boat of creating a 2 column page, and was looking at the left column and right column file. However, both of them have the same code:
Code: Select all
<?php foreach ($modules as $module) { ?>
<?php echo ${$module['code']}; ?>
<?php } ?>
Thanks
WAAHOO!! I got it going.
To explain it, you have to go into your Admin settings > Extensions > Modules and edit to set the position to the left.
Thanks heaps
CHEERS
To explain it, you have to go into your Admin settings > Extensions > Modules and edit to set the position to the left.
Thanks heaps
CHEERS

My friend, you have to delete the code in the right column file as fili already mentioned:Purebeads wrote:I did that -- I set all modules to the left column, but it didn't make the right column disappear.
That should work. Unless someone has a more appropriate way??the tricky way is :::: just delete all code in column_right.tpl in folder \catalog\view\theme\default\template\common
and change all your right column module to the left one (Set all module position to the left column).
P.S If your using a custom theme like me, then the file should in column_right.tpl in folder \catalog\view\theme\myTheme\template\common and not in the default folder
if u like it, you can use this template,,
http://www.opencart.com/index.php?route ... _type_id=1
2 column OpenCart template, but sorry not too perfect
http://www.opencart.com/index.php?route ... _type_id=1
2 column OpenCart template, but sorry not too perfect

Create 2 columns from Default template is very easy one:
In theme/yourThemeFromDefault/template/common/home.tpl in very first line comment out line which calls for column_right variable:
After this, your right column should dissapear, but there still will be placeholder left, that's because the #content div has right-margin set to 190px. You need to change this in main css file. Find rules for #content and delete line:
And you should be OK and have 2 column layout.
In theme/yourThemeFromDefault/template/common/home.tpl in very first line comment out line which calls for column_right variable:
Code: Select all
<?php #echo $column_right; ?>
Code: Select all
margin-right: 190px;
PERFECT! Thanks!!LubomirHerko wrote:Create 2 columns from Default template is very easy one:
In theme/yourThemeFromDefault/template/common/home.tpl in very first line comment out line which calls for column_right variable:
After this, your right column should dissapear, but there still will be placeholder left, that's because the #content div has right-margin set to 190px. You need to change this in main css file. Find rules for #content and delete line:Code: Select all
<?php #echo $column_right; ?>
And you should be OK and have 2 column layout.Code: Select all
margin-right: 190px;
Who is online
Users browsing this forum: No registered users and 32 guests