How to install, use and administrate a full website with XsltCMS

Abstract

  1. Download the minimal version of XsltCMS , and unzip it in a local folder
  2. Open yourwebsite/ create/ website/ config.xml and change user email and password
  3. Open yourwebsite/ create/ website/ template/ page.xsl, yourwebsite/ create/ website/ html_text.css, yourwebsite/site.css to change presentation (fonts, colors, etc.)
  4. Put everything directly on your server (with a FTP client for example)
  5. Log in on (http://yourwebsite/create/)
  6. Create pages

1. Prerequites

You need :

You need to know :

2. Choose a version to download

XsltCMS is minimizing migration problems, so you should download in any case the last version available.

Downloadable archives are demo websites. So you can choose between some versions to download.

Minimal demo is of course the usual version to begin with.

3. How to install it

Download and unzip archive on a local folder.

Change configuration files as needed (see below).

Send it fully in any directory on your webserver.

Public part of the website is now accessible at http://yourwebsite/index.html

Private part of the website is now accessible at http://yourwebsite/create/

N.B. : XsltCMS use .htaccess file to restrict access to some files. If your server do not accept it, please make sure that the containing directories are secured one way or another.

4. Configuration

Configuring your website is done mainly by modifying some XML files.

create/static/* should not be modified

create/website/* should be modified by you (create/website/data/* should not often be modified directly, as in contains the real data)

4.1 Glossary

Website : some pages with one instance of XsltCMS

Item : a document ; can be a page, an animal, everything that has a name and some data, creating this is a common task in a CMS

Property : one data in an item

Item Type : description indicating how behave one kind of items, creating this if needed is a part of the website configuration

Property Type : subpart of an item type

XML : (meta-)language used to describe things in XsltCMS

XSL : template language used to create templates in XsltCMS, i.e. indicating how items (and their properties) are showed on some pages. XSL a XML language.

XSLT : XSL Transformation, i.e. the action of using a XSL template

Module : a part of XsltCMS dedicated to a task. There are 5 modules in the basic installation ("informations", "items", "tasks", "login" and "dynamic").

4.2 General configuration

Minimal configuration can be ok for simple websites. If not, create/website/config.xml is the main configuration file.

Changes are taken in account immediatly. Here are the elements and their meanings :

4.3 View configuration

You have to indicate how items are showed in the website

This include :

4.4 Behaviour configuration of the private part

You can change the behaviour of the private part, modifying XsltCMS.

See how to modify

5 Use

Here are the informations to use XsltCMS as a content producer. The following section is the only one needed by redactors and editors of your website :

5.1 Logging

Go to http://yourwebsite/create/

Enter email (or login) and password given by the website administrator.

5.2 Creating data

Creating, moving...items will be done in the "Items" module.

Items view

Click on the link "Items" at the right of the screen to reach this module.

ss : menu

Data are save hierarchically. That means an item (a document) can be in a document in a document in...

You can create a new item at the root : click on "New ..." at the bottom of the page.

ss new

You can create a new item inside another : click on "New ..." at the right of an item.

ss new

Enter data then click on "Save and list".

5.3 Editing an item

Click on the name of the item.

Change its data, then click on "Save and list".

ss edit

If some of the data are in HTML, a special editor (TinyMCE) is open, with a lot of buttons.

These button help you to change colors, fonts...

Some special task can be done in your text also :

  1. Use "Table" (bottom left) button to create a table (use it to organise the general layout of your page)
  2. Select some text and use "link" (center) button to create some link to other pages. Use it also to upload and make available some documents (.PDF, .RTF, etc.) that users will be able to download afterward.
  3. Use "Image" (center right) button to upload an image to the webserver and show it
ss tiny

5.4 Moving items

Items are ordered, and there can be inclusion of items inside others.

You can move items from one place to another with drag&drop. Click on the item and release mouse button on another item. The item will be moved after (watch for white horizontal line), on the same level/depth.

Moving - drag&drop

If you move your mouse at the right of an item, the item will be moved inside (watch for white vertical line).

Drag&drop - inside

5.5 Hide / show items

Edit an item.

Check or not the "hidden" box, then save.

5.6 Deleting items

Edit an item.

Click "Delete" on the bottom of the window.

5.7 Viewing the result

Click on the eye button anywhere to see an item that can be displayed directly (some could not be, depending of datatypes created by your administrator).view

The public website has also been updated by your changes.

About this document

Document base url : http://xsltcms.org/ how_to_install_and_use.html

Version : 070930

Author : askywhale