Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > All gone View modes: 
User avatar
Member
Member
dcollins-marketwired - 2/7/2014 11:38:25 AM
   
All gone
I hate you. I hate you. I hate you.

Editing a template on a subpage can and will change the Masterpage template.

I just wiped out all the work I've done over the last few days because I was trying to edit the template of a subpage, and it did for my Masterpage template instead.

Back to square one.

I hate you. I hate you. I hate you.

User avatar
Kentico Customer Success
Kentico Customer Success
Accepted solutionAccepted solution
kentico_martind2 - 2/7/2014 11:52:13 AM
   
RE:All gone
Hello,

I'm really sorry to hear rude words like these.

But let me prove you that this is not a fault of Kentico.

A whole issue is related to the inheritance and settings of your page template as you can see also in the Developers Guide: Visual inheritance.

But there is a chance to restore your previous work if you have versioning enabled.

If we are talking about "page template" you need to check the "versions" tab of your page template. You can do so in CMS Desk -> Content -> Select your document -> Properties -> Template -> Edit tamplate properties -> versions.

However, first of all, you should check if the versioning settings are correct for your page templates. It could simply happen that

A.) Object versioning settings for your web site

CMS Site Manager -> Versioning & synchronization -> Object versioning -> Enable objects versioning

B.) "Page templates" setting

CMS Site Manager -> Versioning & synchronization -> Object versioning -> Page templates

Best Regards,
Martin Danko

User avatar
Member
Member
dcollins-marketwired - 2/7/2014 12:04:14 PM
   
RE:All gone
kentico_martind2 wrote:
But there is a chance to restore your previous work if you have versioning enabled.

If we are talking about "page template" you need to check the "versions" tab of your page template. You can do so in CMS Desk -> Content -> Select your document -> Properties -> Template -> Edit tamplate properties -> versions.

OMG Thank you!!! That worked!

(From my perspective, this is a usability issue with Kentico. Templates are quite complex - no matter how much reading one does - partly because of their recursive nature. I don't think a user should be able to edit a Master template accidentally from within a subpage. If I wanted to edit a top-level tree item, I should only be able to do it from the top-level of the tree.)

User avatar
Member
Member
dcollins-marketwired - 2/7/2014 12:08:29 PM
   
RE:All gone
...that being said...

Kentico has such a powerful versioning system (which luckily for me, was turned on by default) that mistakes - even catastrophic ones such as mine - are trivial to correct. Other than the five minutes of terror I had before discovering this feature, I am otherwise unharmed and unimpeded.

So, thanks again Kentico, and martind2; you really came through!

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 2/7/2014 2:37:41 PM
   
RE:All gone
Hi,

I'm glad that it worked for you.

And if you think that our developers should change or improve the way how you work with the page templates in Kentico, feel free to share your opinion with them directly on the special page: Kentico UserVoice

Best Regards,
Martin Danko