Quantcast
Channel: Adobe Community : Unanswered Discussions - RoboHelp
Viewing all articles
Browse latest Browse all 5136

Is there a way to customize "wSearchContext"?

$
0
0

Operating Environment

RoboHelp 10

Multiscreen_HTML5 output

Search Results Page (screen layout component)

 

Background

The default Search Results Page screen layout provides the following components for each topic when a user performs a search:

(Topic title formatted as a clickable link)

(Topic file path and file name)

(First 100 words in topic: <?rh-msp-search-result-context class="wSearchContext" ?>)

 

 

Issue:

By default, the First 100 words in topic component starts with the topic title. This is redundant. It already appears as a clickable link and (to some degree) in the file path/name. I would like to exclude the title from the First 100 words in topic component. The topics in our project auto-display the title using the RoboHelp title field/variable, so I'm hoping there's a way to specify programmatically/code-wise something like: "For wSearchContext exclude rh_variable_title". I'm not a developer, so I don't know if this is possible and if so how. But if there's a way to do it and someone can tell me how to do it, I am comfortable editing project files (even stuff like search.js or constants.js) to do it.



I appreciate any feedback!

 

Thanks.


Viewing all articles
Browse latest Browse all 5136

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>