kinyelo / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
1 stars 2 forks source link

Add Cookbook tutorial for changing sidebar menus for each section #395

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Originally, it was brute force with a different template for each section. 
We're in the middle of switching over to using page attributes to include 
different menus for different sections. So the is a page attribute "sidebar", 
which is set at the root, and then at the parent for each page section. Sidebar 
indicates another content entry to include for the menu code. 

</div>
$service.findContent($page.attribute.sidebar)
<div ...

Original issue reported on code.google.com by ted.husted on 17 Dec 2010 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by ted.husted on 26 Dec 2010 at 2:22