e107 icon indicating copy to clipboard operation
e107 copied to clipboard

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

Open rica-carv opened this issue 9 months ago • 4 comments

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

rica-carv avatar May 03 '24 11:05 rica-carv

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 news_archive i have to set visiility of menu for it with : news (not news.php > non funct). no issues on lagging..

tgtje avatar May 03 '24 15:05 tgtje

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

rica-carv avatar May 04 '24 09:05 rica-carv

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

Jimmi08 avatar May 04 '24 09:05 Jimmi08

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

rica-carv avatar May 04 '24 11:05 rica-carv