Forums / Templates, Stylesheets, Page Layout / search in main content area

search in main content area

Locked

Views: 948

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
9 May 2009, 7:53 PM
#1
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

search in main content area

Can anyone direct me on how to move the search box from the header to the main content (center column)? I've read a few threads and none of them have seemed to be conclusive. Any help is greatly appreciated.

9 May 2009, 7:58 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: search in main content area

When you say "centre column", do you actually mean the "centre" column, or on one of the side columns?

I ask because the content of the centre column is the most dynamic, and you will have to edit a LOT of core files to make sure the search facility appears constantly in the centre column.

Easiest is to enable the sidebox, and then tell it to go left or right (according to your setup.)

20 years a Zencart User

9 May 2009, 8:45 PM
#3
g_force avatar

g_force

Zen Follower

Join Date:
Feb 2009
Posts:
354
Plugin Contributions:
0

Re: search in main content area

yeh..I do mean the center column.. is it complex?

12 May 2009, 12:01 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: search in main content area

g_force:

... is it complex?

Yes

... because the contents of the centre column are, as I said, the most "dynamic" (ie: content comes from a large number of places, depending on what the viewer instructs the site to do:

Here's a list of SOME of the types of content that get chucked into the centre column

  • view a product list (in a large variety of options)
  • view a specific product's info
  • view a defined page
  • view an ezpage
  • progress through the checkout procedure
  • view personal "my account" data
  • search results pages
  • LOTS more...

Each of these "pages" is constructed by specific php files - in some cases, SEVERAL files (module, template, language...) contribute to the positioning and nature of the content.

... you will need to know HOW each page type is constructed, and then work out WHERE you can put the search box code.

(good luck!)

20 years a Zencart User