- Posts: 84
- Thank you received: 1
Drop down menu appears for no reason.
13 years 5 months ago #99095
by goloon
Drop down menu appears for no reason. was created by goloon
I'm using the latest version of Hikashop Business & Joomla 3 Protostar template.
Whenever I add a hika menu item to my main menu, a dropdown menu appears at the top of the page (when I go to certain pages only, like the Edit Profile page). I can only assume that something in the Hika CSS is taking my current main menu and converting it to a dropdown in order to make it bootstrappable. I don't want this since I am using a custom bootstrappable menu and end up with duplicat menus. How do I disable thie dropdown menu from appearing?
It seems to have a "chzn" class, and even though I disable that in the protostar template it still shows up. Do I need to look into the Hika css in order to disable this thing?
I've also tried specifying no bootstrap in the Hika configuration, but it still shows up.
Whenever I add a hika menu item to my main menu, a dropdown menu appears at the top of the page (when I go to certain pages only, like the Edit Profile page). I can only assume that something in the Hika CSS is taking my current main menu and converting it to a dropdown in order to make it bootstrappable. I don't want this since I am using a custom bootstrappable menu and end up with duplicat menus. How do I disable thie dropdown menu from appearing?
It seems to have a "chzn" class, and even though I disable that in the protostar template it still shows up. Do I need to look into the Hika css in order to disable this thing?
I've also tried specifying no bootstrap in the Hika configuration, but it still shows up.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #99099
by goloon
Replied by goloon on topic Drop down menu appears for no reason.
Ok, I found it in /media/jui/css/chosen.css . The class is ".chzn-container". I added "display: none;" to make that dropdown menu disappear. Still not sure why it appears only when I have hikashop modules enabled.
I'm assuming this is something built into J3 as a bootstrap menu? I'm using a different module/menu with it's own dropdown feature. If someone can shed some light on this for me it would be greatly appreciated. I've disabled the entire class so, hopefully it won't cause any other problems.
I'm assuming this is something built into J3 as a bootstrap menu? I'm using a different module/menu with it's own dropdown feature. If someone can shed some light on this for me it would be greatly appreciated. I've disabled the entire class so, hopefully it won't cause any other problems.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #99117
by nicolas
Replied by nicolas on topic Drop down menu appears for no reason.
Hi,
There is no direct option to deactivate chosen. However, there is a hidden option for that.
Run the query below in your phpmyadmin and that will deactivate chosen on the frontend:
INSERT INTO #__hikashop_config (config_namekey, config_value) VALUES ('bootstrap_forcechosen',0);
(make sure you replace #__ with your table prefix)
There is no direct option to deactivate chosen. However, there is a hidden option for that.
Run the query below in your phpmyadmin and that will deactivate chosen on the frontend:
INSERT INTO #__hikashop_config (config_namekey, config_value) VALUES ('bootstrap_forcechosen',0);
(make sure you replace #__ with your table prefix)
Please Log in or Create an account to join the conversation.
13 years 5 months ago #99242
by goloon
Replied by goloon on topic Drop down menu appears for no reason.
If this does not work, how do I reverse it???
Please Log in or Create an account to join the conversation.
13 years 5 months ago #99261
by nicolas
Replied by nicolas on topic Drop down menu appears for no reason.
It will work.
Please Log in or Create an account to join the conversation.
13 years 5 months ago - 13 years 5 months ago #99275
by goloon
Replied by goloon on topic Drop down menu appears for no reason.
I ran the query. I went into PHPMyadmin under the SQL tab and ran that query. Said successful.
ALL my drop down boxes in the backend now do not show. All the dropdown selection boxes for the settings of articles, modules and everything else don't show at all. What should I do now?
It did disable the "chosen" dropdown menu on the front end but it also disabled all my backend dropdown fields used for the settings of articles and filtering of items etc. Not a good thing at all.
ALL my drop down boxes in the backend now do not show. All the dropdown selection boxes for the settings of articles, modules and everything else don't show at all. What should I do now?
It did disable the "chosen" dropdown menu on the front end but it also disabled all my backend dropdown fields used for the settings of articles and filtering of items etc. Not a good thing at all.
Last edit: 13 years 5 months ago by goloon.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #99279
by goloon
Replied by goloon on topic Drop down menu appears for no reason.
See attached.
Please Log in or Create an account to join the conversation.
13 years 5 months ago - 13 years 5 months ago #99283
by goloon
Replied by goloon on topic Drop down menu appears for no reason.
Oooops. Sorry Nicolas. Your solution worked perfect. The reason I wasnt seeing the dropdowns was because I modified the chosen css to be display none, which apparently effects the backend as well. Thanks for your help. All is good now.
Last edit: 13 years 5 months ago by goloon.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #110398
by goloon
Replied by goloon on topic Drop down menu appears for no reason.
When I run this on the latest version of Hikashop I get the following error:
"#1062 - Duplicate entry 'bootstrap_forcechosen' for key 'PRIMARY'"
What should I do?
"#1062 - Duplicate entry 'bootstrap_forcechosen' for key 'PRIMARY'"
What should I do?
Please Log in or Create an account to join the conversation.
13 years 3 months ago #110401
by nicolas
Replied by nicolas on topic Drop down menu appears for no reason.
There is now an option in the Display tab of the configuration to deactivate the chosen library. No need to run the query anymore.
The following user(s) said Thank You: goloon
Please Log in or Create an account to join the conversation.
13 years 3 months ago #110402
by goloon
Replied by goloon on topic Drop down menu appears for no reason.
Excellent. Thanks for the quick response.
I have now used that option to disable chosen and it works great.
I did however run the query earlier and got that error. Me running the query did not do any damage did it?
I have now used that option to disable chosen and it works great.
I did however run the query earlier and got that error. Me running the query did not do any damage did it?
Please Log in or Create an account to join the conversation.
13 years 3 months ago #110403
by nicolas
Replied by nicolas on topic Drop down menu appears for no reason.
No problem.
Please Log in or Create an account to join the conversation.
Time to create page: 0.218 seconds