• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

List: "Front-End Template" Not Accepting Custom

talkinggoat

Member
First, I tried using this WIKI article, to create a list layout override, but when I go to select it from the dropdown, only the default templates are there.
http://fabrikar.com/forums/index.ph...m-list-template/#copying-an-existing-template

The WIKI article says to modify the /components/... folder. Wouldn't modifying the core be a bad thing? I have always read it was better to create an override in the template folder.

Is it possible to create a template override, here, like normal? I have cleared the cache in both the website and browser.

I can't call to it manually, either. {fabrik view=list id=18 layout=formless} But I can call to bootstrap and div. {fabrik view=list id=18 layout=div}

[UPDATE] So, if I modify the folder in the components folder, it will load the correct list template, and show it in the "Front-End Template" dropdown, but, like I asked, shouldn't that be in the html directory of the template, so it doesn't get overwritten or deleted in an update?

oPMoDfx.png


zxANoRW.png


Thank you.
 
Last edited:
In essence you have 3 ways to modify Fabrik output:

1. In place modification of existing template or layout files - these will be overwritten if you update Fabrik, so not IMO a good idea unless you believe that these changes should be a part of Fabrik and submit a PR for them.

2. Copying the template to a new directory to create a whole new template with the same functionality that you can then modify - giving you a choice of different templates for different parts of your Fabrik site. .

3. Overriding individual layout files by copying them to override locations and modifying them - layouts are NOT part of the template, so this is different functionality.

Using either a Template Copy or a Layout Override, your changes will not be overwritten when you update Fabrik, but your copy of the template will not be updated with any new functionality in the original template - and though rare, if the core of Fabrik and the template / layout have been updated together to fix something, then your own template / layout override may stop working correctly, so you need to keep records of any changes, test any update and be prepared to maintain your own changes.

From your screen shot of the directory listing, it appears that you have tried to make a copy of the Bootstrap template, but rather than following the instructions in the wiki you have copied the template to the location for layout overrides. If you move these to components/com_fabrik/views/list/tmpl/formless/ it should hopefully work as you expect.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top