When you mark a page element as Editable on a page template, that page element becomes editable in any child pages or templates derived from the parent template.
Required Editions
| Available in: Salesforce Classic |
|
Available for purchase in: Enterprise, Performance, and Unlimited Editions Available (with limitations) in: Developer Edition |
Consider these tips when creating editable page elements.
- Editable page elements are highlighted with a blue border in child pages and templates.
- If you make a page element within a panel editable, you can't also make the container panel editable.
- Users can't alter the events, style, or properties of an editable page element in pages based on the template.
- Users can't resize, reposition, or delete editable page elements in pages based on the template. However, if the element's Auto Height property is enabled in the template, its height will adjust to fit the content of the template-based page.
- Deleting an editable element from a page template removes it from all child pages and templates.
- When you enable the Editable property of a page element, any pages or child templates based on the template also inherit the enabled status. In turn, the enabled status in the child template cascades to any of its children, and so on. If you don't want its editability to cascade to any lower levels, disable the Editable property of a page element in a child template.
Editable Page Elements for Contributors
- Contributors can modify editable content blocks in site pages based on the
template. They can also edit content blocks that you place in an editable panel
in template-based site pages.
Tip To add a content block that only other site administrators or designers can edit, use custom code instead. - Contributors can add content blocks to editable panels in site pages based on the template. If you make widgets available to contributors, they can also add them to editable panels.
- Site administrators and designers can edit any page element you make editable.
Default Content in Editable Page Elements
The content of all editable page elements on a child page or template is linked to
the content of the editable elements on its parent page template. When you update
the content of an editable page element on the parent template, the changes are
pushed down to any child pages or page templates. However, if you modify the content
of an editable page element at the child page or template level, you break the link
between the elements, and any subsequent changes made to the page element on the
parent template won't trickle down to its children. (To return control of the
content to the parent template, select the editable page element on the page or in
the Page Structure pane and click
| Revert to Parent Content. When you do this, any custom content in the editable page element is
lost.)
Disabling the Editable property of a panel in a parent template overrides any changes made to that panel in child pages or templates. Changes to the panel at the child level disappear, and the panel reflects only the content from the parent template. However, the changes at the child level aren't lost. Re-enabling the Editable property of the panel in the parent template restores the custom content previously added to its children. Any changes made to the element at the parent level will no longer show up.