<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>indoallcode - Latest Comments</title><link>http://indoallcode.disqus.com/</link><description>programing site</description><atom:link href="https://indoallcode.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 02 Jun 2015 13:59:16 -0000</lastBuildDate><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-2058449540</link><description>&lt;p&gt;hi you can follow this &lt;a href="http://stackoverflow.com/questions/11424958/how-to-split-character-in-twig-template" rel="nofollow noopener" target="_blank" title="http://stackoverflow.com/questions/11424958/how-to-split-character-in-twig-template"&gt;http://stackoverflow.com/qu...&lt;/a&gt;, look my answer.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">viyancs</dc:creator><pubDate>Tue, 02 Jun 2015 13:59:16 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-2056401163</link><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;i would like to add an custom filter to Twig_Fuel_Extension for example :&lt;/p&gt;&lt;p&gt;function addition_operation(a=0,b=0){&lt;/p&gt;&lt;p&gt;return a+ b;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;and in twig template : {{"1"|addition_operation(""2)}}&lt;/p&gt;&lt;p&gt;Please i need your help please it's urgent&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">med</dc:creator><pubDate>Mon, 01 Jun 2015 12:20:24 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-2056391353</link><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;add this line to  "app\config\parser.php" :&lt;/p&gt;&lt;p&gt;'include' =&amp;gt; VENDORPATH.'twig'.DS.'twig'.DS.'lib'.DS.'Twig'.DS.'Autoloader.php',&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">med</dc:creator><pubDate>Mon, 01 Jun 2015 12:14:40 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-1712310711</link><description>&lt;p&gt;that is the process to be legendary programmer FIND THE MISTAKE ... LOL&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">viyancs</dc:creator><pubDate>Tue, 25 Nov 2014 13:08:45 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-1712279113</link><description>&lt;p&gt;Hahah, I also got this simple but 'hard-to-find' mistake XD thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Albert Mulia Shintra</dc:creator><pubDate>Tue, 25 Nov 2014 12:51:54 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-1690854719</link><description>&lt;p&gt;Glad hear that, it work on you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">viyancs</dc:creator><pubDate>Thu, 13 Nov 2014 02:13:10 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-1690851732</link><description>&lt;p&gt;In fact it's OK ! I just realised that the always_load section of my config.php was still commented !&lt;br&gt;Now everything is OK !&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michel</dc:creator><pubDate>Thu, 13 Nov 2014 02:08:08 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-1690847256</link><description>&lt;p&gt;Thanks for reply. I didn't, so now I have added the Twig autoloader line. But it remains the same, Twig doesn't run.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michel</dc:creator><pubDate>Thu, 13 Nov 2014 02:00:36 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-1690648745</link><description>&lt;p&gt;have you already to load Twig autoloader ? on bootstrap.php here the part of code&lt;/p&gt;&lt;p&gt;Autoloader::add_classes(array(&lt;/p&gt;&lt;p&gt;	// Add classes you want to override here&lt;/p&gt;&lt;p&gt;	// Example: 'View' =&amp;gt; APPPATH.'classes/view.php',&lt;/p&gt;&lt;p&gt;        'Twig_Autoloader' =&amp;gt; APPPATH.'vendor/Twig/Autoloader.php',  // Twig autoloader Custom&lt;/p&gt;&lt;p&gt;        'Twig_Fuel_Extension' =&amp;gt; APPPATH.'classes/twig/fuel/extension.php',  // Twig Extension Custom&lt;/p&gt;&lt;p&gt;));&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">viyancs</dc:creator><pubDate>Wed, 12 Nov 2014 21:56:39 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-1690336543</link><description>&lt;p&gt;Thanks for this tuto.&lt;br&gt;I have installed FuelPHP 1.7 and then Twig using Composer.&lt;br&gt;I try to use a test view on the  default Welcome controller :&lt;br&gt;	public function action_test()&lt;br&gt;	{&lt;br&gt;		$data = array();&lt;br&gt;        $data['title'] = "I am cool right ? :)";&lt;br&gt;        $data['body'] = 'Yes, Because The script is Running :)';&lt;br&gt;		return Response::forge(View::forge('welcome/test.twig',$data));&lt;br&gt;}&lt;/p&gt;&lt;p&gt;I did create the same test.twig than yours in fuel/app/views/welcome/test.twig&lt;/p&gt;&lt;p&gt;When I try to run my test page, i get this error message (see print screen attached) :&lt;br&gt;Fuel\Core\FuelException [ Error ]:&lt;br&gt;The requested view could not be found: welcome/test.twig&lt;/p&gt;&lt;p&gt;In fact it seems that Twig is not running properly and file test.twig.php is fetched. If I rename test.twig in test.twig.php, no more error but the view displays : {{ body }}&lt;/p&gt;&lt;p&gt;Thanks for your help !&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michel</dc:creator><pubDate>Wed, 12 Nov 2014 17:19:35 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-891571361</link><description>&lt;p&gt;thanks for share this is what I am looking for&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrea</dc:creator><pubDate>Thu, 09 May 2013 22:23:24 -0000</pubDate></item><item><title>Re: Custom Oil on FUELPHP</title><link>http://indoallcode.com/custom-oil-on-fuelphp#comment-872127654</link><description>&lt;p&gt;It was really nice idea, simple and clean and thanks for your suggestion I am recommended this style to load oil classes. :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">viyancs</dc:creator><pubDate>Mon, 22 Apr 2013 07:16:19 -0000</pubDate></item><item><title>Re: Custom Oil on FUELPHP</title><link>http://indoallcode.com/custom-oil-on-fuelphp#comment-872118192</link><description>&lt;p&gt;Hi viyancs,&lt;/p&gt;&lt;p&gt;Thanks for this guide. I've done the same but in a custom package to maintain clear the app classes folder.&lt;/p&gt;&lt;p&gt;Step 1&lt;br&gt;Duplicate /fuel/packages/oil to /fuel/packages/custom_oil&lt;/p&gt;&lt;p&gt;Step 2&lt;br&gt;Make your code customizations (templates, controller...)&lt;/p&gt;&lt;p&gt;Step 3&lt;br&gt;Edit oil file in the project root, change:&lt;br&gt;&lt;code&gt;&lt;br&gt;//Package::load('oil');&lt;br&gt;Package::load('custom_oil');&lt;br&gt;&lt;/code&gt;&lt;br&gt;That's all, the OIL now is working from your custom package under the Oil Namespace.&lt;/p&gt;&lt;p&gt;Regards,&lt;br&gt;Hans van der Bruc&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hans van der Bruc</dc:creator><pubDate>Mon, 22 Apr 2013 06:54:37 -0000</pubDate></item><item><title>Re: Express JS using Bootstrap Twitter</title><link>http://indoallcode.com/express-js-using-bootstrap-twitter#comment-811342303</link><description>&lt;p&gt;thanks for your feedback, i just miss configure of code highlight .&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">viyancs</dc:creator><pubDate>Mon, 25 Feb 2013 00:26:58 -0000</pubDate></item><item><title>Re: Express JS using Bootstrap Twitter</title><link>http://indoallcode.com/express-js-using-bootstrap-twitter#comment-810763329</link><description>&lt;p&gt;Hi, could you please fix the source doce in the boxes? It's full of "&amp;amp; gt" "&amp;amp; lt" "&amp;amp; amp" etc... if someone copy-paste the code he has to manually convert everything before being able to use it and it's also more difficoult to read. Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrea Grandi</dc:creator><pubDate>Sun, 24 Feb 2013 11:31:31 -0000</pubDate></item><item><title>Re: Custom Controller Template Of Oil on fuelphp</title><link>http://indoallcode.com/custom-controller-template-of-oil-on-fuelphp#comment-768111563</link><description>&lt;p&gt;did you setup Pagination::set_config($config); ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">viyancs</dc:creator><pubDate>Mon, 14 Jan 2013 21:56:03 -0000</pubDate></item><item><title>Re: Custom Controller Template Of Oil on fuelphp</title><link>http://indoallcode.com/custom-controller-template-of-oil-on-fuelphp#comment-768058773</link><description>&lt;p&gt;nice article, i get this error when test my app &lt;br&gt;ErrorException [ Error ]: Access to undeclared static property: Fuel\Core\Pagination::$offset&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">achmadtunggulaji</dc:creator><pubDate>Mon, 14 Jan 2013 21:02:38 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-768026943</link><description>&lt;p&gt;sorry , my false&lt;br&gt;i should copy lib folder of twig not all of zipped folder&lt;/p&gt;&lt;p&gt;thanks....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">achmadtunggulaji</dc:creator><pubDate>Mon, 14 Jan 2013 20:32:54 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-768009149</link><description>&lt;p&gt;thanks....nice article&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">achmadtunggulaji</dc:creator><pubDate>Mon, 14 Jan 2013 20:15:03 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-768007169</link><description>&lt;p&gt;thanks for helping, i am new in fuel and twig, after change my code i get error "Fatal error: Parser\View::forge(): Failed opening required 'baseprojectfolder\fuel\app\vendor\Twig\Autoloader.php'"&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">achmadtunggulaji</dc:creator><pubDate>Mon, 14 Jan 2013 20:12:49 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-767069136</link><description>&lt;p&gt;you use "ViewModel" , that is will be reference to "fuel/app/view" &lt;br&gt;make sure you use only "View::forge"&lt;br&gt;return Response::forge(View::forge('welcome/test.twig',$data));&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">viyancs</dc:creator><pubDate>Mon, 14 Jan 2013 04:35:49 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-767064989</link><description>&lt;p&gt;version 1.3 , and I think it's can work with another version.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">viyancs</dc:creator><pubDate>Mon, 14 Jan 2013 04:30:51 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-766943224</link><description>&lt;p&gt;i try this tutorial twice and found this error &lt;br&gt;OutOfBoundsException [ Error ]: ViewModel "View_Welcome_test" could not be found&lt;br&gt;am i missing something?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">achmadtunggulaji</dc:creator><pubDate>Mon, 14 Jan 2013 02:05:17 -0000</pubDate></item><item><title>Re: Install Twig on FuelPHP</title><link>http://indoallcode.com/install-twig-on-fuelphp#comment-766929914</link><description>&lt;p&gt;which version of fuel that match with this tutorial?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">achmadtunggulaji</dc:creator><pubDate>Mon, 14 Jan 2013 01:49:30 -0000</pubDate></item><item><title>Re: Request Article</title><link>http://indoallcode.com/request-article#comment-713611884</link><description>&lt;p&gt;i'm sorry for late response , but your problem is solved congratulation...:)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">viyancs</dc:creator><pubDate>Sun, 18 Nov 2012 23:58:31 -0000</pubDate></item></channel></rss>