raintpl3
raintpl3 copied to clipboard
The easiest Template Engine for PHP
Hello. I'm trying to upgrade my project to use Composer, and updated from RainTPL 2.7 to 3.1. I had a line in my HTML Template: `{$requirejs_main='//cdn.my-project.com/assets/js/jquery.js'}` When RainTPL renders it...
Hello. RainTPL just stopped working with include tags. So I fixed the problem and added new option "include_path" that will allow searching for template to include in many diffirent paths....
RainTPL 2 parsed {'d-m-Y'|date:$timestamp}. This is a simple workaround for date ($format, $timestamp), as RainTPL modifiers always uses the initial value as first method argument. Now, RainTPL 3 does not...
Hello i have the function permalink and i want to call this like the following example example a href="{permalink:(1)}">link /a or a href="{$permalink:(1)}">link /a it is possible? ``` PHP function...
If i use multiple template directories according to your documentation, i get an "array to string conversion" error. ``` $config = array( . . 'tpl_dir' => array( 'app/views/', ), ....
Hello guys, i am developing a project with some friends. Im the only one who works on a Linux (Ubuntu 13.04) Machine. My friends all work on their Windows PCs....
I think there is a problem with the parser: This tpl code: ``` ``` Was parsed as this: ```
patch for issue #160 already tested
hey everybody how can i convert variable coming from database ?
1. sorry... missed that. The context need to be created before. See if you agree with the changes (no $html var). 2. now it has the lessPHP to work with...