System Documentation - SCIPS CMS
Version History
| Version |
Date |
Notes |
| 1.2 |
2004-10-27 |
Additions and amendments as a result of Web Survey extension are denoted by a single border - Example |
| 1.3 |
2005-12-07 |
Entire document is revised. Specific additions are annotated with a double border - Example |
Introduction
This document has been produced to complement the development work performed to create the SCIPS content management system (CMS). The SCIPS resource is based upon an open source CMS, Plone, which is built upon on the content management framework (CMF), Zope. Background information regarding the type of software behind this project can be found in the accompanying CMS overview.
Requirements Specification
The requirements for this resource are detailed in the following documents.
Maintenance
This section explains how to perform the common CMS maintenance tasks. Please also refer to the Plone and Zope manuals for further information.
Adding New Content
To add SCIPSType content, such as Subject Documents, you must log into the SCIPS resource, with manager privileges, Log in Page. Please note that only items that have had their state changed to published can be viewed by normal members.
The Subject and Disability Document portal type have not been described individually below, please read through the Subject and Challenge Document type, and other types for a good understanding of how to create this type of document.
Challenge Document
- Navigate to the Challenges folder
- Click Add New Item
- Select Challenge Document from the drop down list
- Now enter the data into the document
- Id
- This represents part of the page's URL. (Optional)
- Title
- This appears at the start of the page content, the title bar of the browser, in bookmarks and can contain spaces.
- Challenge
- Challenge name used to link document with other related document types.
- Resources
- The URL of the Resources Document. Normally this will reside in the resources subfolder. Relative addresses can be used, e.g. resources/organisation_resources.html (Optional)
- Subjects
- A list of one or more subjects associated with this challenge. It is important to be consistent and use the exact subject attribute set in the each of the corresponding Subject Documents. (Optional)
- Characteristics
- This attribute represents the Characteristics section of the document. This can be in plain text or HTML format. (Optional)
- Strategies
- This attribute makes the Strategies section of the document. This can be in plain text or HTML format. (Optional)
- Body
- This attribute makes up the remaining content of the page. This can be in plain text or HTML format. You can either enter text directly or upload the contents from a file on you computer. (Optional)
- Click the Save button
Subject Document
- Navigate to the Subjects folder
- Click Add New Item
- Select Subject Document from the drop down list
- Now enter the data into the document
- Id
- This represents part of the page's URL. (Optional)
- Title
- This appears at the start of the page content, the title bar of the browser and can contain spaces.
- Subject
- Subject name used to link document with other related document types and appears in the Browse page Subject drop down list.
- Challenges
- A list of one or more challenges associated with this subject. It is important to be consistent and use the challenge attribute set in the each of the corresponding Challenge Documents. (Optional)
- Benchmark
- This should be a URL to an external resource, where the benchmark statement for this subject is. Please ensure the full address it used. For example; http://www.example.ac.uk/math/benchmark.html (Optional)
- Learning Activity Groups
- A list of one or more Learning Activity group names. It is important to be consistent when creating Learning Activity Information items and use the same wording for the group names. (Optional)
- Resources
- The URL of the Resources Document. Normally this will reside in the resources subfolder. Relative addresses can be used, e.g. resources/computing_resources.html (Optional)
- Body
- This attribute makes up main content of the page, and appears before the Learning Activities against Challenges matrices. This can be in plain text or HTML format. You can either enter text directly or upload the contents from a file on you computer.
- Click the Save button
Resources Document
This page represents a record of URLs to resources available for the associated Disability, Challenge or Subject. This is a freely formatted document.
- Navigate to the resources folder, a subfolder of the Subjects, Challenges or Disabilities folder
- Click Add New Item
- Select Document from the drop down list
- Now enter the data
- Short Name
- This represents part of the page's URL, e.g. computing_resources.html. (Optional)
- Title
- This appears at the start of the page content, the title bar of the browser and can contain spaces. For example, Computing Related Resources
- Description
- This summary appears directly before the body of a page. (Optional)
- Body text
- This attribute makes up main content of the page. You can select the format of the body - plain text, structured text or HTML format. You can either enter text directly or upload the contents from a file on you computer.
- Click the Save button
Learning Activity Information
Each Learning Activity Information item represents an 'X' link on a Subject's Challenge and Learning Activity matrix. When the link is selected the body appears in the resulting pop up window. Please be aware that when there is learning activity information relating to several challenges, this will require multiple 'Learning Activity Information' items with the same title.
- Navigate to Learning Activity Information folder, a subfolder of the Subject folders
- Select the relevant subject folder
- Click Add New Item
- Select Learning Activity Information from the drop down list
- Enter data
- Id
- This represents part of the page's URL. (Optional)
- Title
- The actual Learning Activity name (row name in matrix)
- Learning Activity Group
- Enter the exact group name that this Learning Activity Information belongs to
- Subject
- Enter the Study Subject that this information relates to
- Challenge
- Enter associated Challenge name (column name in Challenge and Learning Activity matrix)
- Body
- Explanation of the Learning Activity. This can be in plain text or HTML format. You can either enter text directly or upload the contents from a file on you computer.
- Click the Save button
Subject and Challenge Document
- Navigate to the Subjects and Challenges folder
- Click Add New Item
- Select Subject and Challenge Document from the drop down list
- Enter content
- Id
- This represents part of the page's URL. (Optional)
- Title
- This appears at the start of the page content, the title bar of the browser and can contain spaces.
- Subject
- Study subject name used when linking item to associated Challenge Document
- Challenge
- Challenge name, as used in the associated Challenge Document
- Case Studies
- The URL of the Case Studies Document. Normally this will reside in the casestudies subfolder. Relative addresses can be used, e.g. casestudies/computing_anxiety_case_studies.html (Optional)
- Body
- This attribute makes up main content of the page. This can be in plain text or HTML format. You can either enter text directly or upload the contents from a file on you computer.
- Click the Save button
Case Studies Document
This free form document relates to a specific Subject and Challenge document and should have its location set in the associated item's Case Studies URL field.
- Navigate to the casestudies folder, a subfolder of the Subjects and Challenges folder
- Click Add New Item
- Select Pop Up Document from the drop down list
- Now enter the data
- Short Name
- This represents part of the page's URL, e.g. computing_anxiety_case_studies.html. (Optional)
- Title
- This appears at the start of the page content, the title bar of the browser and can contain spaces.
- Description
- This summary appears directly before the main content of the case studies page. (Optional)
- Body text
- This attribute makes up main content of the page. You can select the format of the body - plain text, structured text or HTML format. You can either enter text directly or upload the contents from a file on you computer.
- Click the Save button
Key Skill Document
- Navigate to the Key Skills folder
- Click Add New Item
- Select Key Skill Document from the drop down list
- Enter content
- Id
- This represents part of the page's URL. (Optional)
- Title
- This appears at the start of the page content, the title bar of the browser and can contain spaces.
- Key Skill
- Succinct name used to populate the Browse page's Key Skill drop down list.
- Group
- Name used to group the key skills in the Browse page select box. Ensure consistent naming of the same group.
Sample of Browse page select box -
- Resources
- The URL of the Resources Document. Normally this will reside in the resources subfolder. Relative addresses can be used, e.g. resources/concentration_resources.html (Optional)
- Challenges
- A list of one or more challenges associated with this key skill. It is important to be consistent and use the challenge attribute set in the each of the corresponding Challenge Document. (Optional)
- Body
- This attribute makes up main content of the page. This can be in plain text or HTML format. You can either enter text directly or upload the contents from a file on you computer.
- Click the Save button
Question
- Navigate to the Feedback folder
- Click Add New Item
- Select Question from the drop down list
- Enter content
- Id
- This represents the last part of the individual Question's URL. (Optional)
- Title
- Within the individual Question view, the title appears at the start of the page content, the title bar of the browser and can contain spaces. When the Question is viewed as part of a Survey, the title appears as a introductory header to each Question.
- Multiple Choice Question
- Enter the question text here. Only used when a multiple-choice question is needed. (Optional)
- Multiple Responses Allowed
- Check this box if you want to allow users to select more than one answer to a multiple choise question.
- Multiple Choice Answers
- Enter a list of possible responses, each on a new line. Only required when using a multiple-choice question. (Optional)
- Open Feedback Question
- Where a free text response is required, enter the question here. This question can be used in conjunction with a multiple-choice question or separately. (Optional)
- Click the Save button
Survey
- Navigate to the Feedback folder
- Click Add New Item
- Select Survey from the drop down list
- Enter content
- Id
- This represents part of the Survey's URL. (Optional)
- Title
- This appears at the start of the Survey page, the title bar of the browser and can contain spaces.
- Introduction
- This section is shown before the questions on the survey
- End Statement
- Enter a message to be shown after a user has completed the survey.
- Questions
- Questions that exist within the same folder as the survey will populate this select box. Only Questions that have been explicitly selected will appear in the survey. (Optional)
- Click the Save button
Referencing Additional Questions
As well as the above mentioned method of associating Questions with a survey, it is possible to reference Questions that are not stored in the same folder as a Survey.
- Navigate to the Question(s) required
- Copy the item(s)
- Navigate to the Survey
- Click on the References tab
- Paste the Question items
Metadata / Properties
Every document type can have additional metadata associated with it. This data can be used to improve categorising and searching of your data. Visit the Dublin Core - Metadata website for more information.
- Navigate to object you wish to change
- Click the Properties tab
- Enter metadata
- Allow Discussion on this item / Allow Discussion?
- When activated, you can attach threaded discussions to the object. If you allow discussion, there will be a 'Add Comment' button that appears at the bottom of the content.
- Keywords
- A list of all existing keywords is available for selection and new subjects can also be added. NB: When no documents refer to a specific keyword it will be removed from the list of existing keywords. See PloneKeywordManger product for more information about keyword maintenance.
- Effective Date
- Date from which this object can become visible, given that it is published.
- Expiration Date
- A mechanism to limit the amount of time an object is available
- Format
- Change the MIME type of document. Not recommended. (Not available from SCIPSTypes, e.g. Subject Documents)
- Language
- Select the language the item is written in
- Description
- This summary appears directly before the body of a page. (Found on the edit tab for some portal types)
- Copyrights
- Copyright information, entry will appear at the footer of the item, above the author's name.
- Contributors
- Where the item has been produced in collaboration, list all author names here.
- Click the Save button
Managing Users & Roles
The following user maintenance functions can be using performed from within the Plone or Zope Management Interface.
- Creation
- Deletion
- Password Reissuing - Only via the Plone interface
- Role Assignments - Only via the ZMI
User Configuration - via the Plone interface
- Plone Setup
- Users and Groups Administration
User Configuration - through the ZMI
Searching for Members
You can search for users by the following parameters;
- Name - Full name or member name
- E-mail
- Last logged in (date)
- Role(s)
Location of Member Search - via the Plone interface
- Members link from the personal bar
Back Up Procedures
The frequency of backup of your database is dependant upon the frequency in which it changes. See the Zope and or Plone manual for more information relating to backing up the database.
To create a Windows specific backup of Zope instance including your SCIPS Plone website you should make a copy of your Data.fs file. Normally found in the C:\Plone 2\Data\var folder of the web server. However, to create a remote backup that is platform independent exporting the Plone object is recommended.
Please note that in windows based installations the Plone service must be stopped to back up the entire database, Data.fs. The service can be stopped from the Services window of the web server Start > Administrative Tools > Services . Please ensure your restart the service once you are finished.
Exporting your SCIPS web site
Objects within Zope can be exported and imported. This is especially handy if you wish to duplicate your site for testing purposes or for general backup purposes. From the ZMI objects can easily be exported to another Zope server. Please note to import objects the zexp file must be first placed in the import folder of the Plone instance, usually found C:\Plone 2\Data\import on a standard installation of Plone on Windows.
-
Log into the Zope Management Interface, ZMI
http://scips.worc.ac.uk:8080/manage
- Select check box next to Plone the folder contents
- Click Import/Export
- Choose between downloading the file onto your PC - Download to local machine or the web server's PC - Save to file on server.
- This will allow you to export the entire SCIPS database, including member information.
Database Packing
The Plone CMS contains a history of all changes made to the database. This excellent facility allows you to undo any erroneous changes. However, it is suggested that you pack/trim the historical database periodically. It is suggested that at least once a month you pack the database to the last 30 days worth of history, to avoid ultimately running out of space on your server. This section can be found in the Zope Management Interface;
- Database Management at
/Control_Panel/Database/main
- Enter the number of days history you wish to keep, for example 30.
- Click Pack
You should decide on the frequency of your database packing, and the length of history you wish to keep. For example, pack once a week and keep 30 days worth of history.
Rotation of Log files
Log files, i.e. event.log and Z2.log, found in the C:\Plone 2\Data\log folder, should be periodically rotated/renewed in order to maintain a reasonable file size. If no automatic method is employed to rotate your log files you can safely delete the event.log file and restart the Zope server, from the ZMI - /Control_Panel. The server will automatically recreate a fresh log file. Whether or not you save your old log files is dependant upon your own requirements.
Trouble Shooting
If you receive an out of memory error:
- Restart your Zope server
- Pack your Zope Database, ZODB, regularly, at least once a week.
- Restart your Zope server, again if necessary.
- If problems persist, you may need to reduce the size of your log files
Common Configuration Changes
Mail Host
This setting must be updated to refer to the SMTP mail server. The default setting is SMTP Host: localhost and port: 25.
Mail Host Configuration - via the Plone interface
- Plone Setup
- Mail Settings
Mail Host Configuration - through the ZMI
Without a valid mail host 'password reminders' and 'Send this page to somebody' links will not function. Resulting in an error message being shown.
Member folder creation
This feature controls whether new users registering with the resource for the first time, will automatically have their own member folder created upon first login or not.
The setting should look like the example below;
Member Folder Configuration - through the ZMI
/Plone/portal_membership
- Control creation of member areas
Portal Properties
Site wide portal properties can be configured from here. Such as;
- Portal title, initially SCIPS
- Portal description
- Portal 'From' email name
- Portal 'From' email address
- Send validation email during member registration
- Slot configuration, e.g. Log in Box (From ZMI only)
Portal Properties Configuration - via the Plone interface
- Plone Setup
- Portal Settings
Portal Properties Configuration - through the ZMI
How to update the main navigation
All the information regarding the main navigational links, for example Home, Contact, Help, etc. can be found in the following templates, within the /Plone/portal_skins/custom folder
- header
- Left vertical icon-style navigation bar
- footer
- The bottom row of plain navigational link
If any changes to the main navigation is required, e.g. a new location, ensure that changes are made to both template files and to all references of the changed item.
Customisation
Plone is a ready to use multi-functional CMS. To fulfil the specific requirements of the SCIPS project several steps were taken to tailor the default Plone portal. The main configuration changes are detailed below.
Portal Properties
On the properties tab of the /Plone object in the ZMI you can specify which slots appear in the portal. Slots are self-contained items that appear on the left or right of the main page content. For example the Quick Links area and the Log in box are slots.
Current Slots
- Log in Box
here/portlet_login/macros/portlet
Visible if user is not logged in
- Review
here/portlet_review/macros/portlet
Visible if user has a Reviewer role and there is pending content, awaiting approval
- Quick Links
here/portlet_quick_links/macros/portlet
A custom collection of navigational links
- Favourites
here/portlet_favorites/macros/portlet
Visible if user has a personal folder and has added one or more documents to favourites
Available Slot Items
The following slots can be activated within your Plone portal by adding references to either the left or the right slot.
- Navigation
here/portlet_navigation/macros/portlet
A folder content tree, similar to a List View in Windows Explorer
- Related
here/portlet_related/macros/portlet
- News
here/portlet_news/macros/portlet
Listing of recent news items
- Events
here/portlet_events/macros/portlet
Listing of up and coming events
- Recent
here/portlet_recent/macros/portlet
A listing of recently modified/published items
- Calendar
here/portlet_calendar/macros/portlet
Calendar of past and future events
Portal Actions
Portal Actions define the conditions and functionality available through tabs and buttons for the given scope. For example actions can be defined for portal, folder or object level scope. The items that appear in the Personal Link bar, are governed by Portal Membership Actions.
Location of Action Settings within the ZMI.
/Plone/portal_actions
/Plone/portal_membership
Action Categories
- portal_tabs
- object_tabs
- folder_buttons
Portal Types
Plone defaults
Plone provides a number of built in content types, ready for use;
- Document
- Event
- File - Used for external media, such as spreadsheets
- Folder
- Image
- Link
- News Item
- Topic
See the Plone manual for more information regarding these content types.
Archetypes & SCIPSType
Archetypes is a framework for constructing new content types in Plone, using the Python programming language. It provides a bootstrapping mechanism to ease the creation of fully customised content types.
SCIPSType and SCIPSTypeII are both based upon Archetype and form a Zope product that consists of Python content type definitions and Zope Page Templates with accompanying Python scripts. The resulting portal types are listed below;
- SCIPSChallengeAndSubjectType (Subject And Challenge Document)
- SCIPSChallengeType (Challenge Document)
- SCIPSDisabilityAndSubjectType (Subject and Disability Document)
- SCIPSDisabilityType (Disability Document)
- SCIPSKeySkillType (Key Skill Document)
- SCIPSLearningActivityInformationType (Learning Activity Information)
- SCIPSSubjectType (Subject Document)
SCIPSTypeII
This product extends the customised portal types available for the SCIPS project.
- SCIPSSurveyType (Survey)
- SCIPSQuestionType (Question)
View the list of custom portal types' attributes Updated.
Other Portal Types
The following portal types were based on the Plone Document portal type. They were created to either alter the default view template used to display the document. In some cases derivative types were also created to dictate which documents were shown to non-members.
- Browse Document
- Home Page Document
- Pop-up Document
- References Document
- Contact Us Document
- Tutorial Document
Work Flow
An additional workflow was created to govern the SCIPS portal. The new workflow, scips_workflow, ensures that only a few specific content types are visible by anonymous users and that members can only view them when they are published.
The following custom portal types use the default workflow and are visible by anonymous users.
- Home Page Document
- Contact Us Document
- Tutorial Document
Additional Products/Plugins
The following third party Zope Products where installed in addition to the default Zope products bundled with the Plone 2.0.3 installer.
- SCIPSType
- SCIPSTypeII New
- PloneKeywordManager
- Location
-
- Log in
- Click the Plone Setup link in the Personal bar - top left of page
- Click Keyword Manager
- Usage
-
You will find an entry in Plone Setup called Keyword Manager. Inside, you will see an alphabetical listing and a selection for all keywords existing in your site.
Use the KEYWORD drop down to see similar terms for a single keyword. Use the former one if you want to see a list of all keywords starting with a specific letter. The Plone Keyword Manager will then search all keywords starting with that letter and will also look for similar
keywords.
You can now select several keywords and delete them for example. If you only want to change a single keyword, select it, then enter the new keyword and click on merge. If you want to merge several keywords into one new one, select them, enter the new keyword and click on merge.
The last selected keyword is entered automatically into the textbox if JavaScript is enabled. If you use it the right way, you will not have to copy & paste into the textbox.
- PloneSiteMap - Required some customisation
/Plone/portal_actions
- Configured name, uncheck visible attribute for portal-tab action
- sitemap.pt
- Updated title, language, and remove repeated DOCTYPE declaration
/Plone/portal_properties/plonesitemap_properties
- Update portal properties via ZMI.
- Add Document to metaTypesToDig
- Add learning_activity_information to idsNotToList
- Under metaTypesNotToList enter SCIPSQuestionType
- sitemap_styles.css
- Adjust styles to be inline with ploneCustom.css
Overridden Objects
Several built-in templates and scripts were modified to achieve the desired result. All of the customised files can be found in the /Plone/portal_skins/custom folder within the ZMI, with the exception of getNotAddableTypes which is also required in every subfolder.
Please note for purposes of migration to newer versions of Plone or other Zope products, the following built-in objects were overridden and should be checked for compatibility upon upgrades.
Plone Core
- search
- login_password
- portlet_login
- join_form (Registration Form)
- prefs_main_template
- main_template
- header
- footer
- favicon.ico
- ploneCustom.css
- plone_javascripts.js New
Third Party Product Overrides
Archetypes
PloneSiteMap
- sitemap (Site Map)
- sitemap_styles.css
All additional, newly created files, such as images and scripts can also be found in the /Plone/portal_skins/custom folder.
How to customise a page template Updated
Further modifications can be made to any of the page templates, (cascading style sheets, images or scripts) used in the SCIPS.
- Find the object you wish to customise - use the ZMI search
- Select the Find tab from the
/Plone object
- If the item is found in not found in the
/Plone/portal_skins/custom
- Edit your item
More information regarding custom page templates can be found in the Page Template Description document.
- Subject and Challenge Document
- challenge_and_subject_view
- Challenge Document
- challenge_view
- Subject and Disability Document
- disability_and_subject_view
- Disability Document
- disability_view
- Key Skill
- key_skill_view
- Learning Activity Information
- learning_information_view
- Subject Document
- subject_view
- learning_information_view
Additional template views created for SCIPSTypeII can initially be found within the ZMI folder /Plone/portal_skins/scipstypeii.
- Question
- question_view
- question_result_view
- Survey
- survey_view
- survey_result_view
Known Issues
Disassociating all keywords from a document
If all keywords are deselected and no new keywords are associated with a document, after saving the changes the previous keywords will be again selected. Hence it is impossible to deselect all keywords from an object once keywords have been associated with it. See the official Plone bug list to check on the progress of this issue.
Future Improvements
Extend Help Section
Create additional sections within the user tutorial for the following topics;
- Member Area - My Folder, e.g. Creating a home page
- Adding Favourites
- Setting Member Preferences
Add More Explanatory Text
- Advanced Search
- When not logged in, display within the search form and search results
You will not be able to search for content, whilst you are not logged in
- Site Map
- When not logged in, display within the site map
You will not be able to view the full site map, whilst you are not logged in
Caching Policy
Ensure that the current caching policy is effective for the subset of files it is associated with. See /Plone/HTTPCache in the ZMI.
Pop Up Documents
Open pop up type documents and Learning Activity information items, launched from the site map and search results, in a new window. Related files /Plone/portal_skins/custom/sitemap and /Plone/portal_skins/custom/search, respectively, are accessible through the ZMI.
User Selected Style sheets
To better suit a wide range of users the ability to re-skin the site, with a selection of style sheets should be offered. Further customised style sheets need to be created/installed.
Upgrade Plone & Zope
As upgrades become available it is advisable to assess the benefits of upgrading the Plone installation. Where factors such as improved security, performance and new features should be taken into account. At the time of writing SCIPS was based on Plone version 2.0.3.
References
Essential Reading
Local copies of the online books accompany this documentation, in PDF format.
Useful Web Resources
There are many external web resources available to aid Plone and Zope customisation.
Books
There are several books available for the CMF, Zope, which are useful for advanced customisation of your Zope instance. Recommended reading, as an additional resource for managing your Plone site are;
The Definitive Guide to Plone, ISBN: 1590593294
Online Version
Plone Live!, ISBN: 0976553406
Online Version
See the Plone website for an up to date list of available books.
System Documentation, version 1.3.1