- Posts: 18
- Thank you received: 0
First Menu Item is always expanded
12 years 8 months ago - 12 years 8 months ago #139155
by actlas
First Menu Item is always expanded was created by actlas
On our webpage the first menu-item in a module with the categories is always expanded.
id="category_panel_94">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#category_panel_94" href="#category_pane_0">
</a><a href="/dev/nl/hikashop-menu-for-categories-listing/category/189-spuitbussen">Spuitbussen</a>
</div>
<div id="category_pane_0" class="accordion-body collapse in">
The class "in" shouldn't be there. Only when the category is selected. Our Hikashop version is Buisness 2.1.3 on J 3.2.1 but our subscription has expired.
Is there any way to fix just this problem please?
id="category_panel_94">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#category_panel_94" href="#category_pane_0">
</a><a href="/dev/nl/hikashop-menu-for-categories-listing/category/189-spuitbussen">Spuitbussen</a>
</div>
<div id="category_pane_0" class="accordion-body collapse in">
The class "in" shouldn't be there. Only when the category is selected. Our Hikashop version is Buisness 2.1.3 on J 3.2.1 but our subscription has expired.
Is there any way to fix just this problem please?
Last edit: 12 years 8 months ago by actlas.
Please Log in or Create an account to join the conversation.
12 years 8 months ago #139188
by Xavier
Replied by Xavier on topic First Menu Item is always expanded
Hi,
This has been edited in a more recent version.
To change that you have to edit the function "panel()" of the file:
"administrator/components/com_hikashop/helper/sliders.php".
This has been edited in a more recent version.
To change that you have to edit the function "panel()" of the file:
"administrator/components/com_hikashop/helper/sliders.php".
Please Log in or Create an account to join the conversation.
12 years 8 months ago #139428
by actlas
Replied by actlas on topic First Menu Item is always expanded
Could you please tell me what needs to been changed in that code?
We don't have the most recent version of course.
We don't have the most recent version of course.
Please Log in or Create an account to join the conversation.
12 years 8 months ago #139451
by Xavier
Replied by Xavier on topic First Menu Item is always expanded
Hi,
You have to remove the class "in" in the code.
You have to remove the class "in" in the code.
Please Log in or Create an account to join the conversation.
12 years 8 months ago #139459
by actlas
Replied by actlas on topic First Menu Item is always expanded
This works but the panels don't expand at all anymore. Can't this be fixed?
Code:
function panel($text, $id) {
$ret = '';
if($this->mode == 'pane') {
if($this->openPanel)
$ret .= $this->tabs->endPanel();
$ret .= $this->tabs->startPanel($text, $id);
$this->openPanel = true;
} elseif($this->mode == 'sliders') {
$ret .= JHtml::_('sliders.panel', JText::_($text), $id);
} else {
if($this->openPanel)
$ret .= $this->_closePanel();
$open = '';
if((isset($this->options['startOffset']) && $this->options['startOffset'] == $this->count) || $this->count == 0)
$open = '';
Please Log in or Create an account to join the conversation.
12 years 8 months ago #139463
by Xavier
Replied by Xavier on topic First Menu Item is always expanded
Hi,
This require more customizations, and as it's present in the future package of hikaShop I can't help you on this.
You will have to wait for this release.
This require more customizations, and as it's present in the future package of hikaShop I can't help you on this.
You will have to wait for this release.
Please Log in or Create an account to join the conversation.
12 years 5 months ago #151314
by actlas
Replied by actlas on topic First Menu Item is always expanded
Can somebody please inform me on how to fix this at the moment without updating to the new release?
Please Log in or Create an account to join the conversation.
12 years 5 months ago #151406
by actlas
Replied by actlas on topic First Menu Item is always expanded
I tried replacing sliders.php with the one from the current hikashop basic version without any luck.
It isn't a template issue as far as I tested. A tip would be appreciated, anybody?
It isn't a template issue as far as I tested. A tip would be appreciated, anybody?
Please Log in or Create an account to join the conversation.
12 years 5 months ago #151508
by Xavier
Replied by Xavier on topic First Menu Item is always expanded
Hi,
As it's in the package, and require many modifications if you don't update so the HikaShop team can not help on this.
Regards,
As it's in the package, and require many modifications if you don't update so the HikaShop team can not help on this.
Regards,
Please Log in or Create an account to join the conversation.
Time to create page: 0.232 seconds