Ferchoorias
Hi for all
I some change lines in menu.
Now Control panel is first in menu and open after login.
How make
First install (Clear)
Follow all steps up to sqlite3 by Ferchoorias instruction and execute:
sqlite3 /var/www/db/menu.db "UPDATE menu SET order_no=1 where id='system';"
sqlite3 /var/www/db/menu.db "INSERT INTO menu (id, IdParent, Link, Name, Type, order_no) VALUES ('menu_control_panel', '', '', 'Control Panel', '', 0);"
sqlite3 /var/www/db/menu.db "INSERT INTO menu (id, IdParent, Link, Name, Type, order_no) VALUES ('control_panel', 'menu_control_panel', '', 'Control Panel', 'module', 1);"
sqlite3 /var/www/db/acl.db "INSERT INTO acl_resource (name, description) VALUES ('control_panel', 'Control Panel');"
Change menu after instruction by Ferchoorias
sqlite3 /var/www/db/acl.db "DELETE FROM acl_resource WHERE name='control_panel';"
sqlite3 /var/www/db/menu.db "DELETE FROM menu WHERE id='control_panel' AND Name='Issabel Panel';"
sqlite3 /var/www/db/menu.db "UPDATE menu SET order_no=1 where id='system';"
sqlite3 /var/www/db/menu.db "INSERT INTO menu (id, IdParent, Link, Name, Type, order_no) VALUES ('menu_control_panel', '', '', 'Control Panel', '', 0);"
sqlite3 /var/www/db/menu.db "INSERT INTO menu (id, IdParent, Link, Name, Type, order_no) VALUES ('control_panel', 'menu_control_panel', '', 'Control Panel', 'module', 1);"
sqlite3 /var/www/db/acl.db "INSERT INTO acl_resource (name, description) VALUES ('control_panel', 'Control Panel');"