Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    May 17, 2018 @ 09:52
    Ismail Mayat
    0

    customise dashboard and form entry pages

    With forms is it possible to update the following:

    1. The forms listing dashboard, I want to show more fields from the form on the list.

    2.On entry page show approve / delete button.

    1. On entry page have check box where user can set true / false to show if item has been processed. (We have approved but we want this extra status)

    Regards

    Ismail

  • Dave Woestenborghs 3325 posts 11170 karma points MVP 5x admin c-trib
    May 17, 2018 @ 11:13
    Dave Woestenborghs
    0

    Hi Ismail,

    Don't think that is possible out of the box.

    But with some angular "hacking" you should be able to do this.

    You can use interceptors to replace the default view with your own.

    http://skrift.io/articles/archive/changing-backoffice-functionality-without-changing-core-code/

    I don't know if the API call for the dashboard shows all the data needed, but you can use a WebApiHandler to add extra data if needed.

    Example webapi handler

    https://github.com/jbreuer/Hybrid-Framework-for-Umbraco-v7-Best-Practises/blob/master/Umbraco.Extensions/Utilities/WebApiHandler.cs

    Registering WebApiHandler

    https://github.com/jbreuer/Hybrid-Framework-for-Umbraco-v7-Best-Practises/blob/master/Umbraco.Extensions/Events/UmbracoEvents.cs#L67

    Downside of this approach is that it can break with every forms upgrade.

    Dave

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    May 17, 2018 @ 11:32
    Ismail Mayat
    0

    cool cheers. I have used interceptor before well when i say used i mean i nicked code from Jeroens hybrid mvc project and used that.

    Regards

    Ismail

  • 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