Sitecore 8 Experience Editor – Edit Component Properties causes page to jumps to top

Another quick blog post for a fairly minor bug but causes a big annoyance for the content editors.

I tend to use Rendering Parameters a fair amount, it’s a really neat way of making controls more flexible and customisable without duplicating work, making it much easier for editors. But in all versions of Sitecore 8 I have worked with (update 2 to 5) whenever you click “Edit Component Properties” the Control Properties modal opens up correctly but you also jump to the top of the page:


Read More

The mysterious case of the missing Mode Selector in Sitecore 8 Experience Editor

This is such a simple bug that it’s hardly worth a blog post, but something that has been annoying me for some time that finally this week a colleague of mine pointed out the issue. I noticed a few other people suffering from this on screencasts as well.

Have you noticed that sometimes you’re in the Experience Editor and you want to switch to Preview mode after having made some edits but the switcher menu does not appear? It seemed to randomly stop working but there were no Javascript errors in the console either.

Well, it seems that it wasn’t so random after all and there was a consistency to when it would appear or not appear…

Read More

Accessing Private Methods and Properties in Sitecore using Reflection

Oh Sitecore, you and your crazy Kernel. Such beauty and craziness all rolled into one. So much extensibility yet so many hoops you make us jump through to play with you nicely. Inevitably we end up just decompiling you just to take a look at the beauty that exists inside, but at the same time you cause pain when that extensibility is not at the point we need.

So what’s a guy to do? We resort to tactics that make us feel dirty: copy and paste!

All you Sitecore developers know what I am talking about. You need to override a pipeline, or extend an event handler or change the behaviour of some part of the interface and you try you damned hardest to extend in a clean way without touching any of those Sitecore parts, but there’s just no way you can do it. The method you need access to is Private, or only internal, marked as static or was not made access.

Read More