asp.net - Create Folder Structure to Organize Content in Umbraco -
i have many pages in content section of umbraco of pages organize departmental reference not hierarchical site reference. example, pages might a, b, c, d ... z on website on backend have various teams need content grouped together. i.e. team 1 folder has a-g in it. team 2 folder has h-q. team 3 has r-z in it. how can achieved instead of seeing content on root of content page see these 3 team folders?
you have carefull in achieving this. when create new nodes under home root node, eg new pages or folders, referenced url.
so if have page called a, accessed using url http://www.example.com/a. when create folders organize pages , place page a under hq, page accessed http://www.example.com/hq/a.
after can use url rewriting rules avaid these folders indications in url messed if have many pages.
i suggest if don't want see these folder indications in url, add nodes under home node , using permission allow/disallow departments nodes.
if don't care folder indications in url, let me know edit answer solution achieve this.
edit
how add folder structure in content nodes.
step 1
create new document type called content folder.
- go
settings>document types> click on 3 dots >create. - give name
content folder. - as icon select folder icon
- add new property
redirectaliasumbracoredirecttypecontent picker - save changes
the builtin property
umbracoredirectused redirect 1 node using id. each folder set property first child page.
step 2
allow child node types in folder.
- go structure tab of
content folderproperty - check child types want allow under folder
- save changes
step 3
allow folder under root home node.
- go structure tab of
homeroot property - check
contentfoldertype allow child - save changes
step 4
add folder structure , add pages.
- go content
- add new folder under root node of type
content folder - give name
hq - add new page called
athat's allowed under folder - in
hqsetredirectproperty firstapage - do folders , pages
- save changes , publish
and thats it!
Comments
Post a Comment