Question
The TREEVIEW plugin does not display a tree when topic=%BASETOPIC% and that topic is INCLUDEd in another. How do I make it work?
More detailed explanation/example:
I want a tree at that top of each entry in my structured knowledgebase. The tree should show that topic and it's children (not the whole web). I would like to %INCLUDE% this for future maintenance/change of mind reasons so the %TREEVIEW{topic="%BASETOPIC%" stoplevel="3" formatting="imageoutline:thread"}% line is in a topic called
EntryHeader. The template for each entry uses this through %INCLUDE{"EntryHeader"}%.
The tree works when viewing
EntryHeader (%BASETOPIC% = %TOPIC%) and can see a child of that topic but the actual entry pages do not display a tree or even the %TREEVIEW% header. The %BASETOPIC% variable does print out on that page though so it must be a combination of factors.
We have just upgraded to version .311 which has the same behaviour.
Environment
--
RussellGallop - 26 Jul 2004
Answer