If you are passionate about testing automation in Sitecore, sooner or later you will want to mock Context.PageMode.IsExperienceEditorEditing (or Context.PageMode.IsPageEditorEditing in pre-Sitecore 8) properties. This post will give you step-by-step instructions on how to do that using Sitecore.FakeDb.
[su_note note_color=”#fafafa”]This blog post is a response to a question over at SDN (here). It’s a prototype of a solution, please use at your own risk and make sure you harden the code properly. I intentionally simplified it for the blog post. If I spend a little more time on it I will publish it […]
Scenario Your Sitecore site needs to display product detail pages. Maybe it’s retail, maybe it’s e-commerce, maybe it’s a catalogue with (or without) online sample orders, maybe it’s an inventory listing with inquiry forms, maybe it’s something else. The detail pages may have same look and feel for all products, may vary per category or […]
Chromes Sitecore uses special markers – chromes – to tell apart placeholders, renderings, fields, and edit frames in the Page Editor. A chrome is server-generated and marks the beginning and the end of a potentially editable section. It also provides all the essential metadata for the client side scripts to rely on: The metadata for […]
It all starts with a series of problems – I want a Sitecore instance in MVC, I want to use Web Forms For Marketers (WFFM) with the MVC context, and I want my content authoring experience through the page editor to be straight forward. Well, thanks to this blog post from Chris van de Steeg, […]