Developer forum

Forum » Templates » Get area name for search result item?

Get area name for search result item?

Tobias Næss
Reply

Hi,

I'm trying to make the search result page more useful for the user by showing what area/website the result item is within.

AFAIK there's no template tag that lets me access this directly via template tag/result object, right?

Can I do a lookup based on the DwSearchResultID ?

 

 


Replies

 
Nicolai Høeg Pedersen
Reply

In the module settings of the search module, Breadcrumb trail group, under "Show" you can choose to include the language layer name.

 

That should do the trick.

 

See:

http://manual.dynamicweb-cms.com/Dynamicweb-On-line-Manual/Modules/Search--Weighted/Paragraph-settings.aspx

 

You must be logged in to post in the forum