HelloWorld site with EasyPublisher (Tutorial 1)
In a folder (like the root):
-
Add one EasyEditor and one EasyNavigation
-
In the EasyEditor there should be a Template called 'main'.
-
In the 'main' template create a Easy DTMLView called 'default':
id = 'default'
title = 'Default'
is Editable = true
id = 'content'
Storage Container Id = 'content'
Storage = 'DTMLStorage'
Default Value = '<p class="p"></p>'
id = 'p'
Title = 'Normal'
CSS Code = 'font-family: verdana; font-size: 11pt;'
-
Set the template to 'main' in the folder you created the EasyEditor in (your root folder)
-
Set the Default View to 'default' in the folder you created the EasyEditor in (your root folder)
-
Test your site. Enter the root objects Editor-view and
highlight editable regions (click on the white and yellow icon in the
toolbar of the editor).
You will see a red content area in the top of the page, click on it to gain text-focus and enter some text (Hello World).
Select the 'Normal' style.
Next: Hello Navigation (tutorial 2)
|