Ability to check if a page is in comparison mode

Vote:
 

Hi,

Is there a way to identify, if a page is in comparison mode in episerver 8.

Thanks in advance

Dilip

#143332
Jan 20, 2016 13:56
Vote:
 

Hi,

Are you asking if version 8 has a comparison mode, similiar to CMS 6? 

#143431
Jan 22, 2016 22:40
Vote:
 

Hello Dilip

This depends on your requirements. Do you want to know if the Episerver UI is in comparison mode? Or do you want the know on the page as its being rendered if its being shown as part of a comparison?

David

#143440
Jan 23, 2016 23:27
Vote:
 

Ps you should be able to hook into the dojo topic /epi/shell/action/changeview. This should contain a model of type epi-cms/compare/command/CompareSettingsModel that is the details of the page being compared.

I've not tried this myself so let me know how you get on.

David

#143441
Jan 23, 2016 23:49
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.