-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot delete or edit menu #291
Comments
Thanks for the bug report, I fixed delete bug in For edit I couldn't find any bug either for menu or menu items, if the bug persists after update please provide more details for edit bug. Database used mysql/sqlite/posgresql, php version, if installed in a subfolder etc. |
I am using MySQL and the issue kind of persists with adding and deleting other elements. For example, I am deleting the footer section and I press save, and it shows up even after I clear cache. Same with the main menu, If I delete or add nothing changes. Happens especially with drop downs. |
Saving is successful? Maybe there is a caching layer on your hosting, check your hosting cpanel for a clear cache button. You can also test on localhost or another server to make sure that is a hosting issue. Menu operations are made directly on the database there is no caching layer, if you are using sqlite maybe the file is cached by the hosting file system. For footer section you can also try to set write permissions to the active theme folder. chmod -R 0777 themes/landing |
I checked the caching on my server and nothing. It is still not getting rid of the menu items or editing them. |
Does it show any error? can you check your php error log and paste the errors here? I tried on localhost, docker image and a shared hosting account and I'm unable to find issues with menu items editing/removal or sections/footer removal from pages. Please try on another hosting/server. |
It isn't throwing me any errors and I've checked my error logs, nothing there in regards to this issue. I'm hosting this on a private vps |
Thanks for the images, I understand now. Delete for dynamic elements (from database) is not implemented in the editor because it's not clear what it should do, hide the element from page or delete it from the database. This can be problematic for products and posts if delete removes the item from database. I will think for a proper solution to this, probably I will hide the delete button for dynamic content to avoid confusion. You can delete menu items from admin > pages > menus http://demo.vvveb.com/admin/index.php?module=content/menus&action=menu&menu_id=1 |
Whenever I try deleting a menu item or let alone edit one, it defaults as if nothing happened or saved. It's a bit irritating.
The text was updated successfully, but these errors were encountered: