Skip navigation
Currently Being Moderated

Variables for Topic Titles

Jun 24, 2012 9:52 PM

Hi all,

 

In Robohelp, the Fields and Variables function only contains some variables relating to Date, Time. With the topic headings, I want to add them automatically to each topic by inserting them as a variable in the master page, and then apply this master page to topics. So please let me know how can I do this in RoboHelp ?

 

Note: with Help&Manual, this 's so easy.

 

Thank you.

 
Replies
  • RoboColum(n)
    5,000 posts
    Oct 8, 2004
    Currently Being Moderated
    Jun 25, 2012 1:51 AM   in reply to goldfish184

    I'm not 100% clear what you are trying to achieve. Are you just trying to get the topic's title (as specified) when you create a topic) to be displayed inside the topic when it opens? If so, this is very easy. The key is to include the Title variable inside the Body tag. Try this as an example:

     

    <body>

    <?rh-region_start type="header" style="width: 100%; position: relative;" ?>

    <p>&#160;</p>

    <?rh-region_end type="header" ?>

    <?rh-region_start type="body" ?>

    <h1><?rh-variable_start name="title" format="default" value="IDBS" ?>IDBS<?rh-variable_end ?></h1>

    <p>&#160;</p>

    <?rh-region_end type="body" ?>

    <?rh-region_start type="footer" style="width: 100%; position: relative;" ?>

    <h1>&#160;</h1>

    <p class="TableRow">&#160;</p>

    <?rh-region_end type="footer" ?>

    </body>

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 25, 2012 11:35 AM   in reply to goldfish184

    Note though that will not affect the Topic Title that will be displayed in search results etc.

     

    The Topic Heading is what you see at the top of the page, not necessarily the Topic Title although you can set the heading to be the same as the title.

     

    The Topic Title is what you see in Topic Properties and they can differ.

     


    See www.grainge.org for RoboHelp and Authoring tips

     

     

    @petergrainge

     
    |
    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