Basically I've got 3 'pages' (courses.aspx, conferences.aspx and webinars.aspx) that all resolve in browsers i.e. www.mysite.com/courses.aspx etc. But I cannot find these pages in the content tree (I didn't build this site but I've been asked to maintain it).
There is no document type for these pages (they don't need one) but there are templates.
But I simply cannot find them in the content, they should be at the level underneth the home node. Has anyone ever seen this sort of 'thing' before and could anyone shed any light?
It sounds like you are accessing them via the template alias.
In Umbraco if you have a template called Courses if you do domain.com/courses (or courses.aspx with file extensions in your case) it will route to the template if there is no content on that url.
Also - im not 100% sure if it does this in v7 or not..? Never tried it as i moved away from the technique because you are snookered if you want to add pages like these to sitemaps etc automatically - as they are not actually content.
Also lose the ability to use the content tree for managing content of the page, permissions etc.
Yeah, it's not a route that I'd go down myself for the reasons that you've stated above. The only real benefit that I can see if that a user couldn't delete the 'page' by accident as it isn't in the tree for selection in the first place. So I guess for purely programmatic pages (which these are) that could be of benefit but I personally think that the cons far outweigh the pros.
Content not in content tree (!)
Hi all,
Got a very weird problem here....
Basically I've got 3 'pages' (courses.aspx, conferences.aspx and webinars.aspx) that all resolve in browsers i.e. www.mysite.com/courses.aspx etc. But I cannot find these pages in the content tree (I didn't build this site but I've been asked to maintain it).
There is no document type for these pages (they don't need one) but there are templates.
But I simply cannot find them in the content, they should be at the level underneth the home node. Has anyone ever seen this sort of 'thing' before and could anyone shed any light?
Utterly stumped!
Craig
Hi Craig,
It sounds like you are accessing them via the template alias.
In Umbraco if you have a template called Courses if you do domain.com/courses (or courses.aspx with file extensions in your case) it will route to the template if there is no content on that url.
Damian
Well I never knew it did that!
Mystery solved! Top man
Good stuff! Glad i could help.
:)
Damian
Also - im not 100% sure if it does this in v7 or not..? Never tried it as i moved away from the technique because you are snookered if you want to add pages like these to sitemaps etc automatically - as they are not actually content.
Also lose the ability to use the content tree for managing content of the page, permissions etc.
Yeah, it's not a route that I'd go down myself for the reasons that you've stated above. The only real benefit that I can see if that a user couldn't delete the 'page' by accident as it isn't in the tree for selection in the first place. So I guess for purely programmatic pages (which these are) that could be of benefit but I personally think that the cons far outweigh the pros.
is working on a reply...