• 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 not displaying dbjoin elements in 'Merge rows' mode

kornacki

Member
Hi,

I have a list called 'Workout' to which is joined a table called 'parameters' and a table called 'exercise'.

When the display mode is set to 'Each row separately', everything displays properly.

However, when set to 'Merge rows', the Exercise element is not displayed. The Exercise element is a dbjoin in the Parameters table.

The attached images are from my main site. Here is a link to a test setup with less data.

http://kornacki.cloudaccess.net/workouts.html

John
 

Attachments

  • each row seperately.png
    each row seperately.png
    27.5 KB · Views: 376
  • merge rows.png
    merge rows.png
    18.1 KB · Views: 366
Hi Not sure they are the same issue to be honest. JFQ is reporting an SQL error and here we seem to have some missing data.

Anyway I can't replicate this, can you provide screenshots of the database join element's settings please?
 
Almost there.

After today's update, rather than not showing exercises in 'Merge rows' mode, every exercise after the first one is duplicated in each workout.

'Each row separately' is still good.


John
 

Attachments

  • Each Row separately.png
    Each Row separately.png
    24.9 KB · Views: 367
  • Merge rows.png
    Merge rows.png
    26.1 KB · Views: 349
Looking good now.

Just one flaw in the display. When a line wraps, the following items don't space correctly.

John
 

Attachments

  • line wrap.png
    line wrap.png
    6.7 KB · Views: 338
I've added some tweaks to the css for this into the bootstrap list template:

Code:
ul.fabrikRepeatData {
    list-style-position:inside;
    margin: 0 0 0 6px;
}
.fabrikRepeatData > li {
    white-space: nowrap;
    max-width:350px;
    overflow:hidden;
    text-overflow: ellipsis;
}

basically this will keep each li on a single line, with a max width of 350px, if the text length is more than that it gets truncated (overflow:hidden) and "..." added at the end (text-overflow:elipsis)
You may need to tweek the max-width depending on your list data, if so put that in a custom_css.php file inside the bootstrap list template folder.
 
That's great.

Thank you.

There is a minor issue with the navigation display. When any number other than 'All' is selected, the 'Display #' box displays the number selected.

With 'All' selected, the box shows '5'.

John
 

Attachments

  • Display#.png
    Display#.png
    28.1 KB · Views: 314
There is a minor issue with the navigation display. When any number other than 'All' is selected, the 'Display #' box displays the number selected.

With 'All' selected, the box shows '5'.
Ah yes, that should be fixed now

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

Thank you.

Members online

Back
Top