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

#   Cursor filter conflict and collapsible filter

##

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

Less More

- Posts: 52
- Thank you received: 1
-
-

10 years 7 months ago -  10 years 7 months ago [\#236382](#236382) by [xatzopou](/forum/user/35543-xatzopou "View xatzopou's Profile")  *[Cursor filter conflict and collapsible filter](/forum/45-filters-search/883806-cursor-filter-conflict-and-collapsible-filter#236382 "-- url of the page with the problem -- :   185.25.22.156/petshop.gr/index.php/skylos/trofes-skyloy  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.4.8  Hello. I have two questions: 1) Cursor filter is not displayed on the following link:   185.25.22.156/petshop.gr/index.php/skylos/trofes-skyloy  My template is custom made and includes JQuery 1.11.3 and Bootstrap 3.3.5.  I think it is some kind of JQuery conflicts because when I remove JQuery and Bootstrap from template the cursor filter is displayed.  How to include JQuery and Bootstrap 3 in my index.php without conflict with Hikashop or what do you suggest in order to avoid conflicts?  2) How can I make my filter area collapsible like the collapsible button I have in the previous link.  P.S. Attached screenshots with and without JQuery and Bootstrap addition in my index.php")* was created by *[xatzopou](/forum/user/35543-xatzopou "View xatzopou's Profile")*

-- url of the page with the problem -- : [ 185.25.22.156/petshop.gr/index.php/skylos/trofes-skyloy](http://185.25.22.156/petshop.gr/index.php/skylos/trofes-skyloy)
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.4.8

Hello.
I have two questions:
1) Cursor filter is not displayed on the following link:
[ 185.25.22.156/petshop.gr/index.php/skylos/trofes-skyloy](http://185.25.22.156/petshop.gr/index.php/skylos/trofes-skyloy)

My template is custom made and includes JQuery 1.11.3 and Bootstrap 3.3.5.

I think it is some kind of JQuery conflicts because when I remove JQuery and Bootstrap from template the cursor filter is displayed.

How to include JQuery and Bootstrap 3 in my index.php without conflict with Hikashop or what do you suggest in order to avoid conflicts?

2) How can I make my filter area collapsible like the collapsible button I have in the previous link.

P.S. Attached screenshots with and without JQuery and Bootstrap addition in my index.php

[ ![screenshot2.jpg](/forum/attachment/30608) ](/forum/attachment/30608 "screenshot2.jpg")

[ ![screenshot3.jpg](/forum/attachment/30610) ](/forum/attachment/30610 "screenshot3.jpg")

- [ ![screenshot2.jpg](/forum/attachment/30608) ](/forum/attachment/30608 "screenshot2.jpg") [ ](/forum/attachment/30608?download=1 "screenshot2.jpg")
- [ ![screenshot3.jpg](/forum/attachment/30610) ](/forum/attachment/30610 "screenshot3.jpg") [ ](/forum/attachment/30610?download=1 "screenshot3.jpg")

Last edit: 10 years 7 months ago by [xatzopou](/forum/user/35543-xatzopou "View xatzopou's Profile"). Reason: wrong file

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg4MzgwNi1jdXJzb3ItZmlsdGVyLWNvbmZsaWN0LWFuZC1jb2xsYXBzaWJsZS1maWx0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

10 years 7 months ago [\#236387](#236387) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Cursor filter conflict and collapsible filter](/forum/45-filters-search/883806-cursor-filter-conflict-and-collapsible-filter#236387 "-- url of the page with the problem -- :   185.25.22.156/petshop.gr/index.php/skylos/trofes-skyloy  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.4.8  Hello. I have two questions: 1) Cursor filter is not displayed on the following link:   185.25.22.156/petshop.gr/index.php/skylos/trofes-skyloy  My template is custom made and includes JQuery 1.11.3 and Bootstrap 3.3.5.  I think it is some kind of JQuery conflicts because when I remove JQuery and Bootstrap from template the cursor filter is displayed.  How to include JQuery and Bootstrap 3 in my index.php without conflict with Hikashop or what do you suggest in order to avoid conflicts?  2) How can I make my filter area collapsible like the collapsible button I have in the previous link.  P.S. Attached screenshots with and without JQuery and Bootstrap addition in my index.php")*

Hi,

1. It's a typical jQuery conflict. To solve that, the usual solution is to install and configure the extension "jQuery Easy":
[ extensions.joomla.org/extension/jquery-easy](http://extensions.joomla.org/extension/jquery-easy)

2. You'll have to edit the file "filter" of the view "product" via the menu Display&gt;Views and add a similar button there.

The following user(s) said Thank You: [xatzopou](/forum/user/35543-xatzopou "View xatzopou's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg4MzgwNi1jdXJzb3ItZmlsdGVyLWNvbmZsaWN0LWFuZC1jb2xsYXBzaWJsZS1maWx0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 52
- Thank you received: 1
-
-

10 years 7 months ago [\#236561](#236561) by [xatzopou](/forum/user/35543-xatzopou "View xatzopou's Profile")  Replied by *[xatzopou](/forum/user/35543-xatzopou "View xatzopou's Profile")* on topic *[Cursor filter conflict and collapsible filter](/forum/45-filters-search/883806-cursor-filter-conflict-and-collapsible-filter#236561 "-- url of the page with the problem -- :   185.25.22.156/petshop.gr/index.php/skylos/trofes-skyloy  -- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.4.8  Hello. I have two questions: 1) Cursor filter is not displayed on the following link:   185.25.22.156/petshop.gr/index.php/skylos/trofes-skyloy  My template is custom made and includes JQuery 1.11.3 and Bootstrap 3.3.5.  I think it is some kind of JQuery conflicts because when I remove JQuery and Bootstrap from template the cursor filter is displayed.  How to include JQuery and Bootstrap 3 in my index.php without conflict with Hikashop or what do you suggest in order to avoid conflicts?  2) How can I make my filter area collapsible like the collapsible button I have in the previous link.  P.S. Attached screenshots with and without JQuery and Bootstrap addition in my index.php")*

Thank you nicolas.
Finally I solved it but adding JQuery into noConflict mode:

In my index.php template page after JQuery and Bootstrap reference I insert JQuery noConflict.
My index.php looks like this:

&lt;!-- JQuery --&gt;&lt;script src="[ ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js](https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js)"&gt;&lt;/script&gt;
&lt;!-- Main Bootstrap Javascript --&gt;&lt;script src="&lt;?php echo $this-&gt;baseurl; ?&gt;/templates/&lt;?php echo $this-&gt;template; ?&gt;/js/bootstrap-3-3-5.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;!-- Put jQuery 1.11.3 into noConflict mode. Refer to $jq1 instead of $ --&gt;
&lt;script&gt;
var $jq1 = jQuery.noConflict(true);
&lt;/script&gt;

Then on the product category page I insert the JQuery script as follow:

$jq1(document).ready(function(){
$jq1('#subcategory').on('hidden.bs.collapse', function () {
$jq1(".btn-arrow").html('Μάθε περισσότερα &lt;span class="glyphicon glyphicon-chevron-down"&gt;&lt;/span&gt;');
//$jq1(".glyphicon").removeClass("glyphicon-chevron-up").addClass("glyphicon-chevron-down");
});

$jq1('#subcategory').on('shown.bs.collapse', function () {
$jq1(".btn-arrow").html('Δες λιγότερα &lt;span class="glyphicon glyphicon-chevron-up"&gt;&lt;/span&gt;');
//$jq1(".glyphicon").removeClass("glyphicon-chevron-down").addClass("glyphicon-chevron-up");
});
});
&lt;/script&gt;

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg4MzgwNi1jdXJzb3ItZmlsdGVyLWNvbmZsaWN0LWFuZC1jb2xsYXBzaWJsZS1maWx0ZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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.048 seconds

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