Jump to:

17488 Posts in 4473 Topics by 1978 members

Archive

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

Our old forums are still available as a read-only archive.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo

Page: 1
Go to End
Author Topic: 2496 Views
  • prawnstar
    Avatar
    Community Member
    108 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
    108 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
    108 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

    2496 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.