Support the ongoing development of Laravel.io →

1,485 Threads

Use Laravel for multi language static website with some custom functions

Hi, I need to create a new website for our company and I am not sure about the CMS/System. At first...

0 Likes
1 Replies

Best practise for linking

There seems to be many different ways to link across pages. <a href="{{ route('users.index') }}"&...

0 Likes
2 Replies

Adding Files Dynamically To Default Template File

I was scanning over the documentation to find out how to use the asset pipeline script to help me be...

0 Likes
5 Replies

Raw JSON being displayed when returning to page

I have a view that is populated in part by rendering a view and passing it back as html in a JSON ar...

0 Likes
3 Replies
Solved
posted 10 years ago

Wrong data when extending blade views and sections

I'm not sure if this is an error or if sections are not supposed to be used like this. It's a bit di...

0 Likes
1 Replies

Pagination and Eager Loading

My Controller method is: $topics=Topic::with(array('subtopics'=>function($query){ $query->with...

0 Likes
0 Replies

open page from routes not run css files

open page from routes not run css files whatis the problem? Route::get('/', function(){ return Vi...

0 Likes
0 Replies
posted 10 years ago

Passing vars in extended blade template

Hi all, I have a generic template for my website, called "dashboard.blade.php". If i need...

0 Likes
2 Replies

Blade templateing undefined index

i want to acces the id from level_1 my array looks like this: Array ( [id] => 85 [id_worl...

0 Likes
1 Replies

Use select html tag and blade templating at same time

English isn't my first language, so please excuse me any mistakes, I'm brazilian. I'm trying to use,...

0 Likes
4 Replies

Trying to get property of non-object

my project address:https://github.com/xsmyqf/startlaravel when I visit the routes:startlaravel/publi...

0 Likes
0 Replies
posted 10 years ago

Is there a difference between echo View::make('...') and @include('...')

Is there a difference, in a blade template view, between <?= View::make('...') ?> or @include(...

0 Likes
1 Replies

Not using form to upload the image

Hello, I would like to know, how i can upload a image from a <input type="file">. But the uplo...

0 Likes
0 Replies

Only once for first element of a foreach?

I don't know what to say in the if statement. @foreach($posts as $post) @if($p...

0 Likes
1 Replies
Solved

Generate PDF

Hi. I got an users list shown in a table, so, i can see the user detail and a new page with the user...

0 Likes
3 Replies
posted 10 years ago

react.js + laravel example ?

their is any example to react.js + laravel ?

0 Likes
0 Replies
posted 10 years ago

"eval" method for blade?

I have a text string from our database that I'm injecting into a blade template. Is it possible to h...

0 Likes
2 Replies
Solved

Is there any events before/after blade compilation?

I'm trying to manipulate my views before they are sent to the browser. I found the Blade::extend met...

0 Likes
1 Replies
posted 10 years ago

How to: foreach without affecting every row?

Is there a way to do a foreach on for example your products and sort this by their category_id and s...

0 Likes
4 Replies
Solved
posted 10 years ago

Undefined variable: title, in Laravel 4.2.8

http://stackoverflow.com/questions/25115720/undefined-variable-title-in-laravel Yes, it´s works, but...

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.

© 2025 Laravel.io - All rights reserved.