• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

"Custom Templates" and <xen:include

Jeremy

Well-known member
#1
OK, so I am working on how to accomplish building a new "custom template" help option. Can I do a dynamic "<xen include=" or do I need to build the template via PHP and pass that along to my template?
 

Jeremy

Well-known member
#2
Bobster confirmed my suspicions that I needed to do it via PHP. I thought I read that <xen: syntax was converted at compile, but wasn't 100% sure.
 

Jaxel

Well-known member
#5
Oh... yeah... you can't do that... look at my portal mod, in /EWRporta/ViewPublic/Portal.php
Code:
$object = $this->createTemplateObject($template_name, $params);
 

Jeremy

Well-known member
#7
Oh... yeah... you can't do that... look at my portal mod, in /EWRporta/ViewPublic/Portal.php
Code:
$object = $this->createTemplateObject($template_name, $params);
Yep. :) I was hoping that I could be lazy and not use that.