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
8242
Activity
Redirect After Login
Note that this has some side effects too, depending on your application. Say you want to show the user a dashboard page after login, you don't want this redirect back if the login page was requested by the user, instead of by an error situati…
Comment by
WanWizard
February 2015
permalink
Redirect After Login
The challenge here is to determine what the definition of "back" is. Say you have a URL "/something/edit" that is protected, and redirects to "/login", which displays a login form. The user makes a mistake so the first…
Comment by
WanWizard
February 2015
permalink
Redirect After Login
There is a redirect_back() method which might be of some help: http://docs.fuelphp.com/classes/response.html#/method_redirect_back
Comment by
WanWizard
February 2015
permalink
Multi-language support
I don't understand your question. Normally you develop the application in one language, your own language. The language files for this language are (or should be) always complete, and you use this language as the fallback. The primary languag…
Comment by
WanWizard
January 2015
permalink
Extended Auth_User not found
You get that message because it doesn't. It contains \Model\Auth_User. So why add it to the autoloader twice, once correct and once incorrect?
Comment by
WanWizard
January 2015
permalink
Multi-language support
Ah, I missed en and en2 are different languages. There is only one language active at any given point, and you indeed have a language to fall back to. Your fallback language should only be one, and should be your default one, the language file set…
Comment by
WanWizard
January 2015
permalink
php oil refine migrate --packages=auth
By default you are in the development environment. Any other environment you have to specify, either in your virtualhost definition, or in your .htaccess. The idea behind environments is that you can easily port your application from one server to …
Comment by
WanWizard
January 2015
permalink
Multi-language support
And what does your view look like? You are echo'ing data in your controller, I don't see a view being used anywhere? When I use your exact code, I get "PlopPlop" echo'd, so it works fine here.
Comment by
WanWizard
January 2015
permalink
php oil refine migrate --packages=auth
In addition, by default oil runs in the development environment, which you can check with "php oil -v". If your server is configured for a different environment, like production or staging, you need to tell oil which environment to use. …
Comment by
WanWizard
January 2015
permalink
Why can't I have nothing in input's $value parameter passing it in view?
Fuel doesn't put anything in cookies, and cookies are not shared between different browsers. And data in cookies (how do you know?) is not automatically put in a form.
Comment by
WanWizard
January 2015
permalink
Why can't I have nothing in input's $value parameter passing it in view?
I don't know. Maybe your browser did an auto-fill of the fields? I don't think your code, or Fuel, is capable of knowing what password you use for other sites.
Comment by
WanWizard
January 2015
permalink
Who wrote the documentation and how can I modify it?
No, you are someone with no experience, a beginner. You want to jump into the deep end, but you can't swim. And you complain that there is no one to hold your hand with every step you do. And that there is no toddler pool that keeps you from dr…
Comment by
WanWizard
January 2015
permalink
FuelPHP vs Laravel vs based on FuelPHP framework
I can only repeat: you pick the right tool for the job. And there are plenty of reasons on why you think something is the right tool. As those reasons sometimes have nothing to do with the tool itself, but with the environment. Why is Java still so…
Comment by
WanWizard
January 2015
permalink
Rewrite rules interfere with Shibboleth
Assuming shibboleth.sso is an existing file in the public folder, this should work. The conditions should block the rewrite from happening if an existing file or directory is requested. You don't have an issue with other files in your public f…
Comment by
WanWizard
January 2015
permalink
FuelPHP vs Laravel vs based on FuelPHP framework
I wear multiple "hats", i.e. I have multiple roles. As FuelPHP project lead, I couldn't care less what others do or don't do. If it's interesting, we can see if it fits, if not, we forget about it. As owner and CEO of a de…
Comment by
WanWizard
January 2015
permalink
FuelPHP vs Laravel vs based on FuelPHP framework
And based on what do you think that? Your many years of PHP experience, and FuelPHP experience in particular? Or is it just a random thought trying to defend the heavy frameworks? We have applications serving millions of requests written in Fuel, w…
Comment by
WanWizard
January 2015
permalink
Related model not found by Has_Many relation
Yes, class names in strings always have to be fully qualified, including the complete namespace.
Comment by
WanWizard
January 2015
permalink
Modules
If you don't know where to use it, why would you want to? You should absolutely NOT want to do this, it creates tight coupling between your modules, and that is simply not done. The correct way for modules to interact is through an HMVC reques…
Comment by
WanWizard
January 2015
permalink
FuelPHP vs Laravel vs based on FuelPHP framework
If you say that their documentation is more accessable for absolute beginners, you are probably right. One the other hand they don't have to free people from development to write documentation, they have skilled people like Jeffrey Way to do it…
Comment by
WanWizard
January 2015
permalink
Who wrote the documentation and how can I modify it?
Who says they don't? FuelPHP is perhaps the only community framework, there were over 150 people who contributed code to it, and any PR sent will be evaluated and accepted if it meets the requirements. Like the code, all documentation is on g…
Comment by
WanWizard
January 2015
permalink
Who wrote the documentation and how can I modify it?
We don't aim to be popular. We don't care how many users we have. We do care about the product (as we use it ourselfs), and about the satisfaction of it's users. The new docs will be written for Fuel v2, and are currently being setu…
Comment by
WanWizard
January 2015
permalink
FuelPHP vs Laravel vs based on FuelPHP framework
No, absolutely not. We will remain true to our values, also in new versions. It is wat makes us different from other frameworks out there.
Comment by
WanWizard
January 2015
permalink
Modules
That is not a problem, everyone needs to start at the beginning, we did too. As said in another thread, we do not cater to the absolute beginner, I think before you start with a PHP framework, you need to know your way around PHP itself.Classes, na…
Comment by
WanWizard
January 2015
permalink
Who wrote the documentation and how can I modify it?
Agreed. When FuelPHP started in 2010, this was done more or less deliberate, as we didn't position Fuel as a beginners framework. Partly because we didn't have (and up to a point we still don't) the manpower to support beginners. So…
Comment by
WanWizard
January 2015
permalink
FuelPHP vs Laravel vs based on FuelPHP framework
You are correct in that our answer will always be biased. There are a couple of things we value, and laravel doesn't offer: - simplicity, ease of use (easy to understand API) - light weight (laravel pulls half of symfony in these days) - long…
Comment by
WanWizard
January 2015
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,369
Last Active
11:55PM
Roles
Administrator