I am using th earticle template and am wondering if there is a way to limit the text length in the dashboard.ratings.html file. I am trying to limit the size of the [FILENAME] token to only display a limited number of characters followed by "...". Is this possible?
I have tried something like this using java but with no luck:
<TD ALIGN="Left" WIDTH="75%" VALIGN="Middle"><script>var title = "[FILENAME]"; if (title.length>10)title=title.substring(0,10);document.write(title);</script></TD>
Is there any way to do this limitation?
Thanks in advance,
Tom