You would need something like:
my $post_message = shift;
return substr($post_message,0,50);
}and then call it as <%chop_message($post_message)%> in the template.
Ivan
-----
Iyengar Yoga Resources / GT Plugins
Code:
sub { my $post_message = shift;
return substr($post_message,0,50);
}
Ivan
-----
Iyengar Yoga Resources / GT Plugins