Made an entry in Menu but cannot edit it
-
So I created a new entry in the Fog menu that contains an apostrophe and I cannot edit nor delete it.
Is there a file I can modify instead because the web management cannot seem to help me?
I am using trunk 5445.
-
@FlowLive Hi, you can use phpmyadmin (or another tool to edit you database) to remove the row you have created in the
pxeMenu
table of FOG database. -
Sometimes it’s simpler to just use CLI.
mysql use fog select pxeID, pxeName from pxeMenu; #obviously use the right ID. delete from pxeMenu where pxeID=345;
-
Thanks! That did it!
-
I’ve also fixed this in the code, though I haven’t pushed it yet.
-
Fix pushed. Basically if there’s any “bad” characters, I replace them (for the html attributes) with _, this way the attribute is setup properly and can be edited.