Kentico CMS 6.0 Developer's Guide

Use in web parts

Use in web parts

Previous topic Next topic Mail us feedback on this topic!  

Use in web parts

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

Web parts of the Blogs, Forums, Message boards, Messaging and Smart Search modules have the Time zones section in their web part properties, where the applied time zone can be set. The section contains the following two properties:

 

Time zone

Inherit - inherits the time zone setting from the Page placeholder web part used to display the current page template (typically the one on the master page).

Server - server time zone settings will be used by the web part.

Web site - website time zone settings will be used by the web part.

User - time zone settings of individual users will be used by the web part.

Custom - some other time zone will be used based on the selection done in the Custom time zone property.

Custom time zone

If you select one of the time zones, it will be used by the content of this web part, regardless of current user or website time zone settings.

 

In the case of the Calendar and Event calendar web parts, these web part properties take no effect. Instead, displaying of the correct time zone needs to be ensured in the used transformation, as described in the Displaying correct time in your code chapter.