Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

with YOURSKIN being an identifier of your choice. Inside that directory, you need at least the three files referenced above. Before calling your skinned pages, the CAT loader automatically loads the configuration, a skin handler, and depending on the page being called an array with extra information about the incoming request for your ease of coding. You find these as pre-defined constants and variables:

  • CONFIG
    constant, containing the global CAT configuration file. You do not normally need much from the config). See config/config-template.php for a breakdown of its contents
  • $skinObject
    object with the skin handler (instance of the core/Skinjob class). The only function you need there is Skinjob::findResourceUrl(string, bool), You need it whenever you reference something in an external file (such as your own CSS, an image, a login link to the admin/ area ...)
  • $statusInfo
    array with information about the sign-up token. Only present in accountstatus.php. Structure:
    $statusInfo = ["token" => $cleanToken,

...