Skip to main content
Participant
November 30, 2010
Question

Applying Changes to Master Pages

  • November 30, 2010
  • 1 reply
  • 1425 views

Is there any way to apply a change to a master page to a topic that is already linked to that master page? I tried removing the link, making the change to the master page, and then re-linking the topic, but it the "old" version of the master page gets applied. I also tried making a change to the master page and then using the Apply To All feature when generating, but again, the version applied is the "old" master page.

    This topic has been closed for replies.

    1 reply

    Captiv8r
    Legend
    December 1, 2010

    Welcome to our community

    It depends on what you are trying to change. Can you be more explicit about exactly what it is you are trying to do?

    Cheers... Rick

    Helpful and Handy Links

    RoboHelp Wish Form/Bug Reporting Form

    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!

    Adobe Certified RoboHelp HTML Training

    SorcererStone Blog

    RoboHelp eBooks

    Participant
    December 1, 2010

    I have a master page (previously a topic template) with code for adding a custom button bar for context-sensitive topics. It includes buttons for Contents (launching the tri-pane window), Back, and Print. This code applies to any topic that can be launched as context-sensitive Help (in a single pane). This was easy to do with WinHelp, and even HTML-Help. However, doing this for WebHelp requires custom code. Adding this code as part of the master page (previously, the topic template) seemed to be one way of applying it to multiple topics fairly easily. However, once applied, how can I update the original master page and have those changes affect existing topics? Is there a better place to include such code (hopefully in a place that RoboHelp will not "undo" with each compilation)?

    Captiv8r
    Legend
    December 1, 2010

    Hello again Paul

    Okay, so the fact you are referring to them as Master Pages would seem to imply you are using RoboHelp 8. When you edit a Master Page in this version you note that there are "Placeholders" on the page. There is a Placeholder for the Body text. You may also add other Placeholders as well as Headers and Footers.

    If you inserted the button bar inside the Body placeholder, it would only be related to topics you created using the Master Page as a template. If you later changed this in some way, for example removing or adding a button, it would only be reflected in topics you later created after making the change. Topics created prior to the change will be unfazed.

    You can change this behavior by inserting the element just above the Body Placeholder. When content is outside the Placeholder, it gets copied to any topic associated with the Master Page.

    As for RoboHelp being "helpful" and leaving the code alone, you are on your own with that. Trial and error will tell you whether RoboHelp will clobber the changes to the code. About the only way to ensure that doesn't happen is by using some custom JavaScript to "write in" the desired code.

    Cheers... Rick

    Helpful and Handy Links

    RoboHelp Wish Form/Bug Reporting Form

    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!

    Adobe Certified RoboHelp HTML Training

    SorcererStone Blog

    RoboHelp eBooks