Support the ongoing development of Laravel.io →

1,485 Threads

add to select box values from multiple model attribute

I want to dynamically set options to my select box from another model in Laravel. So I want to do so...

0 Likes
0 Replies

Pagination Help

Hi everyone, Recently I just created a variable with a leftjoin it looks a little bit like this: $it...

0 Likes
0 Replies
posted 8 years ago

help with values

Hi! Currently I have this dropdown {{ Form::select( 'Shipment_Number', $orderChanges, null, ['class...

0 Likes
1 Replies
Solved

Laravel 5.2 Blade template

Hi all, I just started to with larval framework and i am trying to load view page with blade templat...

0 Likes
0 Replies

function helper url() not working

The url () method of the class helpers, does not work! on the local machine works, but it lives retu...

0 Likes
0 Replies

Patch/Put method yields MethodNotAllowed

I have an edit page reusing a form from my create page that populates the fields by using {!! Form::...

0 Likes
6 Replies

Returning variables to View

Hi I am updating a view. For example, in the view I have 3 variables ($files, $users, $supplier) Is...

0 Likes
1 Replies

How to: Get first N objects in foreach loop

Is it possible to get first Nth ojects in foreach loop. For example i have foreach loop with movies...

0 Likes
1 Replies
Solved
posted 8 years ago

@include w/ sections

If have several templates laid out like this-> Layout <- View -> Template I have multiple t...

0 Likes
1 Replies
Solved

How to add Godaddy SSL Certificate security seal to footer.blade.php

I'm a newbie but I really need to add the display code I received from Godaddy to the footer and I'd...

0 Likes
5 Replies
Solved

Use include the right way in blade

Laravel 4.2 I am trying to include pages depending on the page URL like so @if(Request::path()==&quo...

0 Likes
1 Replies

Compare variables (blade template)

Hello guys, Trying to compare 2 variables in my view In my controller $files = \File::files('images'...

0 Likes
4 Replies
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

Are looking to get rid of the hair

If you are looking to get rid of the hair from your hands and legs you should approach the beauty pa...

0 Likes
0 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

Laravel @include returning redirected view upon a 401 error

I am using the laravel @includes in my blades, which is fine, but when a user's session expires, and...

0 Likes
0 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

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

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.

© 2025 Laravel.io - All rights reserved.