Skip navigation
Currently Being Moderated

Automatically select a content category

Dec 7, 2012 7:06 AM

Tags: #content #selectionchange #category

Dear community,

 

Is it possible to select a content category depending on the parameter in the URL.

 

For example.

 

I have categories (different content) for resellers and distributors.

Depending on the page where user clicks "help" a content for either reseller or distributor should be shown.

 

http://domain.com/help.html?referer_page=/reseller.html  => show reseller's content category

http://domain.com/help.html?referer_page=/distributor.html  => show distributor's content category

 

Link format can be changed if necessary.

 

Is this possible to configure? May be in Rh 10?

 
Replies
  • RoboColum(n)
    5,356 posts
    Oct 8, 2004
    Currently Being Moderated
    Dec 7, 2012 7:28 AM   in reply to Yaroslaf4ik

    If the location where the user clicks help is different depending on whether they are a reseller or distributor, then you should be able to do this with context sensitive help. I haven't tested this but if you add a mapid to the topics in the two categories and then specify this in the call you can do as you describe. If however the dialog is the same, mapids would not work.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 8, 2012 7:55 AM   in reply to Yaroslaf4ik

    Hi,

     

     

     

    The Context Senstive API supports selecting the content category. You can use the default RoboHelp API or if you want to use URL’s, see my article: http://www.wvanweelden.eu/articles/part/regular-start-page

     

     

     

    Greet,

     

     

     

    Willam

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 10, 2012 12:38 AM   in reply to Yaroslaf4ik

    Hi,

     

    - For the hover, there is no default method. I imagine your developers create a hovering element and call the help in that element. I think there are two choices: using an iFrame or publishing the help to simple HTML and calling the content directly from the .htm using AJAX.

    - The second thing can be done with RoboHelp. John Daigle shows how in this tutorial: http://www.adobe.com/devnet-archive/robohelp/articles/context_help.htm l

     

    Greet,

     

    Willam

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 12, 2012 12:09 AM   in reply to Yaroslaf4ik

    Ok,

     

    I've been confusing Browser Based AIR help and WebHelp. Sorry for the confusion.

     

    For WebHelp, you cannot set the content category while targeting the SSL main file. (You can for BB AIR.) For WebHelp, you need to call the start file of the content category.

     

    For example: You have category A and B. To call category A:

     

    http://localhost/helpsystem/A/index.htm

     

    You can parse the start file of the category in RH_ShowHelp. It's just that you can't call the sniffer file in your output's root. You need to target the output of the content category itself.

     

    Again, sorry for the confusion. I feel really dumb now...

     

    Greet,

     

    Willam

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points