Editing basic site files

Your site file is the template that brings together your content and supplementary content files and turns them into web pages. You cannot create web pages in CMS2 without a site file. A site file controls the order of your content in the left-hand menu, the number of content items on your page, and part of the URL.

Some background:

Tips on editing:

The URL chain


Your site file is part of a large structure (or chain) of site files that fit together behind the University's home site. It is useful to know the URL of your site and it's relative position in the University's site structure before beginning work.

When a new site is created, it is not automatically viewable. The site must be attached to an existing higher-level site, thus fitting into an approved structure. If you are a research centre, for example, you must attach your new site to the existing Research Centres site under /research-centre/. If your site is a service site, you must attach your site to the existing Services site under /service and so on.

Generally, you will attach your new site to your own business area, so if you are creating a sub-site for your school, your site needs to be attached to your School's existing site. In some cases you may not have access to attach your new site to another. Please contact the web team if this is the case.

For more information, see pages 45-48 in the CMS2 Training Manual.

Understanding the site file


Your site definition file contains four screen pages. Do not confuse these with web pages, as these 'pages' are better thought of as a form in four screen parts. Note: You will only ever need to fill in the first three screens.

For more information, see pages 41-43 in the CMS2 Training Manual.

Screen one (site options)

When you edit your site file, it will open on the first screen page by default. This screen contains basic information about your site i.e. The name, location (part of the URL) and the description.

Screen two (landing page)

Screen two needs at least one content file to make up the homepage (or landing page) of your site. You can use the browse button to add the content file.

Screen three (left-hand menu)

Screen three contains information for the remaining menu items on the left-hand side of your site. You will use this screen to add pages to your site as well as sub-sites (sub pages that sit under another page structurally).

For more information about Sub-sites, see pages 44-45 in the CMS2 Training Manual.

Your site's menu


It is important to remember that every page that you create must appear in the left-hand menu of your site. This means that pages that are not linked into your site's navigation will not be viewable at all. If you do not want your page to be viewable on the web, the web may not be the appropriate place to publish it. If you would like to restrict your pages to staff and or students of the University, please see our page on site security. (Please note that the page will still appear in your menu but will require a login before the content is accessible.)

When will I need to edit my site file?

  1. Adding a new page to a site
  2. Removing a page from a site
  3. Rearranging the order of the pages in your site's menu
  4. Adding something to the right-hand side of a page (supplementary content)
  5. Removing something from the right-hand side of a page (supplementary content)
  6. Rearranging right-hand side items (supplementary content) on a page.

Please note: if you are making textual or design changes to content or supplementary content items that are already displayed on the web, you do not need to edit your site file.

How do I add/remove a new page to my site?

To Add: Firstly, you will need to find your site in the sites folder in CMS2. Once you have found your site, check the box next to file and click 'edit'. Use the arrow at the bottom right-hand side of the screen to flick to screen three. Once on screen three, use the scroll bar to locate where you want your new page to slot in. Click the plus symbol on the page above to open a new field. Give your new page a name. Browse for your content file(s) and supplementary content file(s). Click finish and continue your submission process as you normally would.

To remove: Use the cross symbol to delete your page(s). Finish and submit.

For more information, see page 43 in the CMS2 Training Manual.

How do I add/remove new supplementary content to my site?

To Add: On screen three of your site file, use the scroll bar to locate the page(s) that you want your supplementary content to appear on. Underneath the content file on the page, use the plus symbol to add a new 'file'. Browse for your supplementary content file. Finish and submit.

(Note: When you are browsing, you will need to use the arrow to navigate up out of the content folder and into the supplementary content folder.)

To remove: Locate the supplementary content file on your page(s) and use the cross symbol to delete the file. Finish and submit.

How do I rearrange the order of the pages in my site's menu?

Rearranging your pages and or files within a page is as simple as using control arrows up and down. On screen three of your site file, use the scroll bar to locate the page that requires moving and use the arrows beside it to move it up or down in the menu. Finish and submit.

How do I rearrange the order of the supplementary content items on a page?

On screen three of your site file, use the scroll bar to locate the page(s) that contain the supplementary content. Once you have located the supplementary content file, use the arrows beside it to move it up or down on the page. Finish and submit.