Support the ongoing development of Laravel.io →

1,143 Threads

handling errors from controller

I would like to use main template also for error views. Main template works only if i call it from c...

0 Likes
0 Replies

What does these blade variables mean

Hello Community, I've started learning laravel and i like it but i've some questions about blade vie...

0 Likes
1 Replies

Loop thru results special way

My query returns say 6 results from a find(). Now I need to display the first different from the res...

0 Likes
4 Replies

Want to create reusable template block

I want to create a template block that I can reuse many times, I try to use @include or @extend, but...

0 Likes
2 Replies
posted 12 years ago

@include a subview in a @foreach loop

Hi! I was wondering if it's correct to use the @include function inside a @foreach loop in a blade f...

0 Likes
0 Replies
posted 12 years ago

@extends versus @extend in Blade templates - Laravel 4.2

I'm building my first package in the workbench. Started it off requiring Laravel 4.1, but then tonig...

0 Likes
0 Replies

Query producing wrong SQL

I have : $data = Page::find($page_id); return View::make('pages.slider', array( 'page' => $data,...

0 Likes
3 Replies

How to do an "include" from within a content piece

I have a blade template that is pulling content from a database. <body> <div id="cont...

0 Likes
1 Replies
posted 12 years ago

Can't get blade to escape properly

I am using the WYSIWYG editor Summernote but this seems to be an issue with any editor: Let's say I...

0 Likes
0 Replies
posted 12 years ago

Pass object id to JS popup form

Okay, so I've been spending way too much time on this, hoping someone can tell me "That's a dum...

0 Likes
9 Replies

Reusable forms on different routes/controllers

Hey, so what I have is a form that is going to appear on multiple pages for different scenarios, and...

0 Likes
4 Replies
posted 12 years ago

Controller layout doesnt work

layout1.blade.php TEST @yield('content') income1.blade.php <b>CONTENT</b> class Manage...

0 Likes
1 Replies

turn off google prettify

im using some inline block divs and I need them to be without spaces between them. how to turn it of...

0 Likes
1 Replies
posted 12 years ago

Same-page content switching with Blade

Hey, just a quick question that I'm sure has been asked before but I don't have time to dig at the m...

0 Likes
3 Replies
posted 12 years ago

CSS not being found in public folder (L4, HipHop, Nginx)

I am trying to link my CSS and JS in my blade template but they are not working. I used: <link re...

0 Likes
2 Replies

Group result/collection by field

I'm pulling an actor from the database. In the actor's view I want to see a list of all movies my ac...

0 Likes
0 Replies

Returning records using withTrashed()

An Owner has many Cars... And in my blade page I have this... {{{$car->Owner->name}}} And tha...

0 Likes
3 Replies

How do I use foreign keys in my blade template file?

When I use {{ $hotel->userid->username }} in my blade templates, I get this exception. "T...

0 Likes
1 Replies
posted 12 years ago

How to handle development and production assets with gulp?

The title says it all. I know how to minify and concat all assets into one file for css and js, but...

0 Likes
5 Replies
posted 12 years ago

Apply Blade filters for string

What is I want to do is shortcodes like on WordPress. When I get post content from database I want t...

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.

© 2026 Laravel.io - All rights reserved.