We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Plugin: Excerpt

Development and Programming

lithiumdave's avatar
lithiumdave
215 posts
16 years ago
lithiumdave's avatar lithiumdave

It works a treat. Thanks very much indeed Daniel, wonderful plugin.

       
Interfacer's avatar
Interfacer
92 posts
15 years ago
Interfacer's avatar Interfacer

Hi Daniel

great idea but can’t get it to work. The code:

{exp:search:search_results} 
<a href="http://{auto_path}">{title}</a><br>
{exp:zm_excerpt output_wrap="p"}{full_text}{/exp:zm_excerpt}
{/exp:search:search_results}

doesn’t create a result other than a link list, no formated full text.

Am I missing something? I have installed the php file in plugins. what else?

EE version 1.6.8

mnay thanks

       
bigmikestudios's avatar
bigmikestudios
22 posts
15 years ago
bigmikestudios's avatar bigmikestudios

This is a great plugin!

I’ve found a small issue, but relevant on a site that will have search terms derived of the chunk_wrap parameter.

For example, a search for “spa” results in the following source html:

<<strong>spa</strong>n>pre-fab shower stall for a walk-in one fit for a <strong>spa</strong>. And, the 1970s called and they want their vanity... </<strong>spa</strong>n><<strong>spa</strong>n>Sheryl Doyle. “Homeowners are desiring a <strong>spa</strong>-like feel. Rain shower heads, body sprayers,... </<strong>spa</strong>n><<strong>spa</strong>n>“We replaced the standard tub with a <strong>spa</strong> tub and shower combo with shower body sprays and... </<strong>spa</strong>n>

It would appear that Excerpt finds the “spa” in “span” and hilites it dutifully, though this is not the desired effect. Presumably, “span” or “pan” would be an issue too.

       
Daniel Walton's avatar
Daniel Walton
553 posts
15 years ago
Daniel Walton's avatar Daniel Walton

@bigmikestudios

Which version of the plugin are you using? Reason I ask is because the latest (1.03) should remove any html from the subject text.

       
Daniel Walton's avatar
Daniel Walton
553 posts
15 years ago
Daniel Walton's avatar Daniel Walton

Nevermind, ignore my response above.

I would recommend that anyone using a previous version of this plugin update to the latest version.

       
1 2 3

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.