Customize the look of your Advokit website
Submitted by patdunlavey on Thu, 04/06/2006 - 12:56.
AdvoKit Users
- Changing the page title displayed by the browser
- In your advokit.ini file, look for where the "title_override" configuration variable is set. By default it is blank, which causes Advokit to use the product name and version number. However you can enter any text here, and it will be substituted for the page title.
- Changing the logo
-
To use your own logo, the simplest thing is to name it "logo.gif" and upload it to the "images" directory under your Advokit installation's web root - replacing the original "logo.gif". You can use a different file name and/or location, or not use a logo at all by editing the "logo_url" variable in advokit.ini. Here is the documentation for that. (Not using a logo might be desirable if you intend to use a css background-image - see the next section).
; Enter a url here to use for the logo image (relative url is from
; web root of application, exclude the leading slash). If left blank then
; the default AdvoKit logo will be used. If "none" is entered, no logo will
; appear. Examples:
; logo_url = ""
; logo_url = "images/logo.gif"
; logo_url = "http://www.a_domain.com/advokit/images/logo.gif"
; logo_url = "none"
logo_url = "" - More extensive changes
- Most of the graphical appearance of Advokit is determined by the stylesheet "advokit.css" which is installed at the Advokit web root. There are a couple additional stylesheets that occasionally come into play as well.
- The HTML code that you see displayed is created by Smarty templates, of which there are a large number! However only a few templates are used for "wrapping up" page content. These are generally identified with lower-case file names in the /templates/raw/ directory. For example, "browse-header.tpl" controls the appearance of the tops of browser pages. The sidebar is created by the "activist-sidebar.tpl", "admin-sidebar.tpl" and "anonymous-sidebar.tpl" files.
