Example Fragment Column Editing

This page is part of the Aggregated Layout Management Convergence 2.x effort that will be added to 3.x.

Fragment Owner Preferences View

The image below shows the view of a selected column being edited in the Preferences area. By default all actions are allowed. Note that all actions have been revoked in this screen by the All Users fragment owner.

To see how these restrictions affect the user see the images below.

These attributes can be combined in numerous ways on many layout elements to provide great flexibility in locking down some aspects of the UI but allowing users to still edit fragment elements. For example, by locking the My Calendar and Bookmarks channels with "moveAllowed = false" and "deleteAllowed = false" and by setting the same values on their column and their tab those channels would be garanteed to always be in the most valuable screen real-estate location, upper left. But users are free to add additional columns and tabs to the right and below these two channels on this semi-restricted fragment.

Fragment User Preferences View

The image below shows a regular user in the Preferences layout editing page with the same column selected for editing. Note the following changes to the UI caused by each of the indicated attributes.

Attribute

Effect on Fragment User

cp:moveAllowed

  1. Note the title at the top of the column indicating, "Column is unmovable".
  2. There is no image for moving the column to the right nor for moving the next column to the left.|

    cp:addChildAllowed

    Note the missing images throughout the column.

    cp:deleteAllowed

    Note the missing "Delete This Column" link.

    cp:editAttributesAllowed

    Note how in the section for "Set Column Widths" the width of this column, 30%, is not directly editable but is only presented for viewing.