cse taggi

Log in

OpenCms

OpenCms at CSE

This page provides information useful if you need to edit CSE web pages using OpenCms.

What is OpenCms ?

OpenCms is a professional level Open Source Website Content Management System. OpenCms helps to create and manage complex websites easily without knowledge of html. An integrated WYSIWYG editor with a user interface similar to well known office applications helps the user creating the contents, while a sophisticated template engine enforces a site-wide corporate layout.

The OpenCms Workplace



What is the OpenCms Workplace?

The Workplace is the centre of OpenCms. All Editors will use the Workplace to create and edit their web content. The majority of technical administration is done through the Workplace, and system administrators will use it to manage cache, check logs and install new modules.

Logging in

To be able to use the OpenCms Workplace you will need to use your CSE credentials. If you have not previously updated web pages, you might not have write access on the OpenCms system. If that is the case for your then you will need to contact the web administrator to get update privileges on the OpenCms system. If you have not yet done so please contact web admin on webmaster AT cse DOT unsw DOT edu DOT au.

Next, surf to the OpenCms Workplace site were you would find the main page.

The Main OpenCms login web page:

Image of the Main opencms login web page

From there just press the login link, which will take you to the login window. On the login window you will need to use the credentials that the web admin provided you with. If your login was successful you should see a new window pop open. If that does not happen, make sure that your browser does not block pop-ups. You are now in the OpenCms Workplace.

Can I make a certain directory my default starting point when I first login to the Workplace?

Yes you can. This is achieved by going to Preferences by clicking on the Preferences tab on the top right corner of the work place. From there and under the Startup Settings you will find the option "Start with folder" the default would be "/", by pressing the small yellow folder image, beside that option, you can choose where the Workplace should startup when you first login, after you choose the location press the Okay button and your are done. (see image below)

Image of the Preferences web page

I don't know what all the buttons in the workplace navigation do, is there a way to display text of what they are?

Yes. The default setup is that the navigation buttons are only displayed as images. When this is the case if you go over the navigation button after a short period of time text will pop up telling you the name of the navigation button.

You can however, change this behaviour and make it display the navigation button and its name all the time. You can achieve that by going into Preferences and under General options change Head button style to Image and text instead of Image only. (see image above)

Changing your password

You can not change your password from within OpenCms; the system uses your existing CSE credentials.

If you forgot your password or need to change it please contact SS.

New web page creation

To add a new web page to your part of the CSE site you will need to do the following:

  1. Login to the OpenCms Workplace (if you do not know ohw to do this, reading the heading Logging in above.
  2. go to the place in the file system were you want to create the new web page.
  3. Click on the New Button located on the top left-hand corner of the Workplace. (see image below) image of the New Button
  4. you would be presented with the a new resource type selection page, from it you will need to choose Page with free text then pressing continue.
  5. You would be presented with a Create new page form. You will need to choose the name of the web page which it would be saved under, and from a drop down menu, the CSE template it needs to use (for example index.html and CSE About Template) if you want to create the new page in the about cse section of the cse website.


create a new page screen image

  1. When you press continue, you would be faced with the Properties page of the newly created web page. Fill in the title of the page or simply just press Ok to finish the process.


I am not happy with WYSIWYG editors, can I use a straight HTML source editor instead?

Of course, when you go to the page you want to edit in the OpenCms Workplace you can just click on the word Source in the editor's navigation bar (see image below) and you will be switched to source code view were you can write pure HTML code there or do all your editing in your favourite web editor and just copy the source code to the source view of the page in question.

web editor in standard mode

web editor in source mode

To switch back to the WYSIWYG view just press the Source button in the navigation again.

When I go to edit a page I only find it in HTML source, where is the WYSIWYG editor?

It depends on the browser you are using, if you happen to be using Safari or Opera web browsers, then you will only see a source editor, this is due to the fact that in their current versions Safari and Opera are not compatible with the WYSIWYG editor in OpenCms.

Browsers known to show the WYSIWYG editor correctly are Firefox v2.0.11 and above and IE v7. Please try using one of those two browsers, we recommend Firefox since it is the browser we have done most of our testing on.

Where to upload images and documents?

There is a convention set-up in the OpenCms system to where to upload images and documents. This convention goes as follows: For example: I am adding an image to a StudentOffice web page, then you upload the image you want to add to "/people/studentoffice/images/". The images folder is actually configured to be just that, thus in OpenCms the images folder would have extra functionality that are graphic oriented.



Notes:

When referencing to images and documents in your web pages, you should either browse to the file in question, or if you know where it is, just write the address directly in. However, if you do the latter, make sure that you do not add the main web address eg. www.cse.unsw.edu.au, instead just put the address relative to OpenCms. In the example above, if the pdf document is called document.pdf, it would be referenced in the link to it as follows: "/people/studentoffice/downloads/example.pdf" This way OpenCms would be able to check internally for correct links in the web page when published.

If you do not find an image folder in the place you expect, then keep going to one directory above the one you are searching at until you find it. For example, if you want to add images to "/people/studentoffice/extrafolder/images/", but you don't find an images folder there, then if you go one directory above, you will generally find it there. In this example it would be "/people/studentoffice/images/".

I press the upload button but nothing happens?

The default way OpenCms uses to upload files is via a Java applet. There is a possibility that the applet is not compatible with your computer's setup. To make uploads work do the following:

Press on the Preferences tab on the top right hand side of the OpenCms navigation panel. In the page you are presented with you will need to un-tick the box beside the words "Use Upload-Applet" then press ok.

Now when you press the upload button a standard HTML upload page will be presented to you.

I created a group of web-pages externally, can I import them to OpenCms?

If you created web pages outside of OpenCms and want to upload them all to OpenCms and apply template formatting you will need to do the following:



Extended import form Image



Editing an existing web page

You are able to edit an existing web page via two methods.

After logging in the OpenCms Workplace go to the page via the side Navigation menu then left-click with your mouse over the file that needs editing and choose Edit page from the pop-up menu. That would take you to a WYCIWYG editor of the chosen page, from which you can edit the web page like a normal office application document.

After logging into the OpenCms Workplace open a new web browser and then go to https://opencms.cse.unsw.edu.au/ When you are already logged in the OpenCms Workplace going to the given address would actually take you to the OfflineProject from there you can navigate the site just like to navigate the normal cse website until you get to the page you want to edit.

On the page you want to edit simply press on the Direct Edit button as indicated by the arrow in the image below.

image showing the Direct Edit button

How to add/delete/modify links in sections of the CSE website that have side navigation?

The side navigation is read dynamically to each section of the CSE website that has one. If you want to add/delete/modify the links or their position in the navigation you can do it in the following way:



Properties Image



News & Events page creation

The creation of News pages is set-up to be dynamic via the OpenCms system; to create a new News entry, you will need first to logon into the OpenCms workplace, then proceed to the News & Events page via the OpenCms file explorer. (see image below)

The News Index page via the Explorer in the OpenCms Workplace

When you click on the news/index.html link via the Workplace explorer, the actual page will come up with extra information that only users logged into the OpenCms workplace would be able to see. (see image below)

New & Events web age Image

If you press the plus sign as shown in the image above, you will be presented with a formatted page, which you would need to fill. (see image below)

News page form image

You will be faced with several fields, which are explained in the table below. (The information in the table below would be displayed for each field while you are on the form page if you go over the question mark bubble image)

Title: Enter the title of the news article (this will show up as the title on the full detailed view of the news article). (Mandatory field)
Teaser Title: Enter the teaser title of the news article (This is what people will see as the article link on the News page/Front page of the CSE website). (Mandatory field)
Content: Is the actual news content for this article, you also have the option here of adding images to the article. (Mandatory field)
Links: If there are supplementary links that will help the reader of the article this is where you add them.
Priority: The priority of the news article, needed to build a sort order for news article lists, else it will sort by date
Release date: Enter the date when this news article should be available to the public. (Mandatory field)
Archive date: Enter the date when this news article should move to the news archive page.
Notes on the above table:



Is there an easy way to create redirects to external/internal web pages?

If you want to have a link for example www.cse.unsw.edu.au/somewhere/something.html, that goes to www.someplace.com then you should do the following:



You are done.

Restrict web access to a file/web page

If you want to render a web page inaccessible via the Online project, but you want to keep the file, you will need first to login into the OpenCms workplace, go to the said file/web page, left click your mouse over the file you need to deny access to and then choose Availability. (see image below)

Availability from the drop down menu image

From the screen you are presented with (see image below) you will need to fill in the Date expired field by choosing the calendar icon, as shown in the image below, then choose the date you want the page/file to expire on, doing so would render the file/web-page inaccessible from the CSE website, but still accessible in the OpenCms workplace.

Availability details page in OpenCms

Publishing web pages to the Online Project

You finished updating a web page via the OpenCms workplace in the OfflineProject, how do I get the page published in the Online Project?

After saving the page and taking a look at the updated page making sure it is all correct, you can update the page via two methods:

1 Enter the page again via the Direct Edit button as explained above and then press the Publish Directly button located on the Top left side of the page. (see image below)

Location of Publish Directly button

2 Via the workplace section you can right click the webpage/s you just updated (any page that has been updated since last publish will display a small yellow flag beside it) and then from the menu that pops up choose Publish Directly._(see image below)_

Publish Directly via the workplace

Both methods above will initiate the publishing procedure and check the page/s for any link errors and then inform you when the page/s have been published successfully.

Whenever I try to publish some pages, OpenCms complains that there are broken links even though when I check them they work!

OpenCms has a link checking system that goes through each page that is about to be published. In CSE we have a special situation were there are still parts of our site that exist outside of OpenCms, however, all the redirections are made in the background and are done before the link request reaches OpenCms. The OpenCms system itself does not know of this special arrangment and thus if there are links that seem to be coming from inside the Cms that OpenCms can not find, it will complain about them.

If you encounter any of the following you can ignore the broken link warnings (though if you added such a link yourself, you should check that it is working manually to be safe).



Tags for this page:

opencms