Support the ongoing development of Laravel.io →

1,478 Threads

Error: file_put_contents failed to open stream

I'm just new in laravel. I'm using laravel 4.1, I encounter this error sometimes. {"error"...

0 Likes
3 Replies
Solved

Eloquent relationship passing array to view

Hi. Using this structure: http://stackoverflow.com/questions/20801859/laravel-eloquent-filter-by-col...

0 Likes
0 Replies

link_to_route error

Hi guys. I have a link to route like this in my application view {{ link_to_route('categories.creat...

0 Likes
2 Replies
Solved
posted 10 years ago

Simplifing Code in View

I am using this in my view to show banners... @include('partials.randomBanner', array('category' =&g...

0 Likes
1 Replies

Variable assignment

Hi! Is there an elegant way to do this? {{--*/ $wp = '' /*--}} <tbody> @foreach($tasks as $tas...

0 Likes
4 Replies
Solved

get controller and action name in your template?

i wonder if how i can get the Controller name and Action name in the Blade template/View? Thanks in...

0 Likes
1 Replies

Windows cant find views having dot

I tried to create a view password.remind.php and I get error not found. Then renamed it to password...

0 Likes
2 Replies

Package to generate and synchronize lang files

Hi ! I have written a package to generate lang files for you. Write your templates, controllers, ......

0 Likes
0 Replies

Return type of Event::listen in Laravel?

I test Event::listen('test', function () { return 'hello'; }); // and $event = Event::fire('...

0 Likes
2 Replies

Error rendering view: [user::profile.profile]

Hello everyone! I receive the following error: Error rendering view: [user::profile.profile] Trying...

0 Likes
5 Replies

Array to string conversion on Session::get

Hi, this is my store function in UserController public function store() { $activation = str_random(...

0 Likes
1 Replies
Solved

Using delete form in modals (TW bootstrap)

Hi all, I have issue when trying to delete using modal windows confirmation popup. Inside that confi...

0 Likes
6 Replies

optgroup select box

I've found a few examples of using optgroup, but they all seem to be missing what i'm looking for In...

0 Likes
0 Replies

Override a value set in a View Composer

I have a view composer with some data being assigned default values, ie 'page_title'. In my controll...

0 Likes
1 Replies

Dynamically reload table within page via AJAX and change browsers' url accordingly

I've got a table inside a page. The data it displays will rely on a few parameters given (filter for...

0 Likes
2 Replies

stupid blade question about parent id

i'm sure this is simple, but need help i have products, with a foreign key of category_id and i have...

0 Likes
2 Replies

Where to put Form::macro() and create chain method (param) on it?

Where to put Form::macro()? And I would like to use chain method on it like this: Form::myField()-&g...

0 Likes
0 Replies

How to use layouts

Hello everyone. I just installed my first Laravel 4 application, i would like to create a starter p...

0 Likes
2 Replies

Can't use data in @foreach etc. anymore

I've got a controller exposing object-data to a view: $artifacts = Artifact::with('product'); return...

0 Likes
2 Replies
Solved

Best practice to share meta tags from database using blade template

I have a master blade layout with meta_keywords, meta_description and title tags and want to populat...

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