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
Conditional Assets best practices
Or you can use a more complex/powerful asset package like "Assetic" : https://github.com/fuel/assetic
Comment by
Davide Bellini
August 2011
permalink
redirect problems
You can create an admin.php file in app/classes/controller and write : class Controller_Admin extends Controller { .... public function action_index() { ... } ... } In config/routes.php add : 'admin' =…
Comment by
Davide Bellini
August 2011
permalink
Get fieldset inputs array
This can be helpful on form design in a view, anyone can help me?
Comment by
Davide Bellini
July 2011
permalink
Download using header
You can find this function in fuel/docs on Github ( develop branch ) : https://github.com/fuel/docs/tree/develop
Comment by
Davide Bellini
July 2011
permalink
Download using header
I can suggest you to upgrade to RC3 and use File::download()
Comment by
Davide Bellini
July 2011
permalink
How to call user find classes functions on fuelphp?
Check docs : http://fuelphp.com/docs/general/controllers/base.html Only 1 level of subdirectories is currently supported. You can create Book class in "app/classes/book.php" and then you can call a function like \Book::my_function()
Comment by
Davide Bellini
July 2011
permalink
Variables through functions, the Fuel way
In Fuel you can set a template variable in a controller with : $view = \View::factory('view_name'); $this->response->body = $view; Or you can use View::set_global() if you want to set variable from before() function Please, check…
Comment by
Davide Bellini
July 2011
permalink
Website bugged
We just have to thank these guys for the incredible work they do. I'm also switching my company's most important project to Fuel and I'm very exciting for that! So, don't create unnecessary discussions and help this guys to deve…
Comment by
Davide Bellini
July 2011
permalink
Is Fuel proper for me?
Take a look on Fuel Parser package : https://github.com/fuel/parser
Comment by
Davide Bellini
June 2011
permalink
REST Client
Ok ok thank you. I didn't have any feedback and I didn't know that you have informed Phil We waiting the bad boy returns!
Comment by
Davide Bellini
May 2011
permalink
REST Client
I haven't see a Fuel Rest Client function yet. Personally I think that can be a good feature to connect a webapp with external services like Google Analytics and others without using curl whenever. What do you think about that??
Comment by
Davide Bellini
May 2011
permalink
How to work from the development branch?
How to work on a forked project with git is not clear also for me. I've read Github Help but is not totally clear for me. If I'm working on my repo and during my work the forked project ( like official Fuel Core ) has some changes, what …
Comment by
Davide Bellini
June 2011
permalink
Retrieve file informations with file handler
You can't do better!!
Comment by
Davide Bellini
June 2011
permalink
Retrieve file informations with file handler
Perfect!
Comment by
Davide Bellini
June 2011
permalink
Retrieve file informations with file handler
I've tried to create a "protoype" for File::get_info() method like this http://scrp.at/4N What do you think about that?
Comment by
Davide Bellini
June 2011
permalink
Retrieve file informations with file handler
I haven't a "real life" code on this ... but an example can be retrieve informations of files for build a complete Media manager. So, if I want create a table for all uploaded files, showing informations like : - File name - File E…
Comment by
Davide Bellini
June 2011
permalink
Retrieve file informations with file handler
Haha you're right ...
Comment by
Davide Bellini
June 2011
permalink
Retrieve file informations with file handler
Ok ... as I thought. I wanted be sure on that. Thank you!
Comment by
Davide Bellini
June 2011
permalink
Retrieve error const name by value for Upload
Because I want to provide an error message ( using translations ) to an user, like this http://scrp.at/4E
Comment by
Davide Bellini
June 2011
permalink
Possibile Inflector::friendly_title bug ?
Ok calvinfroedge, I've optimized the RegEx ... Your code is wrong if($lowercase) return preg_replace('#[^a-z0-9]#', $sep, $name); return preg_replace('#[^a-z0-9]#', $sep, strtolower($name)); You cannot make this : re…
Comment by
Davide Bellini
June 2011
permalink
PHamlP Integration?
If your code works, please make a "Pull Request" from Github ... so Jelmer can check and merge your code into the official package.
Comment by
Davide Bellini
June 2011
permalink
Global Usage of Lang Files
Calvin Froedge wrote on Friday 17th of June 2011: So...I tried before() function But then my variables weren't available in other methods. Anyone have a suggestion? What do you mean with "my variables weren't available in other …
Comment by
Davide Bellini
June 2011
permalink
Possibile Inflector::friendly_title bug ?
Calvin Froedge wrote on Friday 17th of June 2011: Hey David, I had written a similar piece of code to format directory names for storing uploaded files. I didn't realize friendly_title() existed. I'm going to start using this method al…
Comment by
Davide Bellini
June 2011
permalink
How do you get someone to upgrade to PHP5.3?
Because if you use IIS there are a lot of reasons to passing on Linux/apache. Have you tried to explain to your boss some advantages of php 5.3 ? http://www.sitepoint.com/whats-new-php-5-3/
Comment by
Davide Bellini
June 2011
permalink
How do you get someone to upgrade to PHP5.3?
What platform do you use? Please specify OS and WebServer ( Apache, IIS, ... )
Comment by
Davide Bellini
June 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