Skip to main content
Participating Frequently
Mar 10, 2015 3:48 PM UTC
Question

Remove 'search results per page' and number of results text box

Hi,

I require help in hide/remove the number of results text box and the content 'search results per page' from the Robohelp 8help output. Can you please help what changes do I need to do in the code and in which file. I believe there must be some way to achieve this. Will appreciate your help. Kind of urgent!!!   I require help in hide/remove the number of results box and search results per page from the Robohelp help output. Can you please help what changes do I need to do in the code. Will appreciate your help. Kind of urgent!!!

Thanks in advance

Tanima

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Jeff_Coatsworth
Community Expert
Community Expert
Mar 10, 2015 4:20 PM UTC

 

Those are all controlled by the options you choose when you generate the help in the Single Source Layouts pod. You’ll need to reselect & regenerate the help to turn those things off.

 

Translate
Participating Frequently
Mar 10, 2015 5:15 PM UTC

Hi,

Thanks for your response. In Robohelp 8 there are no options for hiding the search results per page feature while generating the output. Can you please guide me. I tried removing the content from the output by commenting out the followig code from the whform.htm file. However, the text box showing 10 remains. I cannot remove that. Can you suggest?

gsMaxSearchTitle = "Search results per page" ; 

gsMaxSearchTitle = "Search results per page";

if (window.gbWhForm)

{

RegisterListener2(this, WH_MSG_SHOWTOC);

RegisterListener2(this, WH_MSG_SHOWIDX);

RegisterListener2(this, WH_MSG_SHOWFTS);

RegisterListener2(this, WH_MSG_SHOWGLO);

RegisterListener2(this, WH_MSG_SEARCHTHIS);

RegisterListener2(this, WH_MSG_BACKUPSEARCH);

RegisterListener2(this, WH_MSG_HILITESEARCH);

RegisterListener2(this, WH_MSG_GETSEARCHSTR);

RegisterListener2(this, WH_MSG_SETSYNSTR);

RegisterListener2(this, WH_MSG_GETMAXRSLT);

RegisterListener2(this, WH_MSG_SETNUMRSLT);

RegisterListener2(this, WH_MSG_GETNUMRSLT);

gfunLookUp = ftsLookup;

gfunInit = null;

gstrFormName = "FtsInputForm"

gsTitle = "Type in the word(s) to search for:";

gsTitle = "Type in the word(s) to search for:";

gsHiliteSearchTitle = "Highlight search results";

gsHiliteSearchTitle = "Highlight search results";

gsMaxSearchTitle = "Search results per page" ;

gsMaxSearchTitle = "Search results per page";

setGoImage1("wht_go.gif");

setBackgroundcolor("White");

Translate
Jeff_Coatsworth
Community Expert
Community Expert
Mar 10, 2015 5:24 PM UTC

Well, frankly I’d recommend moving up to a newer version of RH because with RH8, there’s no support for new browser security changes that are going to blank out your help entirely.

Translate