'Hello World' web page
If you are new to developing websites with the CMS, follow this quick and simple guide.
Hello World
- Create a new blank website.
- Click 'templates'
- Click 'New page template'
- Paste in the following code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
- Click 'Editor'
- Add a page
- Click 'Publish'
- Click the link next to the logout button to open the publsihed site in a new window.
- Job done. You can now create 'hard-wired' page templates using the CMS.
Add a menu
The CMS will create menus for you.
- Click 'New navigation template'
- Add the following code:
Start:
<div id="menu">
Current page:
<div>
<a style="color:red" href="<pagelink>" title="<hover>"><pagename></a>
</div>
Other pages:
<div>
<a style="color:black" href="<pagelink>" title="<hover>"><pagename></a>
</div>
End:
</div>
- Now add this code to place the menu after the H1 tag in the body of your page template:
<si5 type=nav>