Including an external file within template

XN-Matt

Member
Licensed customer
Just for a private forum template... is there a way to include an external file from another webserver to parse within the template.

Also, is there a way to run php commands such as date within the template?
 
Just for a private forum template... is there a way to include an external file from another webserver to parse within the template.

Also, is there a way to run php commands such as date within the template?
Date processing is handled via the <xen:datetime time="$unixtime"> and {xen:datetime $unixtime} constructs.

There is currently no way to include an external file in a template unless you write code to do so in a view class.
 
As there isn't much about that around, what if you only want to pull the current year?
 
You could either do that with javascript in the templates, or you'd need to write some controller code to output it into the $viewParams array passed to the view.
 
Back
Top Bottom