The problem I'm trying to solve is having a "global" page and then using "Fetch content from other page" (using the same pagetype) to make the page exist in multiple places in the pagetree, while also being able to override the "global" properties of the page with local, which is what Fetch content from other page enables, just that I can't get onpageediting to work with it.
Is there a way to make onpageediting work while the page is having the "shortcuttype" set to "Fetch content from page"? The onpage editing fields themself is there in the adminview, just disabled (i guess to prevent confusion?).
I have tried overriding the iversionable_shortcut property but with no luck as ShortcutBlock is an internal type, but I guess there might be a better and more proper way?
This is a part of the EPiServer UI to not enable On Page editing when it's a shortcut.
Thank you for the answer, do you have any other suggestions on solving the problem other than creating a DOJO addon?
The problem is to have multiple sites and on top of it having a "global" pagestructure outside the sites (in all languages) where the local sites can fetch both full pages and parts of the pages content from, while also being able to create pages of their own (below those "fetched" pages).
Basically if there is any preferable way to emulate the "Fetch content from page" or any other suggested way to get a similar result.
If you want to prevent changing EPiServer UI, try to recreate the "Fetch Content From" having your own property to select where content comes from.
Thanks for the replies, I'll do the recreation solution most likely as it feels like it's the more proper way of doing this