Copied to clipboard

Flag this post as spam?

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


  • Craig O'Mahony 364 posts 918 karma points
    Oct 16, 2014 @ 12:32
    Craig O'Mahony
    0

    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

  • Damian Green 452 posts 1433 karma points
    Oct 16, 2014 @ 12:38
    Damian Green
    100

    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

  • Craig O'Mahony 364 posts 918 karma points
    Oct 16, 2014 @ 12:42
    Craig O'Mahony
    0

    Well I never knew it did that!

    Mystery solved! Top man

  • Damian Green 452 posts 1433 karma points
    Oct 16, 2014 @ 12:48
    Damian Green
    0

    Good stuff! Glad i could help.

    :)

    Damian

  • Damian Green 452 posts 1433 karma points
    Oct 16, 2014 @ 12:50
    Damian Green
    0

    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.

  • Craig O'Mahony 364 posts 918 karma points
    Oct 16, 2014 @ 12:55
    Craig O'Mahony
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft