I'm trying to create a context_bar that works for a tree of directories containing static files in a subsite. The static files were html files that have been converted to adp files by removing the head stuff and body tags, and adding:
<master>
<property name="title">@title@</property>
<property name="context">@context@</property>
I've managed to get the first layer working by putting the following in the matching .tcl file:
set title "static file's title"
set context [list [list "/subsite/dir1/" "Directory One"] $title
But, this doesn't work if I try to extend context with:
set context [list [list "/subsite/dir1/" "Directory One"] [list "/subsite/dir1/subdir1/" "SubDirectory of One"] $title]
I'm trying variations of ad_context_bar, ad_context_bar_html and ad_context_bar_multirow to pass as @context@ to the standard 5.x templating without success.
What needs to go into the tcl complement of the static adp page to get a reasonable context bar to show?
Torben