Is it possible to have the loginpage and errorpage fields set to default values when you rightclick a node and chose "public access" --> "role based protection", so users don't have to selct the same pages over and over again for every page they are securing ?
If you have some .Net programming skills you can do that using the event system. You'll find some information on how to use the events on these WIKI pages:
Default login and error page ?
Is it possible to have the loginpage and errorpage fields set to default values when you rightclick a node and chose "public access" --> "role based protection", so users don't have to selct the same pages over and over again for every page they are securing ?
Thanks
Mikael
Hi Mikael,
If you have some .Net programming skills you can do that using the event system. You'll find some information on how to use the events on these WIKI pages:
Register Events
Examples
Overview of all events
Hope it helps you,
Richard
Can you use events with the dialogs in Umbraco?
I thought they wer only for nodes / pages.
Mikael
Ahaaa.
Maybee: BeforeAddProtection is my friend ?
Mikael
Mikael,
Don't think it that event can be used to change default behaviour of the dialog... (maybe it is possible) but you still have other options:
-modify the dialog to reflect the changes you'd want (making it incompatible for future upgrades as you're touching the core)
-add new menu item, remove the existing one and create your own 'protection dialog' (much more work)
-... even more ideas from other people.
Cheers,
/Dirk
Well i think i will just tell the client that it is not possible within the frame of the curent budget ;-)
It was mostly a "nice to have" feature. The problem is of course biggest when they have created a lot of pages initially and want to protect them.
After that it's just a matter of doing it when they create each (protected) page.
thanks for your suggestions.
Mikael
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.