Support the ongoing development of Laravel.io →

1,467 Threads

One file for Create and Edit

Hi, How do I have only one file to be used in create.blade.php and edit.blade.php?

0 Likes
3 Replies
Solved

@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

@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 9 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 9 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 9 years ago

How to use HTML::linkAction() with Bootstrap glyphs?

I would like to have a logout button on my navbar. I have tried snippet below but it's not working {...

0 Likes
2 Replies
Solved
posted 9 years ago

Controller layout doesnt work

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

0 Likes
1 Replies

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

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.