Jump to content

Decoupage Description Page Catégorie


Aude5
 Share

Recommended Posts

Bonjour,

Dans ma template page catégorie je souhaite afficher différemment la description (surtout lorsqu'elle est longue)

pour la longeur je me base sur > Tools::strlen($category->description) 

pour le contenu {$category->description} et {$description_short}

Mais malheureusement le contenu de {$description_short} est dans {$category->description} ... Comment faire pour le "soustraire" ?

en PS 1.6

Merci

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More