Another Sidebar Question

Questions and answers about ShopSite Custom Templates

Another Sidebar Question

Postby TinkBD » Thu Dec 30, 2010 2:19 pm

Thanks to this group, and Loren, specifically, I solved the jumbled sidebar problem...

Now, in a related question...

I have the Show Search box set on those pages and the search box IS showing up, but at the bottom of the sidebar. There are a LOT of page links in the category, so I am sure folks are not bothering to scroll to the bottom.

Is there any way to move the Search Box to the top or even have TWO search boxes - one at the top and one at the bottom?

Here is an example:
http://mscanvashouse.com/shop/belt_list3.html

Thanks in advance for for any help sent my way

Best wishes for a safe and happy New Year!

Tink
TinkBD
 
Posts: 5
Joined: Sun Mar 14, 2010 1:01 pm
Location: Kentucly

Re: Another Sidebar Question

Postby Jim » Fri Dec 31, 2010 8:37 am

You would need to edit the template and place the search form before the links manually. I'm not sure if the Sidebar template you are using is a custom one or one of the older C version templates. If you go to Merchandising > Custom Template > and from the Page template area use the Copy ShopSite template button and make a copy of the Sidebar template. If it is not in the list of templates then it will be the older C version template and you won't be able to edit it. Once you have a copy of it you can edit it and find the section of code that looks like
[-- IF PAGE.SearchProductField --]
<tr>
<td align="left" class="search">
[-- INCLUDE Page-2LineSearchForm PROCESS --]
</td>
</tr>
[-- END_IF --]

Copy that code and paste it just after the table tag for pagelink and before the [-- LOOP LINKS --] tag like this

<table class="pagelink">
[-- IF PAGE.SearchProductField --]
<tr>
<td align="left" class="search">
[-- INCLUDE Page-2LineSearchForm PROCESS --]
</td>
</tr>
[-- END_IF --]
[-- LOOP LINKS --]

That will put the search field at the top and bottom of the link column.

If you don't find the code I pasted above in your template then you have an older version of the template and might have to do something different.

After making the change save the template and then make a copy of it giving it the name Sidebar and republish the store to have the changes apply to all pages.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Another Sidebar Question

Postby TinkBD » Fri Dec 31, 2010 8:42 am

Jim - Thank you so much! I will have to do some research and then start bugging our less than responsive hosting company about this.

Thank you for giving me what I needed to start. ;-)

I don't know whether it is a custom template or an older one. The person who could have answered that died a year ago...

However, with your info, I now have a starting point!

Happy New Year!

Tink
TinkBD
 
Posts: 5
Joined: Sun Mar 14, 2010 1:01 pm
Location: Kentucly


Return to Custom Template Questions

Who is online

Users browsing this forum: No registered users and 85 guests

cron