Posts by Allan Freitas • 176 points
9 posts
-
3
votes2
answers970
viewsA: How to resolve conflict between Vue.js and Laravel 5.4 no. Blade
From the Laravel 5.3+ there is an improvement in the Blade (@verbatim), to deal with cases where you will often use the @{{minha_var_javascript}} @verbatim <div class="container"> Hello, {{…
-
1
votes1
answer154
viewsA: Print PDF by Firefox
Gaius, There is an old bug (https://bugzilla.mozilla.org/show_bug.cgi?id=911444) in the internal firefox pdf plugin, and it was not resolved until the date of this posting.…
-
0
votes2
answers325
viewsA: Controller runs every time I change route
I have used a different implementation, using the ng-include and the ng-view, I see a lot of it being used in these admin templates made in Angularjs. Example: <body ng-app="app"> <!--…
angularjsanswered Allan Freitas 176 -
3
votes1
answer3313
viewsA: How to do a search with multiple filters as a parameter in the Laravel?
Analyzing the documentation, there in http://laravel.com/docs/queries#Advanced-wheres has this example that will suit you very well: MeuModel::where(function($query) { $query->where('votes',…
-
2
votes1
answer217
viewsA: How to organize a 4 Standard Project
As Laravel 4.X uses Composer and PHP 5.3+ (laravel4.2 requires php5.4+), usually create a folder inside the app like this: I created the "Hub" folder, and added it to Composer.json like this: Note:…
-
0
votes1
answer35
viewsA: Error accessing project on laravel4
I already had a similar error, when I tried to access the application after changing the "key" in the settings. That’s why every project I start, I put the "key",and in the file…
laravel-4answered Allan Freitas 176 -
1
votes2
answers476
viewsA: How to change the method of an HTTP request in Laravel 4
It seems that your problem is not the possibility because the method Redirect::route('rota.pessoa.show, $pessoa->id); Works normal here in my 4.1 Standard Applications, your question there is…
-
2
votes1
answer1084
viewsA: Going Up Laravel4 App for Shared Hosting
The only way I found in shared that I use is: SetEnv APPLICATION_ENV production <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_URI} !-f RewriteRule (.*) public/$1 [L]…
-
1
votes3
answers572
viewsA: Error with complementary routes in Laravel 4
Patrick, Via Laravel it will not be possible to generate the second route correctly without the parameters. I’ve had to do something like this before, and what I did was generate the first part…