Jump to:

22977 Posts in 11722 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Point main menu item to sub-menu item (solved)

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 3552 Views
  • prawnstar
    Avatar
    Community Member
    116 Posts

    Point main menu item to sub-menu item (solved) Link to this post

    Just wondering if there's a way to point a Menu(1) item to a Menu(2) item?

    I tried the virtual page type, but it won't actually point to a sub page, and it takes on the sub-title.

    I tried to leave it as a basic page type and change the url, but because it's a sub-page I cant use slashes in the url, they get changed to dashes.

    Any idea?

    Chris.b

  • TotalNet
    Avatar
    Community Member
    181 Posts

    Re: Point main menu item to sub-menu item (solved) Link to this post

    Have you tried creating a redirector page?

  • prawnstar
    Avatar
    Community Member
    116 Posts

    Re: Point main menu item to sub-menu item (solved) Link to this post

    Thanks TotalNet.

    My preference would be to keep it to the cms, but if that's the only way, I can live with that.

    Thanks!
    Chris.b

  • TotalNet
    Avatar
    Community Member
    181 Posts

    Re: Point main menu item to sub-menu item (solved) Link to this post

    No Problem but I'm not sure what you mean.

    A redirector page is a standard page type you can use in the cms just like a virtual page. That way you can add a menu "link" to a sub-page wherever you like. I think that's what you're trying to do.

  • prawnstar
    Avatar
    Community Member
    116 Posts

    Re: Point main menu item to sub-menu item (solved) Link to this post

    Doh!

    I took your first answer to mean a 301 redirect in the template. But now I see the redirect page in the cms. I guess I totally missed that before.
    Thanks a ton!

    Chris.b

    3552 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.