Index  Up  <<  >>  


ConfigDir

The default directory where directive values will be read from when using the <file notation. Default is config. The name is relative to the catalog directory unless preceded by a /.

    ConfigDir      variables

You can change this several times in the catalog.cfg file to pick up values from more than one directory. Another possibility is to use a Variable setting to use different templates based on a setting:

    Variable   TEMPLATE   blue

    ParseVariables Yes
    ConfigDir  templates/__TEMPLATE__
    ParseVariables No
    Variable   MENUBAR   <menubar
    Variable   LEFTSIDE  <leftside
    Variable   BOTTOM    <bottom
    ConfigDir config

This will pick the templates/blue template -- if you set TEMPLATE to red, it would read the variables from templates/red.


Index  Up  <<  >>