Configuring a LabTrove Instance

From LabTrove Documentation
Jump to: navigation, search

Owing to the evolution of LabTrove Notebooks from a blog-based system, some internal variables do still use the term blog.

Changing the Appearance of a Trove

When LabTrove presents a page, it loads two style sheets:

  • docs/style/style.css - defines the standard layout for all Troves
  • docs/style/default/style.css - defines the presentation, or branding, of an individual Trove.

The docs/style/style_red directory is an example of modified branding, in which only the style.css file differs from the default set. To create your own branding, complete the following steps:

  1. Navigate to the docs/style directory
  2. Make a new directory, e.g. mkdir my_style
  3. Copy all four files from the default directory into your new directory
  4. If you do not want to change one or more of the files, edit the file to include the corresponding file from the default directory, for example, as in style_red/index.php
  5. Navigate to the root of your LabTrove installtion (or /etc/labtrove if you installed from the Ubuntu packages) and edit the config.php file, modifying the line that sets blog_style, for example:
    $ct_config['blog_style'] = 'my_style';

When you upgrade to a newer version of LabTrove, the update process replaces the docs/style/default directory, which is why you must make your own new directory if you want to alter the branding of your Trove.

Changing Other Configuration Parameters

Details of other configurable options are covered in the installation documentation


Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox