• New Commercial Services Section

    We have now opened a commercial services section here on the forum. If you have a Fabrik project that you wish to have someone work on for you, post it under Help Wanted. If you are an application developer and wish to earn some money helping others, post your details under Fabrik Application Developers.

    Both of these are unmoderated. It will be up to both parties to work out the details and come to an agreement.

Using list div template with ajax nav no longer display anything after filtering up to an empty list

BTW, one of the things that I had to change to make all this work is the fabrik-bootstrap-grid layout ...

https://github.com/Fabrik/fabrik/bl..._fabrik/layouts/fabrik-bootstrap-grid.php#L44

... which now returns an otherwise empty 'row-fluid' div, if there are no grid items (to allow the div template to get that "row template" (the row-fluid wrapper div) if there are no records displayed on initial page load). Prior to this change, that layout would return nothing, just an empty string, if there were no items in the grid.

I don't think this will cause problems, but that layout is called from a lot of places, pretty much wherever we create a Bootstrap grid with a variable number of items.

So be on the lookout for potential side effects.

-- hugh
 
Hi everybody,

I had the same problem and I got a solution with this thread, so thank you very much!. But now, I have another problem that I believe that is related with this thread.
I added in line 89 (https://github.com/Fabrik/fabrik/bl...om_fabrik/views/list/tmpl/div/default.php#L89) this classes 'col-md-4 galery-div' to look like this:
View attachment 18339
and the html is:
View attachment 18341
But when I search for a data that doesn't exists in the list and clean the filters, all the classes disappear and the list as this appearance:
View attachment 18342
with this html:
View attachment 18343
So it seems like Fabrik in some way doesn't render the list using the classes that are in default.php file anymore, but with line 85 (https://github.com/Fabrik/fabrik/bl...onents/com_fabrik/views/list/view.raw.php#L85) classes of view.raw.php file. Anyone know why? I know this because I put the same classes before in this line and worked, but I think that isn't the best solution and I'm worried about this because can affects my others custom templates.

Friendly bump
Karine
 
We are in need of some funding.
More details.

Thank you.

Staff online

Members online

Back
Top