Question

Photo of Keith Pavia

0

Adding Pages

I have added a new sub-page to an existing page, but there does not seem to be a way to get to it from the menus.  I can get to it by going to child pages, but not through the normal veiw.

Also, what is the best way to add a location information and a map to a location page?  I thought that this was a built in feature.

Thanks!

  • Keith Pavia

    Has anyone had any luck adding pages and getting them to show up on the navigation menu? I would have thought that it would happen automatically.

  • Photo of Jim Michael

    0

    This is getting out of my current knowledge of how Rock works, but if you look at the page map you will see that nagivation (on the external site) that have sub-menus have a subnav:PageMenu block on them, whereas the "New Here?" item does not. That's what's giving some of the pages menus, so you'll need to add/configure a subnav:PageMenu block on the New Here? page to give it a sub-menu as well.

     

    • Keith Pavia

      Yeah, unfortunately I think that is related to the navigation on that page. You see how the "Connect" page has several child pages? So, when I am on any page, and I mouse over "Connect" in the TOP NAV bar, why don't I see a submenu listing ALL of those same child pages? Surely, someone has to know if that is possible. If not I'll move on ;-)

    • Nick Airdo

      Jim's answer is correct. If you want a sub menu on your "New Here?" page then you'll have to add the SubNav block to that page and configure it similarly (i.e., the Template block setting should be set to some appropriate Liquid syntax such as {% include 'PageSubNav' %})

    • Jim Michael

      Thanks for the confirm, Nick! But I think Keith is ALSO asking why the menu on the external site doesn't "drop down" showing the child menus like a typical site would... and (correct me if I'm wrong), I think it's simply because the theme used for the external site does not implement the Liquid PageNav in the same way that the Internal Site's theme does. The external site's menu is just not implemented as a drop down. Should be pretty simple to compare the _PageNav.liquid and _PageSubNav.liquid files between the Rock and Stark themes to determine how they're doing it, Keith.

  • Photo of Jim Michael

    1

    Keith-

    I have not had any problem adding my own page to a menu:

    To get the "Jim's Junk" page to show up under Admin Tools | Rock Settings I simply set the Parent Page of my Jim's Junk page to the desired location:

    Did you set the parent page of your new page appropriately? If the answer is "yes" then I'd have to guess that you have some sort of caching issue... maybe do a cache refresh?

     

    • Keith Pavia

      Thank you for your comment. I can add the page as a child page to the Rock Settings page as you have, and I can see it on the nav menu; however, I cannot get the page to show up on the External Website nav menu. Is it supposed to? I read the manual and did not see this info anywhere.

  • Photo of Jim Michael

    0

    Keith-

    It would only show up on the external website menu if you make one of THOSE pages its parent. Using my Jim's Junk example page:

    Puts my Jim's junk page on the external web site main menu like so:

    Likewise, if I make the parent of my page one of the existing menus on the exernal site, it shows up within as expected

    Are you "parenting" your new subpage under one of the external website pages/menus? Perhaps I'm not exactly understanding what you're trying to accomplish?

    • Keith Pavia

      Sorry... Yes I can do what you did to the main nav menu. What I did was add a new page under the "New Here?" page. Once I did that, I assumed that when I mouse over "New Here?", that a dropdown would appear with the new page.
      So I guess I am wondering if the main navigation bar is suppose to dynamically update with you add child/sub pages.
      I hope that makes more sense.