Display Excerpt |
[eluser]HSKrustofsky[/eluser]
I was wondering if there was a way to display an excerpt of a blog topic and/or video description? I saw in the user guide that you could use the Trackback Class. I noticed that it said that the lowest it goes is 500 characters. Is there was something to where less was shown?
[eluser]Medikal[/eluser]
I used a custom function on mine to be honest: Code: function excerptString($string, $desLength, $endChars = '...', $before = '1', $offChar = ' ') Further explanation of how to use it is here: http://danlamanna.com/portfolio/?p=24
[eluser]InsiteFX[/eluser]
See the CodeIgniter Typography Class. Also see this: CodeIgniter User Guide - Text Helper InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |