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
How do you get someone to upgrade to PHP5.3?
Also, PHP 5.2 has been declared dead.
Comment by
Jelmer Schreuder
June 2011
permalink
ErrorException [ Error ]: Class 'Model_Group' not found
A class not being found isn't a bug, it always means you got something wrong: either a namespace, a classname or the filename. All must match the rules for autoloading or your class won't be found.
Comment by
Jelmer Schreuder
June 2011
permalink
Basic named route example
Took a quick look through the code, should work for modules as well. I think it only works for active modules though (when your current controller is in the module), loading a module through Fuel::add_module() won't add the routes. I think thi…
Comment by
Jelmer Schreuder
June 2011
permalink
Basic named route example
It should be fully functional, I haven't used it yet but I think Dan already is. Though there's some more advanced usages (with regex) that aren't supported yet. The idea of reversed routing is like this: say you got an admin area an…
Comment by
Jelmer Schreuder
June 2011
permalink
Possibile Inflector::friendly_title bug ?
You're right, the friendly_title() method has gotten way too little attention. Not on the top of any of our priority lists though, so if you want it fixed I'd suggest editing it and pull-requesting.
Comment by
Jelmer Schreuder
June 2011
permalink
using a php framework vs. free-form coding
The ONLY potential drawback I see to Fuel is that its small & new which leaves me hoping that it doesn't get abandoned at some point. However, I'm going into it knowing that, and I'm fairly confident that myself & others w…
Comment by
Jelmer Schreuder
June 2011
permalink
Limit on related table?
If you know a way I'm all ears, not possible as far as I know.
Comment by
Jelmer Schreuder
June 2011
permalink
function add_model() in form.php calls add_model() in fieldset.php
It's a bug, all params should be passed. Would you be so kind as to report it to the bugtracker? https://github.com/fuel/core/issues
Comment by
Jelmer Schreuder
June 2011
permalink
Parser Twig and Dwoo drivers improvements
Isn't that already possible through config: https://github.com/fuel/parser/blob/develop/config/parser.php (you should add a parser.php to your app config if you want to edit, don't edit the package files). If not feel free to see if it…
Comment by
Jelmer Schreuder
June 2011
permalink
clear Twitter feed on your website!
Yeah, that's not very nice. I think Dan got a bit irritated by the thousand spam mention we got and vented to this suspended account. It'll disappear next time we tweet. Edit: better?
Comment by
Jelmer Schreuder
June 2011
permalink
Template parser?
It's not yet complete, but a long way along: https://github.com/fuel/parser It won't be in 1.0 final though, should become part of Fuel with v1.1.
Comment by
Jelmer Schreuder
February 2011
permalink
add_csrf() function
Yeah, you're right. It was a last-minute addition which I shouldn't have let through for RC3 as it wasn't ready yet. I use it with the javascript function to fill it which caused me not to notice it didn't have an initial value …
Comment by
Jelmer Schreuder
June 2011
permalink
Parser problem with View location hardcoding
It's pretty stable but support for non-active modules hasn't been added yet, I'll take a look into the github issue soon.
Comment by
Jelmer Schreuder
June 2011
permalink
Question in Quora, what is FuelPHP?
QUESTION IN QUORA, WHAT IS FUELPHP? A PHP framework that uses the (H)MVC pattern. Framework analyse, smart, samples To answer the subtitle: fuelphp.com/docs Done. Question answered. Btw I read that response from Bilawal Hameed whom is appa…
Comment by
Jelmer Schreuder
June 2011
permalink
Db:select where negative number
In your example you don't execute() it at the end, did you leave it out on purpose or did you forget it in your code? If you did we should test whether the query is correct, this can be done by echo'ing the query before you execute it. Th…
Comment by
Jelmer Schreuder
June 2011
permalink
PK as FK
You shouldn't use PKs as FKs, if it works for one-one it's by accident not design. A PK should be unique and is unchangeable for a reason.
Comment by
Jelmer Schreuder
June 2011
permalink
Problem with find()
Problem is most likely caused because you're on RC2, RC3 should have been released already but our project lead has been very busy. A lot has been changed since RC2 and I updated the docs online a little bit too soon. You can probably solve th…
Comment by
Jelmer Schreuder
June 2011
permalink
JSON format Bug?
The first output is an array (thus enclosed in square brackets), the second is an object (thus enclosed in curly brackets). That is because it uses the IDs as index instead of just enumerating the output. And to be clear: not a bug, all this looks …
Comment by
Jelmer Schreuder
June 2011
permalink
How to change to the development branch?
The submodules may have been a bit out of date (I just updated them to be sure), though that bug was squashed a long time ago. Did you update the submodules after switching branches? git submodule update Full disclosure: I'm still a bit of …
Comment by
Jelmer Schreuder
June 2011
permalink
OIL undo?
This is more Phil's area than mine, but as he's travelling I'll give something of an "official" reaction to the idea. Not to throw cold water onto the idea, but I don't think something like this should be in the offici…
Comment by
Jelmer Schreuder
May 2011
permalink
Display db rows in Input::select() with ORM
A couple of points: 1. There is no Input::select() method, you probably mean Form::select()? 2. Does this really belong here in the Orm forum? (it doesn't seem to, this seems to be about input for the Form class) 3. There's a method to…
Comment by
Jelmer Schreuder
June 2011
permalink
How to Fight CSRF?
It's unrelated. It doesn't currently happen in my own code as I add the CSRF field after repopulating. But this shouldn't happen at all, repopulate should ignore the CSRF field. Make a new issue and I'll look into it.
Comment by
Jelmer Schreuder
May 2011
permalink
validation array field names ?
That still tells me nothing, what do you want Fuel to do?
Comment by
Jelmer Schreuder
May 2011
permalink
validation array field names ?
Have you tried it? Doesn't look like it has anything to do with Fuel or even PHP? (except for interpreting it as an array in $_POST) Though if you are going to fill the value it's a bit strange to have it be part of a $options array in $_…
Comment by
Jelmer Schreuder
May 2011
permalink
Deeper Level's Controllers
Raitis Stengrevics wrote on Monday 30th of May 2011: I'm working on Control Panel that will allow admins to control things as users, news etc.. Is this structure of controllers okey? -- Controller_ControlPanel (location: controller/controlPa…
Comment by
Jelmer Schreuder
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
Jelmer Schreuder
Joined
January 2011
Visits
7
Last Active
May 2016
Roles
Administrator