How to create a custom template for a visualisation plugin

burghard

Member
Is it possible to create a custom template for a visualisation plugin (e. g. google maps plugin)? I saw that no custom*.css is loaded and the appropriate wiki page is empty.
 
Yes, you can add a custom.css to ...plugins\fabrik_visualization\googlemap\views\googlemap\tmpl\bootstrap\
or you can create a custom template ....plugins\fabrik_visualization\googlemap\views\googlemap\tmpl\xyz\
 
No neither custom.php nor custom_css.php is recognised in google map visualization plugin. It must be indeed a custom.css.
 
Yup. The custom_css.php tends to only be useful with lists and forms, where you often need to target your CSS to specific instances of a list, like Fabrik does in the main template_css.php, where we have to account for the possibility of multiple lists or forms on the same page, and add the list ID or the form & row IDs into the CSS selectors.

But as visualizations are almost always unique on a page, there's been no requirement for that, so we've not added it as a feature.

Do you have a specific requirement for a PHP stylesheet?

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top