|
A description of the demo site
The demo site shipped with the TT Web Site Manager has 3 pages, and forms a simple
content managed news site. It includes a database table called demo_news which
stores the news stories. The 3 pages are listed as follows:
news.html is a page which displays the news stories in a table. Other than
retrieving the stories it has no other function.
editnews.html is the management page for the news displayed in news.html. It
lists the news in the same way as news.html, but it lists each item in a form which
allows the user to update or delete the story. Because it is a mangement page it is
a private page, for this reason a private page user is included with the demo site,
username demo, password demo.
If you take a look at the structure of editnews.html, it follows the format of most
content management scripts, with a series of conditional code blocks at the top to
deal with form actions before the main display code.
ttwm_logo.xbmp is the TT Web Site Manager logo as an X Windows bitmap. It
should appear at the top of the other two pages. It is composed entirely as static
content but it serves to demonstrate TT Web Site Manager delivering non HTML content.
To visit the demo site assuming it has been installed as per the instructions in the
demo site install page you should only have to call
the build.php script directly because news.html is the default page for the demo site.
|