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.
WanWizard
a.k.a. WanWizard
Discussions
4
Comments
8245
Activity
Pagination class - nightmare :(
For Depot I try to use as much FuelPHP solutions as possible, as it serves as an example too. The admin controller code is the one generated by oil, I assume that bit of code was generated. I would have to look at it. The current pagination class i…
Comment by
WanWizard
March 2012
permalink
dynamic view loader (or something like that)?
Use HMVC calls to call secondary controllers and fetch their content. Modules are just a way to modularize your code, modules have controllers too.
Comment by
WanWizard
April 2012
permalink
Changing password without confirm old password
Look at our Depot repository. The users module has a profile update controller so user can update things like name, password and other settings, which uses SimpleAuth.
Comment by
WanWizard
November 2011
permalink
anybody have an example of anchor_popup like function used in CI?
If you would include it in the FuelPHP code, absolutely. CI's license is not compatible with FuelPHP's MIT license. What you do in your application is up to you, although I don't think CI's license allows you to copy and reuse i…
Comment by
WanWizard
April 2012
permalink
Fuel 2.0
There is no need to clone them yourself, composer will install them for you. Note that 2.0 isn't even alpha yet, it's still in early stages, so I would advice not to use it except for experimental purposes.
Comment by
WanWizard
April 2012
permalink
No Views visible?
A completely white screen could be an indication of an error, and error reporting turned off. What does the application log (enable it in app/config/config.php if needed) and your webserver log say?
Comment by
WanWizard
February 2012
permalink
anybody have an example of anchor_popup like function used in CI?
It's a twenty line helper, so it shouldn't be to difficult to recreate...
Comment by
WanWizard
April 2012
permalink
CodeSniffer coding standards
That what we use docblox for. We're currently busy with a new application (called "Fuel Depot") which will contain all information about FuelPHP. You can find the staging site here: http://fueldepot.exite.eu If logged in, the API doc…
Comment by
WanWizard
April 2012
permalink
CodeSniffer coding standards
We use docblox to check if the high level comments are ok. For inline comments, it's virtually impossible to automate that, a script can't tell you if they make any sense. We also need to scan the code manually to make sure the quality is…
Comment by
WanWizard
April 2012
permalink
Find_by and OR
@coax, please don't ask the same question in two different threads.
Comment by
WanWizard
April 2012
permalink
sql query in FuelPHP?
I don't know if and how you could do that when using array notation. When using chaining, you would use $data['sgsss'] = Model_Sgss::query() ->where('categorie', '=', 'manuel') ->where_open…
Comment by
WanWizard
April 2012
permalink
CodeSniffer coding standards
No, we don't. Currently we scan contributions manually, so far that has not been an issue. What exactly are you missing in the existing coding standards?
Comment by
WanWizard
April 2012
permalink
How do I upgrade a package?
Ah, I see. Who can I shoot?
Comment by
WanWizard
April 2012
permalink
Understanding the environment
The idea behind that is that you set the environment using SETENV, so you don't have to change your code when you move environments. That line will only set a default, based on your OS environment setting, and falls back to Fuel::DEVELOPMENT w…
Comment by
WanWizard
January 2012
permalink
Understanding the environment
Can you dump \Fuel::$env ?
Comment by
WanWizard
January 2012
permalink
Understanding the environment
The command must be the first, followed by the what. Switches need an = sign if they have a parameter. So this is the only correct one php oil r My_Task --env=production (uppercase is ok too) if I do a "php oil refine migrate --env=stage"…
Comment by
WanWizard
January 2012
permalink
Email class issue
Ok. So I was right in that it wasn't fixed yet.
Comment by
WanWizard
April 2012
permalink
Email class issue
What did?
Comment by
WanWizard
April 2012
permalink
What's the difference between Controller_Template and plain Controller?
Those were never in the latest release (which is 1.1). These were introduced quite recently (that why they are in the development documentation but not in the release documentation) and will be part of the upcoming v1.2. If you're looking at t…
Comment by
WanWizard
March 2012
permalink
Email class issue
I heard there were some issues with encoding the header data. Please check http://github.com/fuel/email/issues to see if it has been reported. If so add your case to it, if not, please create an issue for it so it can be looked at.
Comment by
WanWizard
April 2012
permalink
How do I upgrade a package?
With recent I meant "since the last release", time is indeed relative... The functionality was introduced by dpetrie, so he's to blame for the lack of documentation...
Comment by
WanWizard
April 2012
permalink
Session with Ajax
Always a misery with cookie based sessions. It depends on your browser and the way you create your ajax requests if your session cookie in the browser is updated after the ajax request is finished. Use firebug (or something like that) to see if the…
Comment by
WanWizard
April 2012
permalink
Session with Ajax
Are you using cookie based sessions or some other session store?
Comment by
WanWizard
April 2012
permalink
What's the difference between Controller_Template and plain Controller?
Didn't look close enough then: http://fueldevdocs.exite.eu/classes/theme/introduction.html
Comment by
WanWizard
March 2012
permalink
Packages gone?
I don't see anything wrong with the first two screenshots, the oil command returns a help screen if no commands are passed. And the package command indeed doesn't work anymore. We've noticed that recently, but are still looking to wh…
Comment by
WanWizard
January 2012
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
WanWizard
Joined
January 2011
Visits
2,410
Last Active
2:02PM
Roles
Administrator