Embed sub-nav in theme
PermalinkI want to do the same thing with a sub nav that appears on every page, which shows all the pages that exist under the level one page that's currently selected. I can't figure out how to set up the sub nav so that this works. I suspect that it can't be done this way as a scrapbook block.
Any ideas?
Unfortunately there is a kinda-sorta bug in the current version of Concrete5 that tricks the autonav block into thinking that "below this page" means below the page that the block was originally placed on (which in this case is the dashboard scrapbook page) as opposed to below the page currently being viewed. It will be fixed in the next release of C5, but in the meantime you can put the update in your current site (assuming you're using Concrete version 5.4.1.1) -- go to this page:
https://raw.github.com/concrete5/concrete5/master/web/concrete/blocks/autonav/controller.php
...and "Save As" (make sure it saves as "controller.php"). Then put that file up on your server here:
YOURSITE/concrete/blocks/autonav/
(it will be replacing the file that's already there).
-Jordan
This code example will help you too:
Sorry i'm late can't help you further today.