Thread: Search Sort Bar
View Single Post
  #3  
Old 01-17-2011, 06:54 AM
  JeanB's Avatar 
JeanB JeanB is offline
 

eXpert
  
Join Date: Oct 2009
Location: Worcestershire, UK
Posts: 217
 

Default Re: Search Sort Bar

Mmmm - Good idea!

And terribly sorry - My mistake - It's not on my static pages, it's on my "offers.php" from X-Offers module.

But - I switched on Webmaster mode & it looks like the search-sort is only called once - And in the exact place that it should be:

<-----SNIP ------>

customer/home_main.tpl (1.65711)
customer/main/subcategories.tpl (1.59222)
modules/Bestsellers/bestsellers_r.tpl (0.10481)
product_thumbnail.tpl (0.00829)
currency.tpl (0.01026)
product_thumbnail.tpl (0.00815)
currency.tpl (0.00845)
product_thumbnail.tpl (0.00812)
currency.tpl (0.00842)
product_thumbnail.tpl (0.00822)
currency.tpl (0.00843)
customer/dialog.tpl (0.02313)
** customer/search_sort_by.tpl (0.01530) ***
customer/main/navigation.tpl (0.02264)
customer/main/products.tpl (1.39889)
customer/main/products_list.tpl (1.39032)
product_thumbnail.tpl (0.00817)
modules/Special_Offers/customer/product_offer_thumb.tpl (0.0044
currency.tpl (0.0085
customer/main/alter_currency_value.tpl (0.0116
customer/main/taxed_price.tpl (0.01763)
customer/main/buy_now.tpl (0.17679)

<------SNIP ----->

(Smiley faces aren't intentional, but are quite nice! )

However, it's appearing before "bestsellers_r.tpl" - And I don't have a clue why!

It's not in the bestsellers_r.tpl - It starts off like this: - But the searchsort is appearing before the <h1>.

Quote:

{if $bestsellers}
{capture name=bestsellers}
<h1 class="bestseller">Bestsellers</h1>
<table class="uproducts">
<tr>
{section name=cat_num loop=$bestsellers}
<td>

{if $config.Bestsellers.bestsellers_thumbnails eq "Y"}
<a href="product.php?productid={$bestsellers[cat_num].productid} cat={$cat} bestseller=Y">
{include file="product_thumbnail.tpl" productid=$bestsellers[cat_num].productid image_x=75 product=$bestsellers[cat_num].product tmbn_url=$bestsellers[cat_num].tmbn_url}</a>
<--------SNIP---------->



I can't find any reference in subcategories.tpl either!

Gah!!



The only place I can think is dialog.tpl - as that seems to be common.

I tried adding the red text - To at least remove it from the offers page:

{if $printable ne 'Y' && $main eq 'catalog'}

But that was totally useless.


I'm getting nowhere, lol

Appreciate your time, Shafiq.
__________________
4.2.3
X-Cart Gold
BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers
-------[installed]----------------------[installed]--------------[installed]----[installed]--



5: in development
Reply With Quote