Hello,
I have the following PHP variable :
$string = '<xen:h1>Demo</xen:h1>' ;
I would like to compile it using XenForo's core PHP functions, so I get the following result : "<h1>Demo</h1>".
It's exactly like XenForo's templates would do, but without using templates !
Any ideas ?
Allowing XenForo_Template_Compiler and XenForo_Template_Compiler_Admin to be extended would allow template code to be manipulated by add-ons.
To do this would require only a small modification to the code in compileAndInsertParsedTemplate and compileParsedAdminTemplate methods of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.