Skip to main content
Participating Frequently
March 10, 2015
Question

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

  • March 10, 2015
  • 1 reply
  • 486 views

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 has been closed for replies.

1 reply

Jeff_Coatsworth
Community Expert
Community Expert
March 10, 2015

 

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.

 

Participating Frequently
March 10, 2015

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");

Jeff_Coatsworth
Community Expert
Community Expert
March 10, 2015

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.