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:
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.
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:
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
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.
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?
is working on a reply...