1. Fabrik 3.8.1 has been released. It is mostly bug fixes and feature enhancements, but does include two new plugins (push notifications, and the sequence element). As usual we strongly recommend testing the new release on a sandbox if your application is mission critical, and always do an Akeeba backup before updating.

Creating a custom Visualization template

Dec 6, 2017
Creating a custom Visualization template

  • Location (top)

    Visualization templates are located in
    "/plugins/fabrik_visualization/<plugin-name>/views/<plugin-name>/tmpl/". Each template has its own folder.

    Custom CSS in existing visualization templates(top)

    You can put a file named "custom.css" into this folder, which is then rendered as stylesheet link into the resulting page. A file named custom_css.php is not recognized at this time (fabrik 3.8.2).

    Copying an existing template (top)

    To create a new template we suggest that you copy an existing template folder and alter it to suit your needs.

    Copy:
    /plugins/fabrik_visualization/<plugin-name>/views/<plugin-name>/tmpl/bootstrap
    to:
    /plugins/fabrik_visualization/<plugin-name>/views/<plugin-name>/tmpl/<your-template>

    The template used for a visualisation is normally set in the Options tab of the admin configuration page for this visualization. In distinction to list templates, this can not be overridden in the menu item referencing it.