Copied to clipboard

Flag this post as spam?

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


  • Brendan Rice 538 posts 1102 karma points
    Apr 30, 2013 @ 19:18
    Brendan Rice
    0

    Partial Views in Umbraco 4.11.6

    I have an Umbraco install on a live server and see the following:

    https://www.evernote.com/shard/s2/sh/160210e7-f6fc-45fc-b3b4-6242b9730e33/7e6ab45b9c744f8f58c17703773d2784/deep/0/Screenshot%2030/04/2013%2018:15.png

    Notice that there is no partial views available, I am pretty sure I have missed a config setting somewhere, can anyone help please?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 30, 2013 @ 19:34
    Tom Fulton
    0

    Hi Brendan,

    Was this an upgrade?  If so make sure you merged /config/trees.config - there's an entry in there for the Partial Views tree

    -Tom

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 30, 2013 @ 19:38
    Tom Fulton
    0

    Ah sorry, read that a bit too quick.  The Partial Views tree is under Developer, not Settings.  Do you have it there?

    Note that this reads from /Views/MacroPartials and not /Views/Partials - I don't think there's any tree for that.

  • Brendan Rice 538 posts 1102 karma points
    Apr 30, 2013 @ 20:12
    Brendan Rice
    0

    Hi Tom, thanks for the help, you are a true gent.

    I think te problem is that the Views are under Views/Partials. It doesn;t seem right that you can't edit these once a site is deployed as most of my logic is in the partials.

    What is your take on it?

     

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 30, 2013 @ 20:22
    Tom Fulton
    0

    My mistake, it looks like in v6 the Partial Views tree is there in Settings and allows you to edit regular Partials.  I think it was added to v6 but not v4 for some reason.

    If you're curious you might try bumping this issue to see if there's a reason it wasn't included in v4 or if maybe it was just missed:  http://issues.umbraco.org/issue/U4-1303

    -Tom

  • Brendan Rice 538 posts 1102 karma points
    Apr 30, 2013 @ 20:30
    Brendan Rice
    0

    Thanks Tom, I will post a comment on the issue tracker.

  • 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