CodeIgniter Simple and Secure Twig - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7) +--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13) +--- Thread: CodeIgniter Simple and Secure Twig (/showthread.php?tid=61849) |
RE: CodeIgniter Simple and Secure Twig - Renatogarou - 10-01-2015 Kenjis thank you guy, your pack is amazing and made twig and codeigniter work naturaly. I looking for something like this for a long time. Again, thank you so much. RE: CodeIgniter Simple and Secure Twig - Renatogarou - 10-04-2015 Kenjis, how can I get the output without display the content? I want take a template to send email? Sorry if I was clear. RE: CodeIgniter Simple and Secure Twig - kenjis - 10-04-2015 No problem. But there is no method. I'll add it. RE: CodeIgniter Simple and Secure Twig - kenjis - 10-04-2015 Sorry, guys. I'm going to change method name from `render()` to `display()`. This is BC break. RE: CodeIgniter Simple and Secure Twig - kenjis - 10-05-2015 I have changed API. See https://github.com/kenjis/codeigniter-ss-twig#usage Replace `$this->twig->render` with `$this->twig->display` for existing code. RE: CodeIgniter Simple and Secure Twig - Renatogarou - 10-07-2015 Kenjis you are the most awesome developer in the world (maybe in the codeigniter twig world), thank you so much. I'll keep the project as it is, but I'll use this method on future project of course. RE: CodeIgniter Simple and Secure Twig - mukitti - 10-22-2015 (05-24-2015, 07:06 PM)kenjis Wrote: Hi, I built A Simple and Secure Twig integration for CodeIgniter 3.0.How can I use CI session in Twig template? RE: CodeIgniter Simple and Secure Twig - kenjis - 10-22-2015 (10-22-2015, 04:19 PM)mukitti Wrote: How can I use CI session in Twig template? Session variables are variables. So it can be used in the same way as other variables. In controller: PHP Code: $this->load->library('session'); In twig file: PHP Code: {{ session.test }} RE: CodeIgniter Simple and Secure Twig - kenjis - 11-08-2015 According to some feedbacks, I added a few APIs: https://github.com/kenjis/codeigniter-ss-twig#usage RE: CodeIgniter Simple and Secure Twig - kenjis - 11-16-2015 I've just released v0.1.0: https://github.com/kenjis/codeigniter-ss-twig/releases Usage: https://github.com/kenjis/codeigniter-ss-twig#usage Thank you for your guys feedback until now. |