Copied to clipboard

Flag this post as spam?

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


  • andrew shearer 513 posts 663 karma points
    May 16, 2017 @ 22:01
    andrew shearer
    0

    hiding properties and/or tabs

    hello What is the latest regarding hiding properties and/or tabs in Umrbaco core? is there any forthcoming functionality in the core planned for this? thanks

  • Craig Mayers 164 posts 508 karma points
    May 16, 2017 @ 23:48
    Craig Mayers
    0

    Hi Andrew,

    Not sure why you would need to hide properties/tabs now, as long as you set up your DocType(s) inheritance correctly and make use of Compositions to construct your DocTypes.

    Take a look at the following article:

    http://letswritecode.net/articles/document-type-compositions-in-umbraco/

    Regards

    Craig

  • Marcio Goularte 389 posts 1362 karma points
    May 16, 2017 @ 23:57
    Marcio Goularte
    0

    There is this package https://our.umbraco.org/projects/collaboration/backoffice-tweaking/

    that is in beta. I do not know if it works well, you'll have to test it. Another way is via code implemented a WebApiHandler.

    Example

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

    This code does not hide tabs, but the way to do this .

    This has already been discussed here: https://our.umbraco.org/forum/umbraco-7/developing-umbraco-7-packages/57017-Umbraco-7-Event-RemoveHide-tab-for-User-X

  • andrew shearer 513 posts 663 karma points
    May 17, 2017 @ 21:08
    andrew shearer
    0

    hi Craig,

    thanks for the Composition over inheritance suggestion. In this case I would actually like the property on the doctype as logically that's where the data lives, its just that I don't really need the content editor to see it (the value is set by a publishing event handler instead). So its more of a system field than a field for the editor.

    thanks andrew

  • andrew shearer 513 posts 663 karma points
    May 17, 2017 @ 21:09
    andrew shearer
    0

    hi Marcio - yes I did see that package after a google, but my question was rather if this was planned to be official core functionality at some point? thanks

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

    Continue discussion

Please Sign in or register to post replies