1. fg74
  2. Commercial Templates
  3. Tuesday, 25 July 2023
  4.  Subscribe via email
Hi
I'm using Colette template, latest, and I'm facing an issue with the splitted main menu.
When I publish a download extension module, the menu is not splitted anymore, displayed on the right of the screen and overlapping the logo.
Perhaps that could happen with other extensions, but for now I got this isssue only with downloads extensions (tried Phocadownload, dropfiles, jdownloads and Edocman (with this last, the problem happens also with the plugin in content).
Any idea ? Thanks for your support

Joomla 4.3.3
PHP 8.1 (same with 8.0)
Attachments (2)
References
  1. http://nordique-vallee-chamonix.org/
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hello
Done !!
Regards
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you

This issue should be now resolved. By default the template uses jQuery to split the menu items however some modules are loading an older version of jQuery that is not compatible with the template.

For a solution, I have added the following to the Head Custom Code field of your templates parameters (Extensions -> Template Manager -> YourTemplate -> Custom Code -> Head Custom Code)...

<script>
document.addEventListener("DOMContentLoaded", function() {
var $lis = document.querySelectorAll(".hornav li");
var $lisLength = $lis.length;
var $lisHalf = Math.floor($lisLength/2);
for (var i = 0; i < $lisHalf; i++) {
$lis[i].classList.add("menu-split");
}
});
</script>


This splits the menu using vanilla JS instead.

Ciaran
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Thank you for your support !
This might have been a solution but while you solved this problem I identified the module which is responsible and contacted its support : I think they will have to update the jquery loaded in their module and if not I'll resign myself to install another one that offers the same service.
Your template works fine and the issue wasn't part of it !! thank you for your help .
I'll let you know if necessary
Regards
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
And...
While waiting for the component to be updated, the problem has been solved by installing JQuery Easy !!
Thanx again and regards
  1. more than a month ago
  2. Commercial Templates
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok