| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Rearranging and reconfiguring categories problem | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi everyone,
This is my first experience with X-cart and its pretty cool. I'm using version 3.5.9 (linix) and am trying to change the way the navigation displays. If you look at http://www.solutionsforliving.biz/index.php you will see that I have the category navigation going across the top horizontally as images. I currently have them in the head.tpl file but believe that I need to change it to the categories.tpl, but I'm not sure. Ideally I would like the category image buttons to have a rollover effect, but I'm not sure where if that is possible. Also, I'm confused as to how I make each category button a functional link. And, since I'm begging for help, where the current categories are listed on the left side I would like to display the subcategories. The subcategories should remain until a new category is clicked on. Is this all possible? Any help and advice you can give me is much appreciated. Thank you in advance. Mike |
|||||||
#2
|
|||||||||
|
|||||||||
![]() this is the code that will give you root categories in a horizontal line
Code:
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thank you Shan! That works great to display the categories horizontally
![]() |
|||||||
#4
|
|||||||||
|
|||||||||
![]() save your images in skin1/navpics/ folder and name them so that the file name is that same as the category id with the gif extension.
for example your storage category image should be saved as 103.gif Code:
you should be able to see what is going on from the code ive supplied now. theres a setting in general settings about showing subcategories in the categories menu
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#5
|
|||||||
|
|||||||
![]() Thank you again Shan! The fixes you stated worked perfectly!
![]() The weird thing that happens is once you click on a sub-category item, the sub-categories disappear. Is there anyway to keep the sub-categories visible until a new category is clicked on? Thank you again for your help! Mike Once again... the site is located at: http://www.solutionsforliving.biz/index.php |
|||||||
#6
|
|||||||||
|
|||||||||
![]() afraid not, its one of the drawbacks on how the categories are stored in the database in versions before v4.0.0
its because there are no more subcategories that nothing shows
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#7
|
|||||||
|
|||||||
![]() Hi Shan,
Would upgrading to 4.0 help? Or is there any other way to modify the code to keep the subcategories in place? Thank you, Mike |
|||||||
#8
|
|||||||||
|
|||||||||
![]() Ive had the same problem myself
Ive not tried it in 4 yet but I see the way that categories are handled is better. V4 is not realy ready for production sites yet even though Im developing one myself at the moment. its not due for release for a while though. best way prior to v4 is to get rid of the categories side menu altogether and just use the subcategory links that appear in the center column
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#9
|
|||||||
|
|||||||
![]() Actually, what I was hoping to do was to keep the subcategories on the left, then in the middle column, display featured products when the main category is clicked on, then product listings when the subcategory is selected. I don't suppose there would be anyway to write a new *.tpl file that would be able to keep the subcategories listed?
Thanks again, Mike |
|||||||
#10
|
|||||||||
|
|||||||||
![]() i gave up in the end when trying it with v3.5.x
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
|
|||
X-Cart forums © 2001-2020
|