Support the ongoing development of Laravel.io →

1,478 Threads

posted 10 years ago

Controller layout doesnt work

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

0 Likes
1 Replies
posted 10 years ago

Blade layout file inside "src" directory

I want all my project files to reside inside the src directory. Currently, my default layout is insi...

0 Likes
1 Replies
Solved

blade template hidden field value

Hello to every one, I am trying to get a value and put it on hidden field on laravel blade. here is...

0 Likes
3 Replies
Solved
posted 10 years ago

@yield() vs @section @show

What's the difference between @yield() and @section() @show They both are placeholders for the sec...

0 Likes
3 Replies
Solved

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 10 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 10 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
posted 10 years ago

BLADE ECHOING

What is the difference between {{ }} and {{{ }}} when echoing?

0 Likes
1 Replies
Solved

'[ErrorException] Undefined index:' from artisan dump-autoload, problem in Illuminate/View/Factory

When I run artisan dump-autoload it gets this error and stops: Generating optimized class loader Com...

0 Likes
1 Replies
Solved

Controller that affects all views

I don't know how to name the thread better than that, what I need is this: I have a master blade fil...

0 Likes
10 Replies
Solved

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
posted 10 years ago

How do I Echo the View Filename as an ID?

I am pretty new to Laravel and have a fairly basic question. In my default.blade.php I have a <di...

0 Likes
11 Replies
Solved

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 10 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 10 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
posted 10 years ago

Escaping blade content

How do I escape blade content? I'd like to output @extends('blah.blah') in the output, but not sure...

0 Likes
1 Replies
Solved

Merge 2 Different Collection structure.

I have a news feed that currently is displaying with a structure of what seems to be similar to face...

0 Likes
1 Replies

Translation per User

Hello, I work on a BrowserGame who wants to Support many Languages. But now i run into a Problem and...

0 Likes
1 Replies
Solved
posted 10 years ago

Inject PHP into a blade?

Is it possible to inject PHP into a blade? A lot of my pages are the same, except for the controller...

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