The Travelsized CMS
0.5
This is an attempt at writing some documentation for Travelsized CMS. Travelsized CMS started its life as the backend for my personal portfolio, but has since grown in leaps and bounds.
From simply being able to translate data from text files into a web-page (e.g. a theme engine), it now includes an interface for managing these files, their menus and everything else. It even has support for modules, written in PHP.
Installing Travelsized CMS is an immensely simple, three step operation:
- Decompress the downloaded package
- Upload to your web-server
- Do one of the following (II is more secure, though also not so flexible)
- Set read-write permissions for everybody on the setup folder and all the files contained within
- Set the user and group of the setup folder and all files contained within to the user and group that is running the web-server
You're done! Now all you have to do is make the themes you wish to use, which is described in the next chapter.
As for requirements, Travelsized CMS itself is very simple, because all it requires is PHP 4.1.0 and register_globals has no influence on Travelsized CMS' ability to function.
The Gallery module and the profile avatar resizing requires the GD library, version 2 to work (used for scaling uploaded images, so if you only need to show a gallery and not add new images, it will work fine without GD2).
There are a number of options you can set, all of which are set in the top of the index.php file - especially the site owner should be changed, as this is the name that shows up on the front page.
You may also wish to set the RewriteBase option found in the .htaccess file. It defaults to using the base /, which will work if you access the site by for example www.somesite.com, and not www.somesite.com/thesite/ This will enable you to turn on the Use Pretty URLs option in the System Options section of Site Setup.
If you have the site in a subfolder, you will need to change it from / to whatever the base URL for your website is (for example /~username/mysite/ if you access it through www.somesite.com/~username/mysite/ ).
- /content/title in stead of
- /content/title/language in stead of
- index.php?page=title&language=language
- /user/username in stead of
- index.php?user_id=username
- /user/username/module in stead of
- index.php?user_id=username&module=profilemodule=module