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
8243
Activity
do you consider return default key in I18N
If you encounter a bug or issue, don't work around it, report it! Other people might be interested in a bug fixed too!
Comment by
WanWizard
May 2012
permalink
i use 1.2rc, i saw git it is on dev 1.3 , also see 2.0 on the way
Correct. We're in the process of releasing 1.2. As 1.2 is now frozen pending the release, new developments go into the 1.3/develop branch. It might be that there will never be a 1.3 release, but the features will be merged into 2.0 instead. It…
Comment by
WanWizard
May 2012
permalink
NinjAuth - config URLs
Looks like they have been moved to static properties of the controller.
Comment by
WanWizard
May 2012
permalink
error reporting is not clean.
You can not run zlib compression in development mode.
Comment by
WanWizard
May 2012
permalink
Download link for v1.2 is 404 on GitHub
Yes. Because there is no 1.2 yet, that is planned for the next couple of days, as no issues were found in the RC.
Comment by
WanWizard
May 2012
permalink
do you consider return default key in I18N
It should return the key. If it doesn't, and you're using a recent version, report it as a bug on https://github.com/fuel/core/issues so it can be fixed.
Comment by
WanWizard
May 2012
permalink
Can oil run on a hosted server?
It depends. If you have commandline access, or access to a *real* cron, the answer is probably. If your server has some kind of control panel, again the answer is probably. Otherwise, no. I say probably because PHP comes with different binaries, ph…
Comment by
WanWizard
May 2012
permalink
Pagination::create_links() is not bad, when open url_suffix
what's a page number?
Comment by
WanWizard
May 2012
permalink
is there any full code for auth
The simpleauth example driver that is supplied already supports groups and acl's. Our Depot application (http://github.com/fuel/depot) uses it, you might want to use that as the basis.
Comment by
WanWizard
May 2012
permalink
how can i router for subdomain and others domain
That greatly depends on the way your application is designed, what the definition of a 'user' is, and what 'his own website' is. So there is no easy answer.
Comment by
WanWizard
May 2012
permalink
Named regex routes
To me it's not exactly clear what you mean. Named routes are routes that have a unique name, so you can refer to them in your code when you generate anchors (as opposed to hardcode the URI of the anchor). Router::get(), which is used to retrie…
Comment by
WanWizard
May 2012
permalink
Use Form::submit
If you're completely new, I suggest you go through the docs first to get some insight in how the framework operates. After that, look at http://docs.fuelphp.com/packages/oil/generate.html and use scaffolding to have oil generate code for you. …
Comment by
WanWizard
May 2012
permalink
Config::load
At the moment there isn't a config driver for DB yet. If you think that's handy, please open a feature request on https://github.com/fuel/core/issues. In the meantime, you can work around it by directly updating \Config::$items.
Comment by
WanWizard
May 2012
permalink
Use Form::submit
There is nothing magical about what FuelPHP does. Form::submit('validate') just adds this to your form: Which means after submitting your form Input::post('validate') will return 'Submit'.
Comment by
WanWizard
May 2012
permalink
Using template controller to create a 404 error page
As mentioned on IRC: $this->response->status = 404; You could have checked the default welcome controller, it contains an action_404 too...
Comment by
WanWizard
May 2012
permalink
Use Form::submit
I don't understand this question. Form:submit() generates client-side HTML (for a normal submit button), php is server side. How you would bind the two? If your question is "how to I detect in my code which submit button is used", lo…
Comment by
WanWizard
May 2012
permalink
Oil generate module
Not that I'm aware off. But you can always just generate it, move it to a module, and add the namespace manually. If this is a feature request, someone has to add it at https://github.com/fuel/oil/issues so it can be followed up. The forum is …
Comment by
WanWizard
February 2011
permalink
Request::forge()->set_method('POST')->execute() not setting Input::method() == 'POST'
I've already looked at it, but it's not that easy. Request::get_method() calls Input::method() if no request method is defined. And Input::method() should call Request::get_method() as the preferred method to return. This will cause an e…
Comment by
WanWizard
May 2012
permalink
Request::forge()->set_method('POST')->execute() not setting Input::method() == 'POST'
I've already looked at it, but it's not that easy. Request::get_method() calls Input::method() if no request method is defined. And Input::method() should call Request::get_method() as the preferred method to return. This will cause an e…
Comment by
WanWizard
May 2012
permalink
Getting NinjAuth working with FuelPHP 1.2 RC
No, I don't. Can't remember exactly what all the reasons were, but one of them was that it wasn't possible to get error messages I needed to pass to Depot's message class, and several situations that didn't produce a messag…
Comment by
WanWizard
May 2012
permalink
Simple auth: guest_login usage explanation?
A remember me option is very dangerous, it allows a login without credential. If you want to implement it, it's very easy to do it yourself, and call Auth::force_login() with the user_id of the user you want to login.
Comment by
WanWizard
January 2012
permalink
Request::forge()->set_method('POST')->execute() not setting Input::method() == 'POST'
It can't set Input::method(), because that is a global method, so it would destroy the method of all other requests. Better would be that Input::method() would check for a request method before using the global value. Could you create an issue…
Comment by
WanWizard
May 2012
permalink
Observers not possible in Model_Crud?
** moved to the general forum, this is not an ORM question ** No, that is ORM specific. Model_Crud uses pre_ and post_ methods that you can define in your model.
Comment by
WanWizard
May 2012
permalink
Custom templates for scaffolding generate
Just make sure the folder structure is the same as in the package, and it should work just fine.
Comment by
WanWizard
May 2012
permalink
Custom templates for scaffolding generate
There is no need to modify anything in the package. You can copy the default templates to app/views, and modify them there.
Comment by
WanWizard
May 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,407
Last Active
9:09AM
Roles
Administrator