Editable Regions in a PCF

After page creation, the PCF can be edited with the Source Editor to modify access settings for an editable region of a page. The OmniUpdate div tag includes the access group assignment. Changing the value of the attribute, changes access to the editable region. For example, this editable region is accessible by everyone:

<!-- com.omniupdate.div label="twocolumn_content" group="Everyone" button="700" break="break" --><!-- ouc:editor csspath="/_resources/ou/editor/twocolumn_content.css" cssmenu="/_resources/ou/editor/styles.txt" width="1050"/ -->
<h2 class="h-color-link">Approval Workflow</h2>
<p>Thanks!</p><!-- /com.omniupdate.div -->

If the value found in group=”Everyone” was changed, the access to the editable region would change as well.

To make permanent changes to the template, the value can be modified in the TMPL, and all new pages created with the modified TMPL have the new access setting instead of changing it page-by-page via the PCF.

For example, the code in the TMPL is similar to that of the PCF illustrated above:

<!-- com.omniupdate.div label="twocolumn_content" group="Everyone" button="700" break="break" -->
<!-- com.omniupdate.editor csspath="/_resources/ou/editor/twocolumn_content.css" cssmenu="/_resources/ou/editor/styles.txt" width="1050" -->
<h2 class="h-color-link"><!--%echo var="title" --></h2>
<!-- /com.omniupdate.div -->


Was this page helpful?

Additional Comments:

(Include your email address if you would like a reply)