In the Template Manager, select the Templates tab to see a list of a number of standard templates installed with Joomla. Click on Spatomic Details & Files to enter the Customize Template area where it is possible to open and edit the files used to control the look and feel of our site. This is generally a job to be approached with very great caution, requiring good knowledge of PHP, HTML and CSS. The main files are:

  • index.php - This is the code that creates a page when requested by a user; it contains a mix of HTML code containing instructions to the browser about the layout of the page, and PHP code containing instructions to the server which allow the page HTML to be customised;
  • error.php - This is the code that displays an error message when something goes wrong. It is customised so that an Error 404 page is displayed when a web address is not found;
  • templateDetails.xml - This defines a number of logical entities used in constructing the template:
    • positions - The locations where entities such as the main menu are placed in the web pages;
    • section - This defines a number of sections into which the website is organised (Map pages, Events and Venues, Living in Sutton Poyntz etc.);
  • CSS files (in folder css) - These files contain formatting instructions, which personalise the way text, images, tables etc. appear on the website;
    • template.css - This contains formatting instructions that are needed both in displaying the site and by the editor;
    • templateExtra.css - This contains additional formatting instructions that affect the surrounds to each webpage (menus, breadcrumbs, search box, acknowledgements etc.), which are not needed by the editor;
    • bkg_xxx.css - A number of bkg files are provided; these have just one job, which is to define the Watermark image used for each subject grouping (Village Maps, Events & Venues, etc.) in the website.