e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

[Bug]: Menu manager bug when setting visibility of menus #5249

Open rica-carv opened 1 month ago

rica-carv commented 1 month ago

What e107 version are you using?

Latest Github version (just updated)

Bug description

When trying to set visibility of a menu on a specific page, the popup modal window takes forever, and when it shoes, it doesn't show the correct page i already inserted previously.... There's something wrong with the modal appearance, it takes too long, or it won't load at all...

Furtehrmore, if i set up a page, i can't after tell that the menu is shown in all pages. I have to delete the menu from the menu area and put it back again to tell him to show in all pages... No too much user friendly....

How to reproduce

In admin menu area, try to setup a menu to show only on specific pages...

Expected behavior

It should be faster, not so slugish, and show the correcct pages when modal is loaded

What browser(s) are you seeing the problem on?

Firefox

PHP Version

PHP 7.4

tgtje commented 1 month ago

Although unsure if related (using git on php 8.2.13, bs5, local) when sef is in use, that has to be taken in account. example if news.php should NOT display _newsarchive i have to set visiility of menu for it with : news (not news.php > non funct). no issues on lagging..

rica-carv commented 1 month ago

@tgtje The SEF issue im aware of it, so no problem there. My main issue is the lagging, and the most strange thing is lag at all, because i'm using a development localhost, so everything is local, nothing is yet online anywhere.... Only if menu manager fetches anything online that im not aware of it....

Jimmi08 commented 1 month ago

The front theme is influencing the menu manager too. Try to open it without an iframe and check the console.

rica-carv commented 1 month ago

@Jimmi08 So probably there's something wrong with the Voux theme??? It's really slow, as per console timings... Sem título