Randomproduct at right side of the shop v1.2

knert

No avatar

2006-06-06 21:27

Hello,

I have a question:

How can i put the $Randomproduct at the right side of the shop instead of the left side?

I tried many things, but unfortenately I could not get it right.

Any help would be appriciated.

Thnx in advance!

knert

treewood (OpenSolution)

Avatar: treewood

2006-06-07 07:36

knert - i suggest to edit templates/page.tpl in FOOTER section (block) and add div with id for example ''randPro'' after div with id ''main'' and put there variable with random product. after edit default.css and add styles to #randPro. give float:left; or float:right; and maybe position. You must try and test it. you need to know css and html.

Claps

Avatar: Claps

2006-06-07 09:04

1. Edit templates/default.css and add this

#content_right{float:right;padding:0 0px;
background-repeat: repeat-y;
width: 155px;
text-align: center;}

2. Edit templates/page.tpl and look for something like <div id="content">. Right below closing </div> add
<div id="content_right">
<table width="150px" cellspacing='0' cellpadding='0' >
<tr>
<td>
$sRandomProduct
</td>
</tr>
</table>
</div>

That's it.




~Knert

No avatar

2006-06-08 15:22

I'm sorry, but i cannot find any page called: page.tpl

So I'm still stucked :-(

Knert

~Knert

No avatar

2006-06-08 16:31

Can please somebody point me out in which .tpl page I have to edit?

I tried the head.tpl and footer.tpl but both get screwed up.

Please, I am thankfull.

Knert

Claps

Avatar: Claps

2006-06-08 17:40

You are not using Quick.Cart V1.2 then. Download it and will work.

Claps

Avatar: Claps

2006-06-08 17:42

http://opensolution.org/download/get.php?sFile=Quick.Cart/Quick.Cart_v1.2_english.zip

Claps

Avatar: Claps

2006-06-08 17:48

Head.tpl and footer.tpl were used in versions of QC before 1.2 .
Which version of art do you have? I figure that probably QCLoaded 1.2. which contains an older version of QuickCart.

~Knert

No avatar

2006-06-09 10:08

I checked the place where I downloaded it: www.wizzud.com

I downloaded the fully loaded version.

But you are right: the qc version is 0.3.0 !! I'am very sorry.

In the templates directory I find 2 dirs: admin & default

Inside the default directory there are footer.tpl and head.tpl (and more, but no page.tpl)

I hope you have more information.

Sincerly

Knert.

Knert

treewood (OpenSolution)

Avatar: treewood

2006-06-09 12:05

Knert - then create new good topic. this is blocked.

Back to top
about us | contact