When you add widgets in a page template, they cannot be edited in the pages that use the template. For example, if you add the Image widget in a template and configure the widget to display a certain image, this image is visible in all pages that use the template. You cannot change the image from a certain page, you can only change the image from the template. The change is applied to all pages that use the template.
If you want to be able to edit widgets, added in the template, from a page that uses the template, you must branch the widgets. When a widget in a template is branched, you can edit the widget inside a page that uses the template. The widget inherits its configuration and contents from the template. Once you edit a branched widget inside a page, you break the inheritance.
EXAMPLE: You place the Image widget inside a template and configure it to display Picture X. You apply the template to Page A and Page B. Picture X is displayed on both pages. When you branch the widget in the template, it becomes editable in the pages. If you open Page A and replace Picture X with Picture Y, you break the inheritance from the template and Page A. Now, Page A displays Picture Y, Page B – the same as the template – Picture X. If you change the image inside the template and replace Picture X with Picture Z, the change is applied only to pages, where the widget has never been edited – in this case, Page B.
To branch a widget, perform the following:
NOTE: If you edit a branched widget from a page, in the toolbar of the widget, the View where this widget was edited link appears. You can use it to see a list of pages where the widget has been edited. These pages no longer inherit the content of the widget from the template.
Back To Top
Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.