compiler

  1. Jean-Baptiste

    Compile template via PHP

    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 ?
  2. Jon W

    Not planned Allow compiler to be extended by load_class code event listener

    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...
Back
Top Bottom