Hi,
I need to modify the summary of a news item to show the first x characters of the summary for the Newsletter, NMS.
My guess is that I would move $summary into an array and then use a loop to put the first x number of characters into a variable $shortsummary. Then move that to my newly created template in News for use with my NMS.
Since this is my first foray into modifying templates and modules, any suggestions would be greatly appreciated.
Thanks in advance,
girlnerd
Modification to News Module for NMS
Re: Modification to News Module for NMS
Please try to use modifier truncategirlnerd wrote: I need to modify the summary of a news item to show the first x characters of the summary for the Newsletter, NMS.
http://smarty.php.net/manual/en/languag ... uncate.php
Use capture tagMy guess is that I would move $summary into an array and then use a loop to put the first x number of characters into a variable $shortsummary.
http://smarty.php.net/manual/en/languag ... on.capture