Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Creating a page which has children but display nothing itself

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

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

Page: 1
Go to End
Author Topic: 1405 Views
  • mschiefmaker
    Avatar
    Community Member
    187 Posts

    Creating a page which has children but display nothing itself Link to this post

    Hi
    I have a page at the top level that contains no detail but has children hanging off it. I want the menu button at the top level to go nowhere but the links on the sub menu to go off to the children.

    So do I create a "nopage" with somehow stop the link to it from working or is there is an equivalent of the redirector page that goes nowhere? Or is there a better way of looking at this?

    Thanks as always

    MM

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Creating a page which has children but display nothing itself Link to this post

    I actually asked this question a few months ago if I understand you correctly. I was building a site with a suckerfish like navigation, and needed the parent page to render with no link, just so when a user hovered over it, it would display the children.

    One of the developers suggested possibly doing some dirty hacks to disable the link on that specific page, but I can't find the topic after a search, nor did I ever use the suggestion. I just added in filler content as I figured it was easier.

    I'll keep trying to find it, but I have no idea how I worded the question.

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