Kentico CMS 6.0 Context Help

Web part zone properties

Web part zone properties

Previous topic Next topic Mail us feedback on this topic!  

Web part zone properties

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Here you can edit the configuration of web part zones:

 

Default:

 

Zone title

Title of the zone displayed on the Design tab.

Disable view state

Indicates if view state should be disabled for the web part zone.

Widget zone type

The following widget zone types are available:

 

None - a standard web part zone is used.
User personalization - the zone will be set to contain widgets and website users will be able to personalize it on the live site. The zone will be marked with the User zone (WidgetUser) icon.
Customization by page editor - the zone will be set to contain widgets and website editors will be able to customize it on the Page tab of CMS Desk. The zone will be marked with the Editor zone (Editcontent) icon.
Customization by group administrator - the zone will be set to contain widgets and group administrators of the group that owns the page will be able to customize it on the live site. The zone will be marked with the Group administrator zone (WidgetGroupAdmin) icon.
Dashboard - this type of zone is only available on Dashboard page type templates. If selected, the zone will be set to contain widgets and users will be able to customize it on dashboard sections located in the CMS administration interface. The zone will be marked with the Dashboard zone (DashboardWidget) icon.

 

Please bear in mind that changing the widget zone type removes all current web parts or default widgets placed in this zone.

 

Visibility:

 

Visible

Indicates if the entire content of the web part zone should be displayed.

Hide on subpages

Indicates if the web part zone should be hidden on sub-pages. If checked, the zone will not be displayed on child documents that inherit the page template containing the zone.

Show for document types

Contains a list of document types on which the web part zone should be displayed. If the currently selected document uses the page template containing the web part zone, but its type is not specified by this property, the zone will be hidden.

 

The document types in the list must be specified by their code names and separated by semicolons (;). If empty, the zone will be displayed on all document types.

Display to roles

Contains a list of roles to which the web part zone should be displayed. This may be used to implement documents with specific functionality for different types of users.

 

The roles in the list must be specified by their code names and separated by semicolons (;). If empty, the zone will be displayed to all users.

 

Zone container:

 

Container

Specifies the name of the container (box) to be displayed around the entire web part zone. Only the containers defined at Site Manager -> Development -> Web part containers can be selected. The selected container can be edited directly by using the Edit button.

Container title

Sets a title for the container (if one is specified for the web part zone). This title is displayed only if the {%ContainerTitle%} macro is used in the code of the container.

Container CSS class

CSS class used for the web part zone's container. Applied only if the {%ContainerCSSClass%} macro is used as the value of the Class attribute in the code of the container.

Container custom content

Custom content to be displayed in the web part zone's container. Applied only if the code of the used container contains the {%ContainerCustomContent%} macro.

 

HTML Envelope:

 

Content before

HTML content placed before the web part zone. Can be used to display a header or add some encapsulating code, such as <div> or <table> elements to achieve the required layout.

Content after

HTML content placed after the web part zone. Can be used to display a footer or close the tags contained in the value of the ContentBefore property, such as </div> or </table> elements.

 

AJAX:

 

Use update panel

Indicates if an AJAX UpdatePanel container should be used for the web part zone.

 

Time zones:

 

Time zone

Specifies the type of time zone used for the content of the web part zone. The following types are available:

 

Inherit - inherits the time zone settings from the Page placeholder web part used to display the page template containing this web part zone (typically the one on the master page).
Server - server time zone settings will be used by the web part zone.
Web site - website time zone settings will be used by the web part zone.
User - time zone settings of individual users will be used by the web part zone.
Custom - some other time zone will be used based on the selection done in the Custom time zone property.

Custom time zone

May be used to assign a custom time zone specifically to this web part zone. If selected, the time zone will be used regardless of current user or website time zone settings.

 

More resources can be found at:

 

Developer's Guide -> Development -> Web parts -> Overview
Developer's Guide -> Development -> Widgets -> Overview
Developer's Guide -> Modules -> Dashboards