Search in ProductsinRow

viktorz

No avatar

2010-02-22 13:39

I have category "Games" and subcategory "Xbox360". I want to add searchform into the Xbxo360 page (over products). So i cut $sSearchform from container.tpl and paste into productsinrow.tpl, but it doesnot work.

» Quick.Cart v3.x

Makaron

Avatar: Makaron

2010-02-22 15:15

Because code which generate searchbox is in file templates/themes/default.php and variable have to be in templates/container.tpl. Maybe You can put this variable after line:

<div id="content">


and You will recieve effect which You need?

beholder

Avatar: beholder

2010-02-22 19:06

perhaps instead, he should take the code from the theme default.php and inject it at the beginning of actions_client/p.php. That worked quite well for me in some cases.

beholder

Avatar: beholder

2010-02-22 19:09

of course, he also needs to make a special page template for the Xbox page which contains the $sSearchform variable and actually select the template for the page.

Back to top
about us | contact