Support the ongoing development of Laravel.io →

1,473 Threads

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

Models and realtionships with a pivot table

Sorry for the noob question. I am using what I guess what is referred to a pivot table in Laravel 4...

0 Likes
0 Replies

[Tutorial] Clean menu management in Laravel4

Just wrote a tutorial on managing your menu's in Laravel 4. It goes over using View composers and Co...

0 Likes
0 Replies
posted 10 years ago

Shared variable in Laravel not available in layout

I have 3 levels blade structure: lvl 0 - master-layout - containing elements common accross all sy...

0 Likes
1 Replies

auto response email

hi all, can anyone provide me script for creating auto response email?

0 Likes
1 Replies

link_to_method/link_to using DELETE method instead of GET

Is it possible to create link to delete action which actually creates DELETE request instead of GET...

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