Search Extension

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
want.

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

<r:search:results:each>

but it returns much more than 50 characters.

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

Cheers

crick

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
[email protected]
http://www.stewartaa.com/

If this is your actual code, there is a typo in it. “length” is
mispelled. Hopefully that is it!

Keith B.
Tel: +49-7731-79838380
[email protected]
http://keithbingman.com

Nice work guys, you got it!
Sometimes I am very absent-minded.
You have been very useful and quick.

Thank you very much.

Cheers

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs