Website 2 - Add Text Editing


The following example is an upgrade to the previous example.

Now, the user can login to an administrative screen and make updates using markdown syntax. Since the markdown parser is written in PHP and probably not very fast, both markdown and HTML versions of are saved. On execution, the HTML version is displayed, white the user edits the markdown version.

Click for demo The login button is at the bottom of the page. Updates have been disabled for demo.

 basic 3-page website

Top-level folder:

 top level file structure for NS-2

Inc folder:

 inc folder for NS-2

Blocks-html folder:

 files in blocks-html file for NS-2

Blocks-md folder:

 files in blocks-html file for NS-2


View Code
Top-level folder:
inc folder:
blocks-html folder:
blocks-md folder: