• 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.

Element height

What do you mean with "Can not go head to head instead of dots ???"

This is what your code is doing
...
if (text.length > 100) {
return text.substr(0, 100) + '...';
...

So if you want something else change the code.
 
The text is long. Instead of the dots it must go to head, always in the span12 field size
 

Attachments

  • 2017-06-19 (2)_LI.jpg
    2017-06-19 (2)_LI.jpg
    154.8 KB · Views: 36
That can't be done, as there is no way of knowing how wide any given text is, as it depends on font size, weight, etc. All you can do it truncate it to some specific number of characters. Not a Fabrik issue, just a well known issue with HTML and CSS with select (dropdown) options.

You can modify the number of characters to truncate to by changing the 100 in both places in that code. And you can remove the ... by removing the "+ '...'" part.

-- hugh
 
it's very problem!!!

Which solution as an alternative?

By making the PRO logging help me solve the problem with css / html?
 
I'm still not sure what you are wanting me to do.

There is no way in HTML or CSS, that works across the major browsers, of changing how a dropdown displays long text, or constraining it to a specific width. If your dropdown option text is too long, the ONLY thing you can do is truncate the text to a pre-specified number of characters.

This isn't a Fabrik issue, it's just how HTML works.

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

Thank you.

Members online

Back
Top