Forum: Radiant CMS Search Extension

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E919a77bfdc7d188375fd3cca740a9a2?d=identicon&s=25 Clark Kent (crick)
on 2007-06-22 14:36
Hy folks,

After implementing the extension: Search in my site, I have tried to use
<r:truncate_and_strip [length="100"] /> tag but It doesn't work how I

The problem: I need to display a snippet of the found pages and i tried
this piece of code:

  <r:truncate_and_strip lenght="50"><r:content /></r:truncate_and_strip>

but it returns much more than 50 characters.

I need some help, please!
Can you give me an example?


1d9161badbedac9cb60524a1c33620d5?d=identicon&s=25 James Thompson (Guest)
on 2007-06-22 14:41
(Received via mailing list)
You mis-spelled length.

unless that isn't a straight copy and past from your code.

James Thompson
IT Director & Web Programmer
Stewart & Associates, Inc.
550 West Kentucky Street
Louisville, KY 40203
(502) 583.5502
E91bbb5eae81347ed57880eea764c0f9?d=identicon&s=25 Keith Bingman (Guest)
on 2007-06-22 14:43
(Received via mailing list)
If this is your actual code, there is a typo in it. "length" is
mispelled. Hopefully that is it!

Keith Bingman
Tel: +49-7731-79838380
E919a77bfdc7d188375fd3cca740a9a2?d=identicon&s=25 Clark Kent (crick)
on 2007-06-22 15:12
Nice work guys, you got it!
Sometimes I am very absent-minded.
You have been very useful and quick.

Thank you very much.

This topic is locked and can not be replied to.