ARI Smart Content: ARI JTruncate plugin

Joomla truncate content plugin, module, component, extension.

ARI JTruncate provides simple yet customizable truncation for text entities in your web page. This plugin is also a part of ARI Smart Content: News Pack

Features:
  • Many customizable options.

Example:


Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


Usage:

{arijtruncate moreText="[show]" lessText="[hide]"}Text text{/arijtruncate}


Parameters:

  • length – The number of characters to display before truncating. Values: number;
  • minTrail – The minimum number of "extra" characters required to truncate. This option allows you to prevent truncation of a section of text that is only a few characters longer than the specified length. Values: number;
  • wrapTag – HTML tag to wrap. Most common: div, span;
  • moreText – The text to use for the "more" link. Values: text;
  • lessText - The text to use for the "less" link. Values: text;
  • ellipsisText - The text to append to the truncated portion. Values: text;
  • moreAni - The speed argument for showing full text. Values: number in milliseconds;
  • lessAni – The speed argument for showing truncated text. Values: number in milliseconds;