Tag: Page Editor

How to Test PageMode.IsExperienceEditorEditing in Sitecore

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.

continue

Editable Dictionary Items

Context The gist of the questions: We are heavily dependent on Translate.Text(). We like Page Editor. Can’t migrate to datasource items. Would very much like our dictionary translations editable in Page Editor. Can it be done? The gist of the answer: Yes Approach Translation.Text() runs through a getTranslation pipeline (surprise!). We could create a pipeline […]

continue