Keyword

remove 3 dots ... when max length limit on

  • Ben Koren
  • Ben Koren's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 8 months ago #124316 by Ben Koren
hello,
i want to remove 3 dots ... when max length on

its creating it automatically after setting max length limit

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #124317 by Yiota
I'm afraid that you will have to modify a k2 core file in order to remove the 3 dots.

The file is in components/com_k2/helpers/utilities.php

In line 122 there is this
public static function wordLimit($str, $limit = 100, $end_char = '…')
just remove the … from the $end_char.

Don't forget to get a backup of the file before updating to a newer K2 version.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum