Copied to clipboard

Flag this post as spam?

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


  • Toine 6 posts 47 karma points
    Jul 01, 2013 @ 19:21
    Toine
    0

    How to create a (parent) page (without content), that opens the first child page

    Just a noob question how to solve a problem.

    I want to create a page structure within a existing webpage.The wanted structure is like:
    - WebPage
    - Page1
    - Seasons
    - Winter
    - Summer
    - Fall
    - Spring
    - Page3 ....

    But the page Seasons does not have any content, and when clicked in the meanu it needs to open the first child (Winter). The child nodes Winter, Summer, Fall, Spring are in a sub menu (only shown when a Seasons page is opened.

    My question is how do I solve this, templates, usercontrols, update panels ???
    This is my first week with Umbraco, I hope someone can help me.

     

  • Andrew 47 posts 105 karma points
    Jul 01, 2013 @ 20:02
    Andrew
    0

    should be able to with templates. Let me try something and get back to you

  • Toine 6 posts 47 karma points
    Jul 02, 2013 @ 18:24
    Toine
    0

    Great, I hope you find something.

  • Claushingebjerg 939 posts 2574 karma points
    Jul 04, 2013 @ 16:17
    Claushingebjerg
    100

    Or you could use umbracoRedirect


    1. Add a content picker to your document type and call it "umbracoRedirect"

    2. On the "seasons" page select "winter" in the content picker you added. That should work.

     

    Be aware this is a 302 redirect.

    http://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracoredirect

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Jul 04, 2013 @ 16:21
    David Brendel
    0

    Or you could use umbracoInternalRedirectId which is an transparent redirect. So the redirect isn't reflected by the url.

    You can implement this like the umbracoRedirect.

  • Toine 6 posts 47 karma points
    Jul 05, 2013 @ 11:15
    Toine
    0

    Great, both options worked fine! 

    Thanks Claushingebjerg and David

  • Claushingebjerg 939 posts 2574 karma points
    Jul 05, 2013 @ 11:21
    Claushingebjerg
    0

    Please mark as solved.

Please Sign in or register to post replies

Write your reply to:

Draft