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.
Jelmer Schreuder
Fuel core developer, check my bio on the about page.
Discussions
1
Comments
792
Activity
A few questions
A few examples about how to set the login part in a modular extention. Take a look into the Applications or Tips and tutorials forums, there're examples available for both. Not sure about them combined, but login works in a module just lik…
Comment by
Jelmer Schreuder
February 2011
permalink
Template parser?
I've been using Dan's SimpleTags for that: bitbucket.org/dhorrigan/simpletags/overview I think we should make a core class out of it but that hasn't been decided yet.
Comment by
Jelmer Schreuder
February 2011
permalink
A correct way to add auth drivers?
Could you show be the class decleration (beginning of the file until just after "class Auth_Login_SuperAuth extends Auth_Login_Driver" ) and a screenshot of your file structure to the file? Just to clarify why I want to see that: the erro…
Comment by
Jelmer Schreuder
February 2011
permalink
SimpleAuth improvement
This is one of those parts where SimpleAuth should remain simple. Adding screennames adds a whole layer of complexity (may screen_name/username match, conflict, must be unique) and to much implementation is involved. I added support for screen_name…
Comment by
Jelmer Schreuder
February 2011
permalink
A correct way to add auth drivers?
I'm pretty sure there's no such bug as I'm using it myself in this way. The error will always come from that location as that's where the loading of the driver is attempted. Check your paths, check you classname and make sure th…
Comment by
Jelmer Schreuder
February 2011
permalink
Image Library
Looks good, I'd suggest though to use the Config library for importing saved configs. I'd suggest autoloading a config file 'app/config/image.php' using Config::load('image', true) and have a method for loading additio…
Comment by
Jelmer Schreuder
January 2011
permalink
SimpleAuth improvement
At this point forgotten password still has to be written so there's work to be done on it in general, but I do agree that some kind of activation is basic enough to be part of the simpleauth driver. On the field suggestions for the DB: I agree…
Comment by
Jelmer Schreuder
February 2011
permalink
A correct way to add auth drivers?
I'd guess there's something wrong with the path, but in general you shouldn't do it like this. A package should be dealt with just like core classes: don't extend them inside their own directory because you won't be able to…
Comment by
Jelmer Schreuder
February 2011
permalink
Captcha
Feel free to create something, or port an existing library into a package. If you choose the latter check out the packages in github.com/fuel-packages as examples. Let me know if you've created something like this and I'll import it to th…
Comment by
Jelmer Schreuder
February 2011
permalink
Associations (Relationships) in Active Record
@Mike AR works fine as long as you don't use has-many-through or try configuring models too much, it works fine when you keep to convention. But that's also the problem with it, our main philosphy is that everything should be configureabl…
Comment by
Jelmer Schreuder
January 2011
permalink
Kohana's ORM ported to Fuel
Hey Ben, Nice work, could you move it out of the "orm" folder and rename to something prefixed with "fuel-"? Check out https://github.com/fuel-packages/fuel-phpactiverecord for an example. I already forked it into fuel-packages …
Comment by
Jelmer Schreuder
February 2011
permalink
On HMVC
Modules need to be loaded to become available. When they're called from the URL they're loaded automaticly, if you want to use them in other cases you have to load them first: Fuel::add_module('test'); You can also add them t…
Comment by
Jelmer Schreuder
January 2011
permalink
Exactly the same result is given when you use: Uri::create('') (note that it's given an empty string)
Comment by
Jelmer Schreuder
January 2011
permalink
Namespace \Fuel\Tasks detected as Undefined constant
In the namespace decleration you shouldn't prefix with a backslash. It is always defined from the root so the backslash has no meaning and actually confuses the parser.
Comment by
Jelmer Schreuder
January 2011
permalink
Default module route
Default controllers for directories and modules are done by convention: they should have the same name as the directory/module. A directory "users" in app/classes/controller would be: class Controller_Users_Users extends Controller {} A …
Comment by
Jelmer Schreuder
January 2011
permalink
Associations (Relationships) in Active Record
It's not yet finished. I'm quite aware of the limitations which is why I made php.activerecord available today as a package which can be installed using Oil: php oil package install phpactiverecord Our own AR will probably get a partial…
Comment by
Jelmer Schreuder
January 2011
permalink
Associations (Relationships) in Active Record
Ben, Even though we do use some pieces of it, we're not copying Kohana. And copying Kohana is not the solution to every time something isn't documented yet, or doesn't work like Kohana. If you want the latter: use Kohana. As is ment…
Comment by
Jelmer Schreuder
January 2011
permalink
Form Helper Class
Let me just repeat what I said before: "there is already a very complete Form class".
Comment by
Jelmer Schreuder
January 2011
permalink
Complete tutorial
Not yet and unless community contributed not our first priority. Getting a 1.0 final release and finishing documentation are the highest priorities currently. There are some example applications though as mentioned in the 1.0 beta release blog: htt…
Comment by
Jelmer Schreuder
January 2011
permalink
Access file as controller
Can't tell you exactly how, but I'm sure it can be done using .htaccess to rewrite /sitemap.xml to a controller.
Comment by
Jelmer Schreuder
January 2011
permalink
HTMLPurifier
We probably won't include it in the core, but we'd love to have it as a package. Poke Phil about getting it into https://github.com/fuel-packages so it's auto-installable with Oil CLI.
Comment by
Jelmer Schreuder
January 2011
permalink
Form Helper Class
It's not yet documented but there is already a very complete Form class. Which works both as a helper and through the Fieldset class as a more OO form builder.
Comment by
Jelmer Schreuder
January 2011
permalink
Is FuelPHP stable enough?
Fork Fuel on Github and make a pull request after you pushed your changes to your own fork. There's a nice short tutorial on contributing like this in the PyroCMS documentation: http://www.pyrocms.com/documentation/#developers/git.html Our rep…
Comment by
Jelmer Schreuder
January 2011
permalink
Is FuelPHP stable enough?
For the most part Fuel has stabelized, which is why we felt it was time to release a first beta a couple of weeks ago. Most of the framework will only be bugfixed on the road to a 1.0 release. Having said that, we're not feature complete and …
Comment by
Jelmer Schreuder
January 2011
permalink
help! error install fuel...
You don't have PHP5.3, the PHP parser fails there because it's the first point where PHP5.3 specific functionality is used (namespaces).
Comment by
Jelmer Schreuder
January 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
Jelmer Schreuder
Joined
January 2011
Visits
7
Last Active
May 2016
Roles
Administrator