Support the ongoing development of Laravel.io →

1,478 Threads

Laravel 5.4 relationships - how to display in a view

I have 3 tables: users (fileds: id, name, etc.) profiles (fields: id, user_id, first_name, last_name...

0 Likes
3 Replies

Passing variable to a view using middleware

Is this possible? I want to pass a variable, style, to my layout template so that it defines the lay...

0 Likes
3 Replies

Four Tables - Filter Last Table on Latest Record

I have the following Table Structure A User hasMany Yards A Yard hasMany Hives A Hive hasMany HiveDa...

0 Likes
0 Replies

Laravel IF - ROUTE readonly the field

Hello all, I'm using blade and I was wondering how Can I insert a propriety "READONLY" in...

0 Likes
0 Replies

Baum nested set routes

Hi guys! Last 2 days I try to build routes tree with Baum nested set. I found topic that I need here...

0 Likes
0 Replies

Trying to get property of non-object from eloquent Relationship

I have used a relationship that returns data but when i use it it throws error "Trying to get p...

0 Likes
1 Replies
Solved

get data from Pagination

i have $users = User::paginate(10); how do i get the data when i pass it to my blade template. e.g:...

0 Likes
7 Replies
posted 7 years ago

Problem with blade directive and view rendering

I'm trying to create a reusable view component for a carousel with a new Blade directive. I don't wa...

0 Likes
1 Replies
Solved

dynamic Form::select not being included in the post data

I have am trying to add a select box that is built from a database query to an existing form. The se...

0 Likes
0 Replies

[L5.1] Custom Pagination problem (1st page great others blank)

First of all... im pretty new to this framework. And i love it so far... I have a custom query, sear...

0 Likes
1 Replies

Moving data of a form to a div in view using jQery

I am new to laravel as well as jQuery . In my sample application i have a form and outside this form...

0 Likes
5 Replies

I want multiple gulpfile.js for role based Authentication

Hi, I have a site where the students can visit and check the site/login to view marks/individual inv...

0 Likes
0 Replies

Funny links coming from asset() output

I'm using Laravel 5.3 and Spark (maybe 1.0). In the Spark brand file file I have: <a class="...

0 Likes
2 Replies

laravel theme engine for region sidebar, breadcrumb, page title

I have used drupal for many years to develop custom web applications. Just switch to Laravel recentl...

0 Likes
0 Replies

Call to undefined method stdClass::path()

Im trying to call this path function from my index.blade.php. But I get the undefined method excepti...

0 Likes
2 Replies

Policies not working with Blade - Authorization

Hi guys. I am trying to use Policies from Laravel Authorization feature, but it is not working with...

0 Likes
6 Replies
Solved

carbon button

i try make button disabled if not expired but after expired button not function like disabled not en...

0 Likes
0 Replies

How to display errors in my modal

I want to display the errors in my modal and it logs successfully but the modal closes when i try to...

0 Likes
0 Replies

View Composer

Hello Guys, I have used View Composers in which it manipulates some data from Database and shares th...

0 Likes
0 Replies

How to separate two pagination links which came from single controller method ?

Dear Friends, I am using Laravel 5.3. I created two similar paginations in my Home page using Contro...

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