bloggerme2 wrote:OK where is this? An what do I do with this?
It seems to have solved the guys problem but there is no explanation as to what to do with this. I would like to know as I am having the same trouble. Thanks.
That's a *nix server command. You can do the same thing by manually editing the includes/functions_content.php file:
Code: Select all
function truncate_string($string, $max_length = 60, $max_store_length = 255, $allow_reply = true, $append = '')
Edit the $max_length = 60 part in the line to change the maximum length.
Please note you'll also need to make the necessary changes in the database and template.