0 users online. Create an account or sign in to join them.Users

Search

Does someone know how to make a max text length?
For example showing 100 characters of a story.

Short story:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis aliquet nisi sit amet risus feugiat quis semper sem scelerisque. Vivamus vulputate, nulla eget euismod adipiscing…

Whole story:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis aliquet nisi sit amet risus feugiat quis semper sem scelerisque. Vivamus vulputate, nulla eget euismod adipiscing, ligula lorem hendrerit magna, eleifend suscipit augue nunc congue felis. Nunc molestie tincidunt odio, in cursus mi feugiat ut. Donec nibh lorem, gravida ac consequat et, sodales sit amet libero. Integer volutpat justo facilisis odio lobortis non tincidunt neque tempor. Ut fringilla turpis nec leo ultricies nec rutrum urna interdum. Nunc feugiat est ut dolor fermentum tempor. Nullam sed lorem ligula. Proin lacinia sapien eu augue bibendum aliquam. Proin nec augue vitae leo feugiat sodales. Nunc quis risus eu sem placerat imperdiet. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Morbi pretium est quis est vestibulum porta.

There are two XSLT utilities for that. :-)

Thanks phoque, I couldn’t find the right description for that, thats why I didn’t saw these utilities inside the XLST utilities.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details