Support the ongoing development of Laravel.io →

353 Threads

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

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

Undefined Variable Laravel 4

Hi all, Im relatively new to laravel, but have been doing PHP for the last year with MySql, Im curre...

0 Likes
17 Replies
Solved

Create Admin Panel

Hi, I want to create admin panel in my project. Please provide me steps for admin panel creation Tha...

0 Likes
4 Replies
Solved

Creatinf page content

Hi, here is a basic question I'm working on the same website which i have been asking questions abou...

0 Likes
1 Replies
Solved

How to set a variable in blade (laravel 5.3)?

I try like this : ... @if(is_null($key['p3'])) {{--*/$p3 = $key['p3']/*--}} @else...

0 Likes
1 Replies
Solved

a css file for my sepcific div

So here is the thing, there is account section on left side of my page, I'm calling account from a f...

0 Likes
1 Replies
Solved

laravel5: inject json into blade - htmlentites() filter applied by mistake?

Hi there, satisfied Laravel4 user checking out laravel5 right now. moving to 5 proved to be incredib...

0 Likes
3 Replies
Solved

Using laravel route in javascript

Hi all! I wanna know is there any way to access to laravel route in javascript. For example I have t...

0 Likes
3 Replies
Solved

Dynamic Dropdown w/ Mysql

Hello! I am trying to create a dynamic menu in my header view of all my pages. (I am new to Larav...

0 Likes
4 Replies
Solved

How to access session from parent template

Hi, I'm new to Laravel so the question might sound stupid. I'm currently trying to handle the displa...

0 Likes
2 Replies
Solved

Blade view "use" directive?

Hi, Is there a way to import class in a view? For example, I have a class \Anamespace\Bnamespace\Xcl...

0 Likes
3 Replies
Solved

View Composer to pass variable to all views

Hi, I have created a view composer to pass through the variable 'categories' to all views but I get...

0 Likes
1 Replies
Solved

Splitting blades via request

My blade template is like , @if($ajax) <div class="profile" id="profile...

0 Likes
2 Replies
Solved

Wanna Add some text before text insert to database

<div class="form-group"> {!! Form::label('eMail', 'e-Mail', ['class'=>'co...

0 Likes
4 Replies
Solved

About Form::textarea

<textarea rows="4", cols="54" id="keterangan" name="keterangan...

0 Likes
1 Replies
Solved

Adding a Vue Component to Spark

Has anyone got a step by step example of actually adding a vue component such as the awesome vue-mul...

0 Likes
2 Replies
Solved
posted 7 years ago

Undefined Variable in View

To clearify I did try this also WITHOUT database results. web.php <?php /* |--------------------...

0 Likes
3 Replies
Solved
posted 9 years ago

How to link_to_route when route is defined in a controller?

Sorry, I'm just learning Laravel and I'm stumped on what I'm sure is a very simple issue: How to lin...

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

© 2024 Laravel.io - All rights reserved.