1. dagroupinc
  2. Support
  3. Monday, February 03 2020, 03:30 PM
Is it possible to limit the length (number of characters) a field in one view and have a different length in another view?

For instance, if a user performs a search on a directory we want a short version (limited number of characters) of a field to display, but when the user clicks through they see the fields' entire content.
admin Accepted Answer
Admin
Hi,
sorry this is not possible natively, the simplest workaround is to use CSS like "text-overflow: ellipsis" (https://www.w3schools.com/cssref/css3_pr_text-overflow.asp)

Complex alternative is to use Joomla template override feature and set the length via PHP
  1. more than a month ago
  2. Support
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.