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.
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 […]
The Sitefinity Module builder allows you to create custom types on the fly for use as custom modules. In the 5.0 release back in February, a two new field types were added to the module builder: Guid and Array of Guids. These allow you to “link” content items using their Id properties, adding support of […]
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 […]
If you are working with the Sitefinity Pages API you can easily retrieve the Id of any page in the system. You might also be working with a custom or intra-site module, which has a static Guid property for the landing page. Fortunately, there is an extension method in the Telerik.Sitefinity.Modules.Pages that can return the […]
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:
When working with Sitefinity Intra-Site Modules, all your module’s logic, code, and markup is contained in User Controls. This allows you to inherit all the styles from the default Sitefinity backend theme. However you might want to add additional styling to your admin controls. You can accomplish this easily by adding a custom stylesheet for […]
When developing a Sitefinity Intra-Site Module you’ll likely be creating public widgets that your users will be dropping onto pages. Rather than relying on your users to manually add them to the toolbox, you can register these controls yourself during module installation.
The ViewMap is a Sitefinity setting that globally maps Sitefinity control types to specific custom templates. You can use this go override the default templates for virtually any Sitefinity control.
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 […]