Custom widget display

Posted by llieu on 09-May-2019 15:11

Hi, I'm trying to inject custom MVC user controls programmatically to only display in Preview mode or published page and not appear in Edit mode. I was able to add the new user controls but I just don't see them appear in Preview. All the forums mention you should save the changes, but I don't want those controls to save in the Edit mode for users to be able to change. Has anyone tried to do this?

All Replies

Posted by jread on 14-May-2019 15:40

You could add the custom MVC controls as normal but then use permissions to restrict editing to only admin?

This thread is closed