Thanks, Bob, that worked great.
So to end the conversation, always the contribution:
How to make a client(customer)-friendly dynamic sidebar:
packages needed:
getResource
getPage
1. create a container resource and name it Sidebar. check the Hide from menus option and save.
2. create the tpl chunk you will link to in getPage. the template is a content box for your sidebar. thus here i’m calling it tplSidebarBlock such as:
<div class="sidebar-box">
[[+content]]
</div>
*remember to use +content, as you’re pulling from the snippet, not from *content. if you do *content instead you will duplicate the displaying page’s content.
3. create a TV to house your getPage call (in this case I’m calling it sidebarBlock):
[[!getPage?
&elementClass=`modSnippet`
&element=`getResources`
&parents=`[[+sidebarFolder]]`
&depth=`2`
&limit=`10`
&pageVarKey=`page`
&includeTVs=`1`
&includeContent=`1`
&showHidden=`1`
&tpl=`tplSidebarBlock`
]]
4. fit the TV into the part of your template that the sidebar content goes (note the sidebarFolder should be the id of Sidebar):
<div class="sidebar">
[[*sidebarBlock? &sidebarFolder=`5`]]
</div>
5. create a resource under Sidebar with text you want to post in your sidebar.
et viola! Makes it so people who are going to be adding pages but know nothing about CMS systems can understand.
--ChrisM