Skip to main content
December 6, 2011
Answered

Sort search results alphabetically in Robohelp 9

  • December 6, 2011
  • 1 reply
  • 1577 views

Our organization is just switching over from Robohelp 7 to Robohelp 9.  We noticed that search results are sorted by rank, which is not ideal for our environment.  I have checked through the entire Help file and cannot find mention of how to change search result order (we are using WebHelp Pro) in our Knowledge Base.  Web searches have come up empty, as well.

Is there a way to sort search results alphabetically still?

    This topic has been closed for replies.
    Correct answer Captiv8r

    Hi Benjamin and welcome to our community

    If you dislike the suggestion of having to change the file each time you generate and you are willing to live with the fact that *EVERYTHING* you generate with WebHelp will sort the same way, you *CAN* actually modify what I refer to as the "seed" file so that you don't have to remember to modify each time.

    To find the seed file, look where RoboHelp is installed.

    For me, I find it here: C:\Program Files (x86)\Adobe\Adobe RoboHelp 9\RoboHTML\WebHelp5Ext\template_stock

    You may find it in a different place. But I'd make a backup copy for Jusin (Justin Case) and modify the file you find there. At that point it should be pulled from the seed and used during each WebHelp generation.

    Cheers... Rick

    Helpful and Handy Links

    RoboHelp Wish Form/Bug Reporting Form

    Begin learning RoboHelp HTML 7, 8 or 9 within the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone Blog

    RoboHelp eBooks

    1 reply

    Willam van Weelden
    Inspiring
    December 6, 2011

    Hi and welcome to your community.

    There's no way in the RH interface as far as I know. On to the output files....

    Just ran a quick test on RH8 and it will probably work for RH9 as well:

    1. In your output, open whfhost.js with a text editor.
    2. Find the line var g_nSortType = 0;.
    3. Replace the 0 with a 1 for ascending sort or 2 for descending sort.
    4. Save the file.

    Remember that you have to modify the value every time you generate your output.

    Greet,

    Willam

    December 6, 2011

    Thanks, Willam.  That's kind of a bummer, but good to have an answer.

    Captiv8r
    Captiv8rCorrect answer
    Legend
    December 6, 2011

    Hi Benjamin and welcome to our community

    If you dislike the suggestion of having to change the file each time you generate and you are willing to live with the fact that *EVERYTHING* you generate with WebHelp will sort the same way, you *CAN* actually modify what I refer to as the "seed" file so that you don't have to remember to modify each time.

    To find the seed file, look where RoboHelp is installed.

    For me, I find it here: C:\Program Files (x86)\Adobe\Adobe RoboHelp 9\RoboHTML\WebHelp5Ext\template_stock

    You may find it in a different place. But I'd make a backup copy for Jusin (Justin Case) and modify the file you find there. At that point it should be pulled from the seed and used during each WebHelp generation.

    Cheers... Rick

    Helpful and Handy Links

    RoboHelp Wish Form/Bug Reporting Form

    Begin learning RoboHelp HTML 7, 8 or 9 within the day!

    Adobe Certified RoboHelp HTML Training

    SorcerStone Blog

    RoboHelp eBooks