Skip to content

OGo Docs

Sections
Personal tools
You are here: Home » Members » mkbrown's Home » OpenGroupware Publisher » How to create a simple Website using Publisher.

How to create a simple Website using Publisher.

Document Actions
A quick and easy way to create a simple website with OpenGroupware's publisher.

This how to is based on some materials from the source code, as well as examples of the templates used to make up the OpenGroupware.org website. Thanks to all those who've contributed to this how-to by contributing source to the projects I've based parts of this how-to on.

This will also assume you know your way around OGo's web interface, and know how to create projects, new files, etc.

First things first, you will need to create a project. If it's a company wide project (like the corporate website, or an intra-net) you might want your OGo admin to create the project and set permissions, so it shows up in the common projects.

Publisher uses templates to create the content that is output as HTML. Templates allow you to customize the information, create default layouts and override them as needed, and do some other fancy stuff. We'll be keeping it simple for now.

First, you'll want to create the Main.xtmpl template. This is the first, and most important template, since publisher will not work without it.

Here's what we're going to put into our Main.xtmpl today.

<!--**Remove these comment tags**
<?xml version="1.0" encoding="iso-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:var="http://www.skyrix.com/od/binding"
      xmlns:js="http://www.skyrix.com/od/javascript"
>
  <SKYOBJ insertvalue="template" name="head" />
  <SKYOBJ insertvalue="var" name="body" />
</html>
**Remove these comment tags**-->
Created by mkbrown
Last modified 2004-07-21 10:35 PM

1089793245

Posted by boutnykiller at 2004-07-14 10:20 AM

Well, seems to be interesting, but a little imcomplete...

 

Powered by Plone

This site conforms to the following standards: