I 'believe' that parse and include require a path to the template root. i.e.
/screens/ParentHome.vm should work. Gareth > -----Original Message----- > From: Brian French [mailto:[EMAIL PROTECTED]] > Sent: 25 March 2002 16:37 > To: Turbine Users List > Subject: #parse question > > > hey, > > i'm using velocity w/ turbine and i'm trying to set it up where i > can multiple domains off of 1 set of templates (much easier to > manage). here's my prob. > > #set ($domain = $someTool.Domain) > > #if($domain == "mydomain") > #parse("/ParentHome.vm") > #else > #parse("ChildHome.vm") > #end > > in the velocity log, #parse can't seem to find the templates. > this code is in Default.vm and all of them are in the screens directory. > > thanx > Brian French > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
