
MikeB
Staff
/ Moderator

Jan 15, 2006, 3:50 PM
Post #2 of 5
(4681 views)
Shortcut
|
|
Re: [elbav] How to trim a field?
[In reply to]
|
Can't Post
|
|
Hi elbav, Thanks for posting! While there isn't a built-in way to trim down the summary of an article there is a way you could do something like this with a bit of JavaScript. Cliff had actually put together a tutorial that outlines how to do this in Listings Manager here: http://www.interactivetools.com/forum/gforum.cgi?post=43820#43820 To have this work with Article Manager instead, in Step 2 you'll just want to actually find anywhere that this is output in your template files: $art_summary$ And replace it with this: <script> truncate("$art_summary_je$", "$detail_link$"); </script> Give this a try and let me know how it works out for you. If you have any other questions or comments, just let me know! Cheers, Mike Briggs - Product Specialist support@interactivetools.com [hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url] Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]
|