Support the ongoing development of Laravel.io →

1,481 Threads

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

Enable Blade by default

Hey guys, is it possible to enable Blade by default, without having to name file with .blade.php ext...

0 Likes
0 Replies
posted 10 years ago

Question about Overwriting Sections

hay, i can't understand this part in laravel doc when they said : Overwriting Sections By default, s...

0 Likes
0 Replies

[Package] HtmlBuilder extension

Hi, to speed up some view creation i extended Illuminate\Html\HtmlBuilder with other methods as: fa...

0 Likes
6 Replies

Get Current Url Parameter

I want to get Current url parameter in vie. Let my url is mysite.com/public/user?page=2 Now I want g...

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