Forum OpenACS Q&A: Include Templates
The Problem is i want to have a component serving the table of contents of a book. I am using the following files:
if the component is included via another adp file there should be no header, footer and so on. But if the file is invoked directly the header should be displayed.
one option would be to pass parameters like display_mode = ( full | inline ) but the calling adp file could have this parameter set as well.
This causes problems: the does anybody have a good solution for something like that ?
does anybody have a good solution for something like that ?
set include_level [llength $parse_level]
should work well.