Is there a way to determine if a template has been called by ^include()^ or not?
I have the following section in one of my templates and don’t want to export it if the template is called from within another template.
^if($MyHeader!=$MyHeader(prevSibling) & $NotCalledFromIncludeBoolean==True)^
- Attribute $NotCalledFromIncludeBoolean is just an example
The FullPath for the Template is: /Templates/Main/Element
When I use the Include I only want do show contents of “Element” without the header as above.