Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Davide Bellini
Discussions
31
Comments
131
Activity
Possibile Inflector::friendly_title bug ?
I've changed Inflector::friendly_title() function ( not commited yet ) : http://scrp.at/4b Someone have any suggestion or can help me to add other tests? Cheers
Comment by
Davide Bellini
June 2011
permalink
PHamlP Integration?
Evan Tishuk wrote on Wednesday 15th of June 2011: However, there's a debate in my office regarding how best to integrate with Parser. Should it remain as I describe above, or should a stand-alone Jade package be created that extends Parser?…
Comment by
Davide Bellini
June 2011
permalink
Idea: maintenance flag file
I'm agree with WanWizard. This is an application level feature ... you can store this option in a Db table with a maintenance page layout ( using something like WYSIWIG editor from and admin panel ) and then check this value on every page load…
Comment by
Davide Bellini
June 2011
permalink
Parser problem with View location hardcoding
It works!! Thank you WanWizard!!!!!!
Comment by
Davide Bellini
June 2011
permalink
Parser problem with View location hardcoding
There's a lot of confusing ... my fault, sorry. I've updated file names for testing and now update you for new skeleton. Skeleton : app ... - modules - plugins - classes - controller - plugin1.php …
Comment by
Davide Bellini
June 2011
permalink
Parser problem with View location hardcoding
Ooops, I'm missed to specify that I called : // View call with location hardcoding $view = \View::factory(strtolower(__NAMESPACE__) . '::test'); .... return $view->render(); from module. In controller I specify : $widget = Event…
Comment by
Davide Bellini
June 2011
permalink
PHamlP Integration?
Take a look on Parser documentation : "While many other drivers are included, their libraries are not and are by default expected in app/vendor/lib_name (capitalize lib_name), you'll have to download them yourself" So, jade library …
Comment by
Davide Bellini
June 2011
permalink
PHamlP Integration?
I noticed this problem ( SimpleTags loop ) too ... Please open an Issue on GitHub ( https://github.com/fuel/parser/issues ) ... and after that download the last version on parser package ( I've commited 15 minutes ago )
Comment by
Davide Bellini
June 2011
permalink
PHamlP Integration?
Parser config : ... 'View_SimpleTags' => array( 'include' => PKGPATH . 'parser' . DS . 'vendor' . DS . 'simpletags.php', 'delimiters' => array(''), '…
Comment by
Davide Bellini
June 2011
permalink
PHamlP Integration?
I'm working on Parser library for testing, better documentation, vendor folder name standards and a more complete configuration. Also fixing some problems with View::factory('module::viewname') method introduced in RC3. Keep us updat…
Comment by
Davide Bellini
June 2011
permalink
Module loading
It works!!! Sorry WanWizard but, for testing, I have tried to downgrade on RC 2.1, now with RC 3 is ok. Thank you!!!!
Comment by
Davide Bellini
May 2011
permalink
Module loading
Thank you for your support WanWizard, but your suggestion it doesn't work ... there's any other method to hardcode location? ( I didn't know that I could write "namespace::view_name" in factory function ) The "Event&…
Comment by
Davide Bellini
May 2011
permalink
Module loading
I have the same problem using Event class. How can I render a View calling a function with an Event::register() ?? I cannot use Request::factory() right? Example :
Comment by
Davide Bellini
May 2011
permalink
JSON format Bug?
Ok thank you Jelmer, nice as always. Sorry for my error...
Comment by
Davide Bellini
June 2011
permalink
How to remove folder and index.php from URL path
In "config/config.php" set 'index_file' configuration to false
Comment by
Davide Bellini
May 2011
permalink
Problem when logged in multiple browsers
Doh!! Ok thank you Jelmer
Comment by
Davide Bellini
May 2011
permalink
Calling a View Function
In a model :
Comment by
Davide Bellini
May 2011
permalink
Calling a View Function
Sure http://fuelphp.com/docs/general/models.html
Comment by
Davide Bellini
May 2011
permalink
REST Client
Thank you WanWizard, but I want a REST Client, not a REST Server to call, for example, Google Analytics with something like curl. There's a way to do this using Fuel classes or I have to use curl? Sorry if I haven't explained well
Comment by
Davide Bellini
May 2011
permalink
Calling a View Function
Exactly ... or, if you want, call controller function directly from view with : but Huzzi method is more elegant
Comment by
Davide Bellini
May 2011
permalink
Asset class
Why you don't put : Asset::js('jquery.imgareaselect.min.js'); in a view behind code?
Comment by
Davide Bellini
May 2011
permalink
Twig
If you use the last version of Fuel ( in development branch ) there are no errors. Tomorrow I have to work on some problems with Twig integration in Fuel Parser (template inheritance and template exceptions handler) ... after that I can share my co…
Comment by
Davide Bellini
May 2011
permalink
Dynamic Modules load and info retrieve
Less code : foreach (array_keys(\File::read_dir(APPPATH . '..' . DS . 'plugins' . DS, 1)) as $plugin) { \Fuel::add_module($plugin); $plugins_info[$plugin] = call_user_func("\\$plugin\\controller_$plugin…
Comment by
Davide Bellini
May 2011
permalink
Dynamic Modules load and info retrieve
Ok, thank you guys! now I've changed previous call with call_user_func($plugin_inst.'::info'); suggested by Jelmer. @frank : The doubt on my code was on : $plugin_inst = "\\$plugin_name\\controller_$plugin_name"; For &…
Comment by
Davide Bellini
May 2011
permalink
Parser library doesn't find view
I've upgraded fuel core with WanWizard changes but I have the same error The problem with Asset class is offtopic, I provide to report the problem on core Git issue tracker. Thank you for your support Jelmer!!
Comment by
Davide Bellini
May 2011
permalink
More Comments
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
About
Username
Davide Bellini
Joined
April 2011
Visits
4
Last Active
December 2012
Roles
Member