Opus   Opus 2.30 Publisher's Manual
   Product Overview
   Installation and Set Up
   Customising a Paper 
    Adding an RSS Feed
    Auxiliary Fields
    Blogging
    Creating Simple Forms
    Defining utags
    Extra Configuration Options
    Upload Document Types
    Using Sections
   Templates
   Using Datacards
   Using Objects
   Author Maintenance
   Activity Logging
   Technical Issues
   Appendices

Note that text shown in this style documents a feature which isn't in the current release but will be in the next release and text shown thus indicates a feature which is being removed in the next release.

If you find anything in this documentation which is wrong or unclear then please use the link at the bottom on the page to comment and we will update the page to correct it or make it clearer.

Search:


Customising a Paper

Basics

When you create a paper Opus creates a few articles for you. These are:

  1. The navigation bar down the left hand side of the page. This is just another article which you can edit.
  2. A page explaining that articles on your site are someone's copyright.
  3. A default home page.
  4. A sample news article announcing the launch of your web site.
  5. A links page.
  6. A page describing your privacy policy.
  7. A page telling the reader a little about Opus.

You can, and should, edit the first five pages, as soon as possible. You need to read the author documentation to find out how to do that.

You should also review the wording of the privacy policy (note that if your web site is based in the UK a privacy policy is a legal requirement for a site which uses cookies, which Opus does).

Using the Paper's Directory

Once you've created a paper you can tune it to give it your own personal style by putting files into the paper's own directory. The simplest of these is that if you place an image named logo.gif in your paper's directory Opus will then show that top left rather than Opus.

Many of the files used used to render the paper are stored in the directory ./php/def. Don't edit these files, instead copy any file you want to change to your paper's own directory and edit it there. Opus will automatically choose your copy in preference to the one in ./php/def. This means you can have different versions of any file for each paper.

The most important of these are the templates which are used to define the way the pages are displayed. They are discussed in more detail in the chapter on templates.

Changing the Style Sheet

The simplest thing to can do using this mechanism to change the look and feel is to modify the HTML cascading style sheets which Opus uses to set fonts and colours and the like with one of your own. By default Opus uses ./php/def/paperstyle.css which currently looks like this:

[Unknown user object paperstyle]

Copy that file into your paper's directory and make your changes and you'll see the style of the paper change.

Treating Uploaded Documents as Articles

If you want you can allow your authors to upload documents into your Opus system and treat them as articles.

When the reader selects an article which is a document they can be taken straight to the article, or can first be taken to a page which introduces the article and offers a hyperlink to it.

Document articles have their own section or sections so before you can use this facility you must create a new "document" section and tell Opus which directory to use for documents in that section. This directory must be writeable by your web server. Documents are stored in sub-directories of that directory and these have the same name as the article number. Hence if you make docs your directory for a document section and you upload manual.pdf as article 145 in that section then it is stored on your server as ./docs/145/manual.pdf. Doing it this way avoids problems if your authors upload two different documents with the same filename. Note also that spaces in file names (a perversion particularly popular with creators of Word documents) are replaced with underscores when the document is saved on the server, hence ensuring more sensible URLs.

Opus attempts to allow readers to search these documents. It does this by extracting the raw text using whatever tools you have made available to it.

You can find out more about the types of documents that can be uploaded and the tools used here.

Comment on this page

Copyright
Privacy Policy