How to - Multiple page layouts

When designing a a new template, it happens that you might want to insert different information in your header or footer on different pages of your document. 

You can control the way information is displayed in the output by using different Page Layouts, which would be displayed accordingly using rules for your Page Set.

This article will provide the following information:

  • How to create a Page Layout
  • How to edit your current Page Set to match the rules needed for your document
  • Usage scenarios:
    1. First page – different header and footer
    2. First and last page – different header and footer
    3. One vs multiple pages behavior – different behavior

1. How to Create a Page Layout:

  • - Open Ecrion Design Studio Publisher
  • - Go to "Page Layout"
  • - Select "Add Page Layout"
  • - Give a name to your layout
  • - Adjust it as you need
  • - Click on insert and create it

2. How to Edit your current Page Set

In order to edit the current Page Set to match the rules needed for your document, you will have to follow the steps below:

  • - Go to "Page Layout"
  • - Select "Edit Page Set"
  • - Click on the current Page Set
  • - Select "Add Layout" to add the new created layout to your "Page Set"

3. Usage scenarios

a. First page – different header and footer

In order to obtain a different header and footer for the first page, you will have to follow these steps:

  •     - Create two different layouts: one for the first page and one for the rest of the document;
  •     - Edit the current Page Set, add the new layout and select the "Conditional" option, then pick "First Page Only" from the dropdown list;
  •     - Do the same for the other layout setting "All Other Pages" instead of  "First Page Only"

b. First and last page – different header and footer

 To insert different header and footer for the first page and a different header and footer for the last page, you should follow the steps below:

  •     - Create three different Layouts, one for the first page, one for the last page and one for all other pages;
  •     - Edit the current Page Set, add the layout for the first page and select the "Conditional" option, then pick "First Page Only" from the dropdown list;
  •    - Do the same with the layout for the last page but from the dropdown list select "Last Page Only"
  •    - The third layout should be added and from the dropdown list the "All other pages" option should be selected.

c. One vs multiple pages behavior – different behavior

This option is for the case when you want to have a different behavior when your document has only one page. To achieve this please follow the steps below:

  •    - Add a new layout to be applied when your document has only one page;
  •    - Create a new layout to be applied when your document has more than one pages;
  •    - Edit the current Page Set, add the first layout and select the "Conditional" option, then pick "One Page Only" from the dropdown list;
  •    - Repeat the previous step and from the dropdown list select "All Other Pages".

 Please note that no matter what condition you choose, all your document pages must be associated with a page layout (the Page Set must cover all pages).

Have more questions? Submit a request

Comments

Powered by Zendesk