Search

Hi all,

I start making a big project with Symphony for the first time. Now there is something I can’t figure out yet…

What I want on the index-page is a list of available beach resorts that have been added in the back-end. The list contains a small image and a short preview text that has to have a fixed value of characters.

This preview text is just a snippet of the extracted full description text that is displayed when you view the full profile.

My question is, Can this be done in XSL? or should I consider something like JS?

Thanks,

Sandor

Hi Sandor, welcome! Sounds like you want to truncate your text (see: Max text length)?

This is exactly what im looking for, Thank you very much!

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