Category: Sitefinity

API Extensions Helpful Tools Pages Sitefinity

Detecting the Sitefinity Environment (Backend, Design, Preview, Edit) with the SystemManager

The Sitefinity System Manager is a helper class that simplifies working within the Sitefinity system. Although it supports several advanced operations such as loading configuration settings, registering web services, etc., it’s most helpful feature is probably the ability to report the current environment in which your code is executing.

CONTINUE READING
Code Sample Content Blocks Customization Pages Sitefinity Video Widgets

Creating a Hideable Sitefinity Content Block Widget

Adding a content block to a Sitefinity page with a Content widget (such as News, Events, Blogs, etc.) displays that content for both the master list and single item details view for the content. This video demonstrates how you can easily inherit from this control to make a hideable content block that only renders when […]

CONTINUE READING
Guide OpenAccess Sitefinity Version

Developing With Sitefinity When A Different Version of OpenAccess is Installed

One of the best features of Sitefinity is the inclusion of the fantastic ORM tool OpenAccess. However, one issue that can be a bit troublesome is the fact that Sitefinity has often shipped with a different version of OpenAccess that the latest. Fortunately, It is possible to work around this problem, with a little help […]

CONTINUE READING
API Code Sample Pages Permissions Sitefinity Widgets

Add Control to Sitefinity Page with Default Permissions

When adding controls to a Sitefinity page programmatically, by default it’s going to set restricted permissions so that only users in the Administrators role can view them. You can easily change this so that the widget is installed with the default permissions it would get by being dragged onto the page with the following code:

CONTINUE READING
Blogs Code Sample Sitefinity Taxonomy Widgets

Filtering the Sitefinity Taxonomy Widget for a Specific Blog

The classification widgets in Sitefinity allows you to display the list of taxonomy names (such as categories or tags) used by content items in Sitefinity. You can specify a specific content type (even Dynamic Modules with this workaround) and to allow your visitors to filter the content items. Custom Blogs Taxonomy Control However, if you […]

CONTINUE READING