[Solved] Custom templateS

Status
Not open for further replies.

Daddy-O

New Member
I need to implement an accordeon styled table for a page where per row the description of each item is toggable like in bootstrap.js.
I know we can override Fabrik list templates like in Joomla but is it possible to choose which template for which front end view?
The content filter offers the layout=templatename option but is that for plain css or can it refer to a custom_css.php file?
I need a php file for more functionality so the list template override seems the best option but it should be elegible, not obligatory.
Thanks in advance
 
You don't need to do an override, just create your own list template(s) in the folder /components/com_fabrik/views/list/tmpl/
see
http://www.fabrikar.com/forums/index.php?wiki/creating-a-custom-list-template/

In your list settings you can select which template to use in front- and backend, additionally you can select a template in the menu options of a fabrik list menu or in the content plugin with layout=templatename.

In the custom_css.php you can define CSS for all lists (using this template) or for special ones, use
#listform_$c... if it should affect all lists and
#listform_3.... if it should affect only list with ID=3
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top