In the summer I had a chance to give a presentation on Sitecore User Group Baltics in front of around 50 people. The atmosphere was great and I loved the discussion at the end. Enjoy! 📺
Sitecore provides you the possibility to implement your own layout resolver if the default one is not enough for you. Basically you can change the layout of a page based on a business logic without changing the item in the database.Continue reading “Custom layout resolver”
The default Sitecore Name Value List field has an annoying issue. It does not allow to use special characters like ‘-‘ for the key. I just digged into the Sitecore.Kernel library and I found a regular expression validation which is hardcoded.
Let’s overwrite this class make it more flexible. The main issue with the implementation that they don’t encode/decode the URI.
The module is developed by @maaakstiles and I really like it because it’s easy to extend/change to fit your requirements. The basic idea is very easy. It gets data from somewhere (Sitecore/CSV/SQL/MySQL). I played with the SQL part.
I couldn’t find any documentation on the internet about this so here is how you can change the frequency of checking the scheduled task.
As you can see here in the config file you can do it separately for “core” and “master” database. On dev machines always needed to change it from the default 10 minutes to lower, e.g. 1 minute.
It was a good idea from one of our client to show a highlight directly on the renderings which use any Personalization Rules in Experience Editor.
I found out to create a HTML extension method for it and then I can include it to renderings. Then I can call it like this: