Im creating a news section to my site but cant figure out the right way to structure it.
This is the structure I have made so far.
The requirements:
the news should be visible in more than one category.
the news should be easy to find agian.
Number 1. is made with a multinodetreepicker so the user can choose the categories where the news should appear.
Number 2. is why I didn't go with all the news in the same location.
Now this give me a problem when I want the news on frontend, because the breadcrum and currentpage will always take the posistion where the node is located.
So as in the image above if I make a "news 1" in "Category 1" and I choose "Category 2" on the news then "news 1" will show in "Category 2" on frontend but the url and breadcrum will now be wrong when I press the news beacuse the real location is always in Category 1.
create the news articles directly under the archive folder then use a Dropdown Multiple property on the news article to assign categories to the article.
or:
if you need to have category pages you would include the MNTP on the category page but url of the actual news article would not contain a category name
News category structure
Hi Umbraco developers
Im creating a news section to my site but cant figure out the right way to structure it.
This is the structure I have made so far.
The requirements:
Now this give me a problem when I want the news on frontend, because the breadcrum and currentpage will always take the posistion where the node is located.
So as in the image above if I make a "news 1" in "Category 1" and I choose "Category 2" on the news then "news 1" will show in "Category 2" on frontend but the url and breadcrum will now be wrong when I press the news beacuse the real location is always in Category 1.
So the real url will be:
but I want this url when I choose the node
Hope it all make sense
so my question is how I achieve this.
Does the url need to have the category name in?
If not, i would either:
create the news articles directly under the archive folder then use a Dropdown Multiple property on the news article to assign categories to the article.
or:
if you need to have category pages you would include the MNTP on the category page but url of the actual news article would not contain a category name
is working on a reply...