easy publisher easy publisher easy publisher
       
 

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

  • In the 'main' template create an EditableRegion called 'content':

id = 'content'

Storage Container Id = 'content'

Storage = 'DTMLStorage'

Default Value = '<p class="p"></p>'

  • In the EasyEditor (content-view) add CSS Style name 'p':

id = 'p'

Title = 'Normal'

CSS Code = 'font-family: verdana; font-size: 11pt;'

  • Revisit the 'main' template and check the 'Normal' style under the Styles-tab.

  • 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.

  • Click Change and return to the Contents-view of the root. There will be an DTML Method created with your newly entered text. View the page to look at the page.

Next: Hello Navigation (tutorial 2)

 

 

Hello World Export File