View Single Post
  #5  
Old 11-14-2013, 05:38 AM
 
anandat anandat is offline
 

X-Adept
  
Join Date: Jan 2004
Posts: 914
 

Default Re: Category menu expand OnClick..possible ?

Hi Mike,
Thanks a lot for the code. This is the solution I was looking for.
How ever there are small issues.

1)Since the "categories" menu is replaced by link "expand categories" it does not look good & it will tough for the customers to find out that link. The ideal solution would be it should display category menu with 5 categories link & then it should display link "expand categories" or "See More".

2) Also there is one small issue exists. Just click on "expand categories" now click on any category link so you be taken to that particular category page. Now again click to "expand categories" & you will see it will take you to the home page !

Note: This issue does not exists at your demo site.

I am not sure what is the correct way to implement this code but I have done following steps to integrate the code. I am using ideal comfort template.

1) I saved your code at as \skin\common_files\customer\categories_new.tpl
2) I opened skin\ideal_comfort\customer\left_bar.tpl & replaced
the code {include file="customer/categories.tpl"} with {include file="customer/categories_new.tpl"}

I hope it's correct.
__________________
X-Cart: 4.7.7 LIVE
Skin:Ultra by xcartmods.co.uk
X-cart Modules: | ACR, Rich Google Search, Customer Testimonials | Cloud Search, | Websitecm: CDSEO (2.1.9)
---------------
Server: Linux
php: 5.3
mysql: 5.0.89
----------------
Reply With Quote