CYJS framework provides a live page edit mode.

By clicking these icons on the sidemenu right, CYJS will automatically load the 3 HTML/JS/CSS files for the corresponding page. You are free to edit them then to save them if you have decided to authorize this by updating php/uploadfile.php.

Please again : take care, it would be easy for an unidentified hacker to alter your installation if you have modified the php/uploadfile.php to accept file writing without any authentication. No risk if you did not change it.

Direct Edit

1
2
3
4
1

Save with

php/uploadfile.php

2

Close

3

Iconify

4

Iconified dialog window

Doucle click to open

CYJS Javascript framework will help you to easily create a Windows like desktop in your app 😉

In that above example, the CYSetIconFileEdit() function in js/sidemenu.js file do all the job, just delete it if you don’t need it, or do not propose it for a non-admin user by instance.

Any object can be iconified, like panel that have a dedicated attribute for that purpose.

In the above example, clicking on the button will close the menu and iconify the button 😉

$("#closemenubutton").click(function ()
    {
        CYOpenSideMenu(false, false);
        CYIconify($(this), "Button");
    }
);