Click here to register.
      
Bazaar


     Web Design, Templates, and Themes > Synopsis search results

Synopsis search results

User marieken
Date 12/1/2008 5:49 am
Views 559
Rating 0    Rate [
|
]
Previous · Next
User Message
marieken

Is it possible to adjust the synopsis in the seach results?

If I understand correctly the synopsis is formed by the description of the asset, but if there is no description it will show the title, menutitle, url and keywords. Sometimes that creates a not very usefull text.

I would rather show the description when it is there and show nothing when there is none. Is that possible? Or are there more variables available in the result set loop with which I can create a custom synopsis?

Thanks a lot

bye, marieken

--- (Edited on 12/1/2008 5:49 am [GMT-0600] by marieken) ---



Back to Top
Rate [
|
]
 
 
knowmad

Is it possible to adjust the synopsis in the seach results?

Yes, you can adjust it by entering in the information you want into the Synopsis field on the Metadata tab for the asset.

 



If I understand correctly the synopsis is formed by the description of the asset, but if there is no description it will show the title, menutitle, url and keywords. Sometimes that creates a not very usefull text.

Yeah, I've posted a patch to improve the default synopsis which I believe was accepted for 7.6.

 



I would rather show the description when it is there and show nothing when there is none. Is that possible? Or are there more variables available in the result set loop with which I can create a custom synopsis?

Not to that extent. The only template variables you have available in the search loop are asset id, name, url and synopsis. I'd suggest adding an RFE to allow the description to be available in the search results template.

 

William

----
Knowmad Technologies
http://www.knowmad.com

--- (Edited on 12/1/2008 11:19 am [GMT-0500] by knowmad) ---



Back to Top
Rate [
|
]
 
 
marieken
Hi William,

Thanks for your reply. I remember your interesting presentation about
the search in Madison.

I have more then 50 assets (SQL reports), so i'm trying to avoid having
to changes them all by hand by filling in the Synopsis field. That's why
i want to changes it in the serach template.

Do you know if it is possible to change the composition of the synopsis
in the config file just for one website? In that way I could ask to
leave the title and the menutitle out. Or only show the keywords,
because that is the metadata attachted to that asset, right? I would be
happy with only the metadata too.

Greeting, Marieken


william@knowmad.com schreef:
> knowmad wrote:
>
>     /Is it possible to adjust the synopsis in the seach results? /
>
> Yes, you can adjust it by entering in the information you want into
> the Synopsis field on the Metadata tab for the asset.
>
>  
>
>     /
>
>     If I understand correctly the synopsis is formed by the
>     description of the asset, but if there is no description it will
>     show the title, menutitle, url and keywords. Sometimes that
>     creates a not very usefull text./
>
> Yeah, I've posted a patch to improve the default synopsis which I
> believe was accepted for 7.6.
>
>  
>
>     /
>
>     I would rather show the description when it is there and show
>     nothing when there is none. Is that possible? Or are there more
>     variables available in the result set loop with which I can create
>     a custom synopsis?/
>
> Not to that extent. The only template variables you have available in
> the search loop are asset id, name, url and synopsis. I'd suggest
> adding an RFE to allow the description to be available in the search
> results template.
>
>  
>
> William
>
> ----
> Knowmad Technologies
> http://www.knowmad.com
>
> --- (Edited on 12/1/2008 11:19 am [GMT-0500] by knowmad) ---
>
>
>
> http://www.plainblack.com/web_design_templates_and_themes/synopsis-search-results/1
>
> ------------------------------------------------------------------------
>
>
>
>  

--

T 020 - 5218308
E marieken@unitedknowledge.nl

Bezoek onze site op:
www.unitedknowledge.nl

United Knowledge, inhoud en techniek
Keizersgracht 74
1015 CT Amsterdam
T +31 (0)20 52 18 300
F +31 (0)20 52 18 301





--- (Edited on 12/2/2008 6:10 am [GMT-0600] by marieken) ---



Back to Top
Rate [
|
]
 
 
knowmad

Hey Marieken,

It sounds like you're going to have to get Arjan to write some custom code to either iterate over all of the assets and push the description into the synopsis OR modify the WebGUI::Asset::Wobject::Search module to include the description or keywords into the %vars hash in the view() method.

 

Good luck,
William

----
Knowmad Technologies
http://www.knowmad.com

--- (Edited on 12/4/2008 8:21 am [GMT-0500] by knowmad) ---



Back to Top
Rate [
|
]
 
 

Recent Discussions Color Key

Design:

Development:

Et Cetera:

Install/Upgrade:  

Smoketest:

Template Group:


Re: Newbie with a very basic inquiry by dtebh916 - Fri @ 07:11am

Re: Pagination markup by roryzweistra - Fri @ 06:30am

Windows Install by fishingfan - Fri @ 05:59am

Re: Newbie with a very basic inquiry by pvanthony - Fri @ 01:47am

Re: WUC 2009 by Albert2 - Fri @ 01:43am

Smoke Test for WebGUI (Stable) (2009-01-09) by botaction - Thu @ 11:59pm

Re: 2009 Presidents Meeting by knowmad - Thu @ 11:20pm

Re: WUC 2009 by knowmad - Thu @ 10:55pm

Re: Strategic Roadmap by knowmad - Thu @ 10:41pm

Re: Newbie with a very basic inquiry by knowmad - Thu @ 10:01pm

Re: Advanced Search template by limedzeze - Thu @ 06:45pm

Newbie with a very basic inquiry by dtebh916 - Thu @ 01:35pm

Re: Editing the login page by techwriter - Thu @ 09:01am

Re: a random act of kindness by arjan - Thu @ 04:25am

Re: navigation new window by arjan - Thu @ 04:15am