enhancement · module

Playing around with Sitecore custom validators per template

Once we have followed Helix architecture principles, there have been some base templates are used by Page Type templates. For instance, we have a _BaseContent template (fields: Headline, ShortDescription, Body) and it’s a base template of various templates. There is a Max Length Validator for Headline field. However, the max length value is the same for… Continue reading Playing around with Sitecore custom validators per template

enhancement

Playing around with site-specific Sitecore Link Manager

In real Sitecore projects, you may have to deal with some special requirements such as ensuring to have a slash at the end of the links which are normally generated by Link Manager. Technically, it should be an easy one by implementing a string extension method like this:   However, there are many places need… Continue reading Playing around with site-specific Sitecore Link Manager

enhancement · module

How to mix renderings with sublayouts on a Sitecore MVC layout

One day, I asked my beloved Sitecore team: “Guys, what would we do when we have a Sitecore 8 project on the table and it’s in Sitecore Webforms? The client wants to revamp some parts on the current websites.” The feedback: it’s a good chance for us to slightly switch to Sitecore MVC implementation. We’re… Continue reading How to mix renderings with sublayouts on a Sitecore MVC layout

enhancement · module

Report viewer restriction on Sitecore Experience Analytics Dashboard

It seems that we cannot prevent someone to view the analytic report of a specific website on Sitecore Experience Analytics Dashboard in case he has access right for it (normally, his Sitecore role is sitecore\Analytics Reporting). Per my investigation, we can try to solve it by adding an additional logic to this file \sitecore\shell\client\Applications\ExperienceAnalytics\Common\Layouts\Renderings\SubsiteFilter.cshtml which handles Subsite combobox… Continue reading Report viewer restriction on Sitecore Experience Analytics Dashboard

enhancement

Using Editor friendly names in Sitecore

The content editors are not programmers. Thinking like a content editor will make for a great CMS experience. Programmers will use DisplayTitle, BrowserTitle, StoreName, etc for field and item names. They should be editor friendly names such as Display Title, Browser Title, Store Name. The difference is small but it makes a difference to Editors expectations… Continue reading Using Editor friendly names in Sitecore

cms · enhancement

How to inject the custom icons to Sitecore 8

Someone wants to inject their own icons to Sitecore 8 so that they will be able to change the icon of Sitecore items later inside Sitecore (please click here to get how to configure item icons). It’s something like this: The Reference Modifying \sitecore\shell\Applications\Content Manager\Dialogs\Set Icon\Set Icon.xml which handles Change Icon dialog of Sitecore: replace CodeBeside to the new… Continue reading How to inject the custom icons to Sitecore 8