Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mikael Mørup 297 posts 326 karma points
    Sep 28, 2009 @ 08:12
    Mikael Mørup
    0

    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

  • Richard Soeteman 4054 posts 12927 karma points MVP 3x
    Sep 28, 2009 @ 08:34
    Richard Soeteman
    0

    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

  • Mikael Mørup 297 posts 326 karma points
    Sep 28, 2009 @ 10:23
    Mikael Mørup
    0

    Can you use events with the dialogs in Umbraco?

    I thought they wer only for nodes / pages.

    Mikael

  • Mikael Mørup 297 posts 326 karma points
    Sep 28, 2009 @ 10:26
    Mikael Mørup
    0

    Ahaaa.

    Maybee: BeforeAddProtection is my friend ?

    Mikael

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Sep 28, 2009 @ 10:43
    Dirk De Grave
    0

    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

  • Mikael Mørup 297 posts 326 karma points
    Sep 28, 2009 @ 11:33
    Mikael Mørup
    0

    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

  • 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.

Please Sign in or register to post replies