Thanks, Will, but I don't want to change all #includes and #parses. I am looking for a way to simply specify which one I want in the template itself, without changing the whole behavior of the engine. I take it that's not possible?

Will Glass-Husain wrote:
Hi,

You can change the #include and #parse behavior with an
IncludeEventHandler.  Specifically, you can use the
IncludeRelativePath event handler to cause #include to be relative to
the template's current directory.

WILL

On Mon, Mar 16, 2009 at 6:52 AM, Steve Cohen <[email protected]> wrote:
Are only explicit references allowed?  Is there a way to search for a
reference in (or relative to) the directory where the current template
lives?  I've found that #parse("template_in_same_directory.vm") doesn't
work.  Does #parse("./template_in_same_directory.vm") work?  Must all
such references include the full path back to the same directory?

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to