Long time away, so apologies in advance if this is posted in the wrong place, question is too vague, etc. It'll take a while to get in the swing of things ...
I am working on a site using a CMSmadesimple. I would like to have an image in the sidebar (part of the main template file) which is the same image for each page within the same 'parent' group of menu options, i.e. the image is representative of the group of sub-menu options. I will have a different image for each other group of menu options.
Looking at the template_vars, it appears that 'position' is the variable I need, but I can't figure out how to abstract it and use it in a bit of script to display the correct image. Unfortunately, the Smarty documentation is not as idiot-friendly as I need to help myself.
All suggestions appreciated.