C Getting Started

Getting started to skin farcry (3/6 on Webskin Template Authoring)

Now lets have a look at the farcry project architecture.

This manual is based on the assumption that you already have a working farcry project to modify. If you need to install farcry and get a project working you will need to follow the installation guide at http://farcry.daemon.com.au/go/documentation/user-manuals

Note: these screen shots have been taken from within cfeclipse so don't be concerned if it looks different from your file system.
The folder we are interested at the moment is the www, the document root for your website. Now you have to copy all the necessary folders supplied by the designer into the www directory and replace the existing ones and add the new ones if necessary. For example the following folders and files were supplied for the new Daemon website.

In the example above I copied over the css, images, Library and sifr directories. Don't worry about the files at this stage. You must make sure that all the necessary permissions are set correctly for the new directories. This is most important in a Unix environment because the styles and images wont render on the page if they are not set. In the Unix command line browse to the www directory enter the following command. Chmod -R a+rwx *. This will recurse though all the files and subdirectories and set read, write and execute permissions for all the files and directories.

Now that we have all the images and styles in place it is time to check and see if the style and images are rendering correctly. Copy one of the .html pages over to the root directory (www) and in the URL go to that specific page. In my case I used the homepage.html. For example type into the URL address bar. http://daemonmx.localhost/homepage.html. Note: I set this website up locally on my machine and then commit the changes via cvs. Depending on your working environment this will be different.
If the page doesn't look as it should and the images are not being displayed then you have either copied the directories to the wrong place or the permissions on the directories haven't been set.

Next step: D Webskin Templates (4/6 on Webskin Template Authoring)