| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Search Sort Bar | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hi All,
Silly question, probably - But then, I'm good at those. How on earth do I get rid of the search sort bar? http://i16.photobucket.com/albums/b49/BeanJardo/Work/searchsort.jpg It's appearing above my bestsellers list at the very top of the page. Then it's appearing in its normal place, above the category product listing - Which means, it's twice, within about 100 pixels - It's daft! But I can't work out how to get rid of it and only display in the one place? It's also sitting on all of my static pages - (None of the content is showing, but the DIV seems to be there) - Which is pushing my layout out totally. Any help will be great - it's starting to frustrate me that nothing is in line!! Thanks a million!! JeanB ![]()
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development ![]() |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() The page that controls the search sort bar is search_sort_by.tpl.
So I guess you need to make sure your templates are not called this template twice. It's useful to enable debugging mode which will allow you to find out which templates are calling this page.. HTH
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() 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:
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 ![]() |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Are both sort bars exactly the same (as in it's output?)
Sort By: Product / Price / Default
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() Yes - They're identical.
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development ![]() |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() You can just create new dialog.tpl to use with offers template and take out the search bar from it
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() That's a good idea ...
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() Excellent!
![]() However, it's also appearing twice on my category pages - And I've no idea why? I have bestsellers activated & at the top of the page. When it's at the top, it shows a search_sort_bar - then shows the bestsellers - Then shows the heading for the category that it's on ... then shows another search_sort_bar - and the page navigation alongside it? I don't know why the first sort bar is there - and I need to get rid of it, lol?
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development ![]() |
|||||||||
#9
|
|||||||||
|
|||||||||
![]() use the same new dialog template for the bestsellers. This is not hapenning by default i think. You may have doen some modification that forces it do behave that way
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#10
|
|||||||||
|
|||||||||
![]() I develop using Macromedia Homesite (Old skool i know)
But has a cool feature in which I can run an extended search on all .tpl files within the folder where my templates are located (e.g: /skin1/) and find all templates that have the occurrence of the string "search_sort_by.tpl" Hopefully this might help you isolate from which templates search_sort_by.tpl is being called from...
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
|
|||
X-Cart forums © 2001-2020
|