[Skip to main content](#vessel-content)

#   First Menu Item is always expanded

##

- **[actlas](/forum/user/6359-actlas "View actlas's Profile")**
- [![actlas's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6359-actlas "View actlas's Profile") Topic Author
- [ Offline](/forum/user/6359-actlas)

Less More

- Posts: 18
- Thank you received: 0
-
-

12 years 9 months ago -  12 years 9 months ago [\#139155](#139155) by [actlas](/forum/user/6359-actlas "View actlas's Profile")  *[First Menu Item is always expanded](/forum/26-product-category-display/864882-first-menu-item-is-always-expanded#139155 "On our webpage the first menu-item in a module with the categories is always expanded.  id=&quot;category&#95;panel&#95;94&quot;&gt;    Spuitbussen     The class &quot;in&quot; 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?")* was created by *[actlas](/forum/user/6359-actlas "View actlas's Profile")*

On our webpage the first menu-item in a module with the categories is always expanded.

id="category_panel_94"&gt;
&lt;div class="accordion-group"&gt;
&lt;div class="accordion-heading"&gt;
&lt;a class="accordion-toggle" data-toggle="collapse" data-parent="#category_panel_94" href="#category_pane_0"&gt;
&lt;/a&gt;&lt;a href="/dev/nl/hikashop-menu-for-categories-listing/category/189-spuitbussen"&gt;Spuitbussen&lt;/a&gt;

&lt;/div&gt;
&lt;div id="category_pane_0" class="accordion-body collapse in"&gt;

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 9 months ago by [actlas](/forum/user/6359-actlas "View actlas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQ4ODItZmlyc3QtbWVudS1pdGVtLWlzLWFsd2F5cy1leHBhbmRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 9 months ago [\#139188](#139188) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[First Menu Item is always expanded](/forum/26-product-category-display/864882-first-menu-item-is-always-expanded#139188 "On our webpage the first menu-item in a module with the categories is always expanded.  id=&quot;category&#95;panel&#95;94&quot;&gt;    Spuitbussen     The class &quot;in&quot; 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?")*

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".

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQ4ODItZmlyc3QtbWVudS1pdGVtLWlzLWFsd2F5cy1leHBhbmRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[actlas](/forum/user/6359-actlas "View actlas's Profile")**
- [![actlas's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6359-actlas "View actlas's Profile") Topic Author
- [ Offline](/forum/user/6359-actlas)

Less More

- Posts: 18
- Thank you received: 0
-
-

12 years 9 months ago [\#139428](#139428) by [actlas](/forum/user/6359-actlas "View actlas's Profile")  Replied by *[actlas](/forum/user/6359-actlas "View actlas's Profile")* on topic *[First Menu Item is always expanded](/forum/26-product-category-display/864882-first-menu-item-is-always-expanded#139428 "On our webpage the first menu-item in a module with the categories is always expanded.  id=&quot;category&#95;panel&#95;94&quot;&gt;    Spuitbussen     The class &quot;in&quot; 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?")*

Could you please tell me what needs to been changed in that code?
We don't have the most recent version of course.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQ4ODItZmlyc3QtbWVudS1pdGVtLWlzLWFsd2F5cy1leHBhbmRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 9 months ago [\#139451](#139451) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[First Menu Item is always expanded](/forum/26-product-category-display/864882-first-menu-item-is-always-expanded#139451 "On our webpage the first menu-item in a module with the categories is always expanded.  id=&quot;category&#95;panel&#95;94&quot;&gt;    Spuitbussen     The class &quot;in&quot; 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?")*

Hi,

You have to remove the class "in" in the code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQ4ODItZmlyc3QtbWVudS1pdGVtLWlzLWFsd2F5cy1leHBhbmRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[actlas](/forum/user/6359-actlas "View actlas's Profile")**
- [![actlas's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6359-actlas "View actlas's Profile") Topic Author
- [ Offline](/forum/user/6359-actlas)

Less More

- Posts: 18
- Thank you received: 0
-
-

12 years 9 months ago [\#139459](#139459) by [actlas](/forum/user/6359-actlas "View actlas's Profile")  Replied by *[actlas](/forum/user/6359-actlas "View actlas's Profile")* on topic *[First Menu Item is always expanded](/forum/26-product-category-display/864882-first-menu-item-is-always-expanded#139459 "On our webpage the first menu-item in a module with the categories is always expanded.  id=&quot;category&#95;panel&#95;94&quot;&gt;    Spuitbussen     The class &quot;in&quot; 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?")*

This works but the panels don't expand at all anymore. Can't this be fixed?
Code:

function panel($text, $id) { $ret = ''; if($this-&gt;mode == 'pane') { if($this-&gt;openPanel) $ret .= $this-&gt;tabs-&gt;endPanel(); $ret .= $this-&gt;tabs-&gt;startPanel($text, $id); $this-&gt;openPanel = true; } elseif($this-&gt;mode == 'sliders') { $ret .= JHtml::_('sliders.panel', JText::_($text), $id); } else { if($this-&gt;openPanel) $ret .= $this-&gt;_closePanel(); $open = ''; if((isset($this-&gt;options['startOffset']) &amp;&amp; $this-&gt;options['startOffset'] == $this-&gt;count) &#124;&#124; $this-&gt;count == 0) $open = '';

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQ4ODItZmlyc3QtbWVudS1pdGVtLWlzLWFsd2F5cy1leHBhbmRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 9 months ago [\#139463](#139463) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[First Menu Item is always expanded](/forum/26-product-category-display/864882-first-menu-item-is-always-expanded#139463 "On our webpage the first menu-item in a module with the categories is always expanded.  id=&quot;category&#95;panel&#95;94&quot;&gt;    Spuitbussen     The class &quot;in&quot; 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?")*

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. ![;)](/media/kunena/emoticons/24.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQ4ODItZmlyc3QtbWVudS1pdGVtLWlzLWFsd2F5cy1leHBhbmRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[actlas](/forum/user/6359-actlas "View actlas's Profile")**
- [![actlas's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6359-actlas "View actlas's Profile") Topic Author
- [ Offline](/forum/user/6359-actlas)

Less More

- Posts: 18
- Thank you received: 0
-
-

12 years 6 months ago [\#151314](#151314) by [actlas](/forum/user/6359-actlas "View actlas's Profile")  Replied by *[actlas](/forum/user/6359-actlas "View actlas's Profile")* on topic *[First Menu Item is always expanded](/forum/26-product-category-display/864882-first-menu-item-is-always-expanded#151314 "On our webpage the first menu-item in a module with the categories is always expanded.  id=&quot;category&#95;panel&#95;94&quot;&gt;    Spuitbussen     The class &quot;in&quot; 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?")*

Can somebody please inform me on how to fix this at the moment without updating to the new release?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQ4ODItZmlyc3QtbWVudS1pdGVtLWlzLWFsd2F5cy1leHBhbmRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[actlas](/forum/user/6359-actlas "View actlas's Profile")**
- [![actlas's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/6359-actlas "View actlas's Profile") Topic Author
- [ Offline](/forum/user/6359-actlas)

Less More

- Posts: 18
- Thank you received: 0
-
-

12 years 6 months ago [\#151406](#151406) by [actlas](/forum/user/6359-actlas "View actlas's Profile")  Replied by *[actlas](/forum/user/6359-actlas "View actlas's Profile")* on topic *[First Menu Item is always expanded](/forum/26-product-category-display/864882-first-menu-item-is-always-expanded#151406 "On our webpage the first menu-item in a module with the categories is always expanded.  id=&quot;category&#95;panel&#95;94&quot;&gt;    Spuitbussen     The class &quot;in&quot; 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?")*

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?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQ4ODItZmlyc3QtbWVudS1pdGVtLWlzLWFsd2F5cy1leHBhbmRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 6 months ago [\#151508](#151508) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[First Menu Item is always expanded](/forum/26-product-category-display/864882-first-menu-item-is-always-expanded#151508 "On our webpage the first menu-item in a module with the categories is always expanded.  id=&quot;category&#95;panel&#95;94&quot;&gt;    Spuitbussen     The class &quot;in&quot; 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?")*

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,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQ4ODItZmlyc3QtbWVudS1pdGVtLWlzLWFsd2F5cy1leHBhbmRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.106 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
