- Posts: 17
- Thank you received: 0
Accordion Menu
link is here
www.upsdynamics.com.au/shop/
(note - site is still under construction, design not finished and please ignore test category labels)
Please Log in or Create an account to join the conversation.
First of all, what's the problem with your category listing doesn't working properly?
Second, Few accordion menus exist for Hikashop like Skyline Nested Accordion or CKmenu ( and it patch ).
About your problem, since I don't know what you are using to generate this menu I can't really help you.
Please Log in or Create an account to join the conversation.
I didn't use anything other than the default hikashop categories module. I have a choice of DIV or List format. I've just been playing around with the css to make it look more attractive(haven't succeeded in that part yet). I've been more concerned in getting it to work like it previously did, where it only showed the main category as default, but you can click and expand that to show the sub-categories. Now though, it displays the subcategory permanently, and on the same line as the main category if main category name not long enough (as you can see in the test categories). It's all screwed up.
I want it to do the same thing as on the demo site (Category of Products)
demo.hikashop.com/index.php?lang=en
I am assuming the design of the demo one is template specific, and I can play with the css side of that, but I just want it to expand properly, something that worked for me previously without problem.
I might look into those suggestions you gave me if I cant sort it out otherwise.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I would recommend to flush your cache.
Please Log in or Create an account to join the conversation.
??
I think its the template stuffing it up, it seemed to work fine with the previous template.
Please Log in or Create an account to join the conversation.
Maybe that when you have the correct value, you have some javascript error ? could you check the different possibilities and the javascript error log of your browser for potential javascript errors ?
Please Log in or Create an account to join the conversation.
Thanks all for your responses.
Please Log in or Create an account to join the conversation.
Same sort of problem here. See: kunst.lumiga.nl
The submenu's won't show when you click on it.
But when I switch to the standard Joomla Prostar template it works fine.
But I want to use a Yootheme template.
Can you help me to fix this problem?
Thanks in Advanced.
With Kind regards,
Sailfin
Kind regards,
Lumiga
Please Log in or Create an account to join the conversation.
Thanks to give us a screenshot of the listing configuration.
I think that there is some properties in your template which are overriding ours, so that can cause the problem.
Or maybe missing Javascript library
Please Log in or Create an account to join the conversation.
I think you are correct. But how can I fix this?
I like the templates of Yootheme.
Nicolas gave me a solution but it didn't work. I sent him a mail about it.
He said that I had to replace the line from the file: administrator/components/com_hikashop/helpers/tab.php
$this->mode = 'bootstrap';
by:
$app = JFactory::getApplication();
if(($app->isAdmin() && HIKASHOP_BACK_RESPONSIVE) || (!$app->isAdmin() && HIKASHOP_RESPONSIVE)){
$this->mode = 'bootstrap';
}else{
$this->mode = 'tabs';
}
Hope to here from you.
With kind regards,
Sailfin
Kind regards,
Lumiga
Please Log in or Create an account to join the conversation.
It seem that your problem is solved
Please Log in or Create an account to join the conversation.
It works, but when I turn off the debugmode it doesn't work any more.
So I have sent Nicolas an e-mail to what tot do..
Kind regards,
Lumiga
Please Log in or Create an account to join the conversation.
The debug mode is displayed with an accordion, so it include a javascript library.
This javascript library seems to not be included in your template, that's why the accordion doesn't work when debug is off.
So you can check in the source code of the page which library is missing when debug is off. You can use Ctrl + U to see the source of the page.
Please Log in or Create an account to join the conversation.
Thanks for the tip, but this is to far from my comfortzone!
If I see a difference, then I don't know how to fix it.
See attachements if you have some time.
Kind Regards,
Sailfin
Kind regards,
Lumiga
Please Log in or Create an account to join the conversation.
The only things which seems to be missing is :
Thanks to try to add the missing code in your template index.php file.
Please Log in or Create an account to join the conversation.