How to add column on right side

dheghel

Avatar: dheghel

2007-11-02 12:15

Guys is there possible to add another column on right side, i want to have 2 columns. the condition is like left menu. so i can put online statistics, image, banner or etc.
Thanks for sharing.

» Quick.Cart v2.x

merci

No avatar

2007-11-05 09:27

dheghel - open file templates/page.tpl and after code:

<div id="body">

add another div for right column:

<div id="column2">content of right column</div>

then open file templates/default.css and after code:

#column{float:left;width:200px;padding:0 0 0 10px;}

add following code:

#column2{float:right;width:200px;padding:0 0 0 10px;border:1px solid red;}

You added column which is 200px width, so you have to make smaller about 200px the rest of page, you can make smaller content of the page, or/and both column. You have to make it fit the width of the page.

dheghel

Avatar: dheghel

2007-11-07 18:12

merci - Ok. thx it's work

smmaya

Avatar: smmaya

2008-03-18 17:41

Hi, guys how to get rid of these boxes when you print out the price list, the newly created box from right column display also on price list, cheers for hints.

Maya

merci

No avatar

2008-03-19 09:08

smmaya - can you send some screen shots as I don't understand what you mean.

smmaya

Avatar: smmaya

2008-03-19 10:48

it's a test page, www.sunweave.pl/sklep
when you click on the Price List, the right column adds to the price list...I don't want it thete...
Cheers

Maya

merci

No avatar

2008-03-20 08:11

smmaya - ok, now I understand. You have to open file templates/products_prices_list.tpl and there at the beginning you will find following line:

#menu3, #menu2, #column, #back, .bT{display:none;}

you have to add there class or id of right column.

smmaya

Avatar: smmaya

2008-03-20 09:55

Merci, cheers, it's ok now!

Maya

s4motny

No avatar

2008-03-27 15:08

and how to make it in 3.0??

merci

No avatar

2008-03-28 08:24

s4motny - in qcart v3.0 it will be easier to add right column, as files are already prepared for that.
You have to open file templates/container.tpl and find comment: <!-- additional column, hidden in styles --> In place of this comment you should put this, what you want to have in right column.
Then you have to open templates/default.css and find code:

#column2{display:none;float:right;width:100px;}

delete from it display:none; and customize displaying of this column. That's all.

kuzco

Avatar: kuzco

2011-02-15 21:41

Has someone tried this solution from "merci" with QC4.0.
In 3.7 it woks great, but with 4.0 I was noit succesfull.

Any hint is welcome.

Makaron

Avatar: Makaron

2011-02-16 14:39

http://opensolution.org/Quick.Cart/docs/?id=tips#how_to_add_right_column

Mak-Web.pl - Modyfikacje skryptów Q.Cart i Q.Cms

Back to top
about us | contact