Copied to clipboard

Flag this post as spam?

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


  • Stephen Adams 23 posts 43 karma points
    Oct 31, 2015 @ 05:22
    Stephen Adams
    0

    Umbraco 7 Back Office: Narrow content by creator

    Hi gang!

    So we have an Umbraco 7 project with varying user types (Admin, Writer). The main premise is that there are articles (Document type name: Article). That said, our current content structure is as follows:

    • Home
    • Articles
    • Contributors
    • --> Writer A
    • ------> Articles
    • --> Writer B
    • ------> Articles

    Each Writer on login is defaulted to their specific "folder" name. I.e. if Writer A logs in, all they'll see is the Writer A folder and the Articles underneath.

    Now, this is problematic because we don't want the URLs to look like this:

    /contributors/writer-a/articles/article-name-goes-here

    Ideally we'd like it to be:

    /articles/article-name-goes-here

    Unfortunately we're not aware of a way to only shows articles that the logged in user created under the Articles folder.

    Is anyone aware of a package or an approach that we can take programmatically to solve this issue?

    Thanks! -Steve

  • Charles Afford 1163 posts 1709 karma points
    Nov 01, 2015 @ 10:26
    Charles Afford
    0

    There are a few ways I can think of. You could right some custom code that when you click on a article folder, it looks up the current user and only display articles based on a property on their settings. Ir you creat a custom resolver (not sure if that's possible) or you have diffrent document types (don't like this but technically possible) :) Charlie.

  • Stephen Adams 23 posts 43 karma points
    Nov 02, 2015 @ 07:49
    Stephen Adams
    0

    Hi Charles,

    Thanks for the info.

    Unfortunately they're all the same document type.

    Outside of that, is it actually possible to show a custom list of articles by writing some custom server side code?

Please Sign in or register to post replies

Write your reply to:

Draft