When you create a paper Opus creates a few articles for you. These are:
- The navigation bar down the left hand side of the page. This is
just another article which you can edit.
- A page explaining that articles on your site are someone's copyright.
- A default home page.
- A sample news article announcing the launch of your web site.
- A links page.
- 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.
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
docs your directory for a document section and you
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
You can find out more about the types of documents that can be uploaded and the tools used here.