Support the ongoing development of Laravel.io →

2,054 Threads

posted 8 years ago

using Request::path() and @include instead of if(isset($_GET)) and switch in laravel

in native PHP I use to do this $var = isset($_GET['val']) ? $_GET['val'] : 1; then switch case 1: in...

0 Likes
5 Replies
Solved

Getting logged out when looping over image requests.

I'm developing an image sharing platform, but when I want to load an page with a lot of images I oft...

0 Likes
4 Replies

How to give values of select dropdown with values from database?

for some reason it doesnt return null anymore though I didnt know why it works. now I want to popula...

0 Likes
1 Replies

Redirect()-> doesn´t work

[ View A] -> ( Form ) -> [ Controller A ] -> [ Controller B ] -> [ View A ] From View A...

0 Likes
0 Replies

New to Laravel,MVC and need a little clarity on MVC

Hi Guys, I am Pretty New To Developing in PHP + Laravel, I was recently learning to Code Raw PHP whe...

0 Likes
2 Replies

Laravel 5.0 View Facade not working on production server

My project on loyalist is working perfectly But when I uploaded to production server some routes wer...

0 Likes
1 Replies
posted 8 years ago

conflict with route logout using laravel

Hello, I have these two routes: Route::get('{id}', ['as' => 'UserProfile', 'uses' =>'UserC...

0 Likes
1 Replies

Exit with code 1 due to network error: ContentNotFoundError

Hey, I'm trying to export blade.php as pdf with Laravel-snappy When I try to access that, Error in t...

0 Likes
2 Replies

how to concatenate variable in blade template

I have declare a variable in blade template, now i need to concatenate it in style sheet path. I wan...

0 Likes
2 Replies
Solved

Recursive menu

Recursive menu, created this menu and is working as I want, but the is that it is creating two eleme...

0 Likes
0 Replies
posted 8 years ago

View brake with second or third url

Hello, i'm using a open source template for my laravel app, these are in my routes.php file Route::...

0 Likes
1 Replies

Form Model Binding - adding a class to form field

I have a simple form. In my blade view, I open it like this: {{ Form::model($alum, ['route' => ['...

0 Likes
4 Replies

Select from two tables and show everything

I want to show on the page data from two tables but with a little condition and I can't figured it o...

0 Likes
1 Replies
Solved

Easy endless scrolling via jQuery.jscroll and Laravel paginator

I stumbled onto this suuuper simple way to initialize an endless scroller through jQuery Here is the...

0 Likes
5 Replies

Calling eloquent relation multiple times doesn't return data

I'm having this strange behavior in Laravel 5.1 where when I call the relation of an eloquent model...

0 Likes
0 Replies
posted 8 years ago

Defining layout in Controller

Hey, in Laravel 4 it was possible to define the master layout in the controller, so that it was used...

0 Likes
0 Replies

Help Undefined Offset Error

Hi. This is a code for search. Anyway each time i try to search with a term that is NOT in the datab...

0 Likes
0 Replies

views_@yield

Hello, I have implemented a simple code just to try using "@yield", that is the code: -The...

0 Likes
5 Replies

Using Angularjs, Ajax in laravel 5.2 - 500 (Internal Server Error)

I keep getting an error when submitting form using Ajax post 500 (Internal Server Error). I am using...

0 Likes
0 Replies

Nested @can checks do not work

Hi, someone knows if nested @can statements are supported in laravel? view.blade.php @can('list')...

0 Likes
2 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.