4 Replies Latest reply on Dec 8, 2016 10:26 AM by mattd93257535

    Updating existing master page across all topics

    mattd93257535

      I recently added a font awesome icon script to my project's master page. All topics within the project have the same master page. Is there a way, however, to add the script to the master page itself and then have it update automatically across all of those topics? Currently I have to manually add the script into each EXISTING topic, but any NEW topic automatically has the script built in.

       

      Any ideas community?

        • 1. Re: Updating existing master page across all topics
          Captiv8r Adobe Community Professional & MVP

          Master Pages work in two entirely different ways.

           

          1. To serve as a boilerplate topic with things in place and ready to go. You just change the content of the topic to suit you. From that point forward, Master Page is pointless because changes don't cascade to all topics created from the page. (Think of a form going through a copier. Changes to the original have no effect on the copies made)

           

          2. To propagate content such as Headers or Footers across multiple topics. In this case, Master Pages have an ongoing relationship with the topics linked to them. Changes to the Header, Footer, or "no-man's land" areas DO propagate to the linked topics.

           

          So try adding your content to the Header or the Footer area of your master page. Note that you will have to bring the Header or Footer into view before you can do that. If your version is older than 2015 Release, click the View menu and choose Header or Footer. In 2015 Release, click one of these icons:

           

          tmp2.png

           

          Cheers... Rick

          1 person found this helpful
          • 2. Re: Updating existing master page across all topics
            Willam van Weelden Adobe Community Professional & MVP

            In the Topic List pod, you can select all topics of the project. If you go to the properties, you can assign the master page in one go. But beware: The script has be in the master page's header or footer. Just regular text will only come across for new topics as some default content.

             

            Alternatively, the Single Source Layout has an option to assign the master page on generation only. You won't have to assign the master page manually. The same restriction applies: works for headers/footers only.

            1 person found this helpful
            • 3. Re: Updating existing master page across all topics
              mattd93257535 Level 1

              This worked perfectly, thank you Rick! It does not follow proper javascript order as the script is in the header and not the <head></head> section of HTML, but that is not as important as the time savings to not have to manually add the script to each topic.

               

              Thank you!

              • 4. Re: Updating existing master page across all topics
                mattd93257535 Level 1

                Hi William,

                 

                This worked as well! Thanks for sharing. Same pros/cons as the method proposed by Rick.