"Custom Templates" and <xen:include

Jeremy

in memoriam 1991-2020
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?
 
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.
 
Oh... yeah... you can't do that... look at my portal mod, in /EWRporta/ViewPublic/Portal.php
Code:
$object = $this->createTemplateObject($template_name, $params);
 
  • Like
Reactions: Bob
Oh... yeah... you can't do that... look at my portal mod, in /EWRporta/ViewPublic/Portal.php
Code:
$object = $this->createTemplateObject($template_name, $params);

Checking it out now :D Thanks Bro!
 
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.
 
Top Bottom