Support the ongoing development of Laravel.io →

1,479 Threads

posted 9 years ago

How to pass variable back from @include blade template?

Hi, I'm wondering how do I pass the variables set in an @include back to the calling blade template...

0 Likes
0 Replies

Possible to auto generate forms based on model.

As the title says, would it be possible to define the field types etc in Model array so view can aut...

0 Likes
1 Replies

how to change named routes from route just not in all pages in laravel ?

Hello, how to change named routes from route just not in all pages in laravel ? Route::group(array('...

0 Likes
3 Replies

Display threads with order by post (like higher ID)

I'm building forum. But I need help about building the forum display page. <?php $teemad = DB::ta...

0 Likes
1 Replies

link_to() showing URL-encoded route parameter

Hello, I am setting up an app that's able to handle localized prefixes. I am basically using a tweak...

0 Likes
0 Replies

Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException error in my form

I wrote a simple form as shown: <!doctype html> <html> <head> <meta charset='ut...

0 Likes
2 Replies

convert dropdown list from php code to laravel blade code how?

Hello, I need convert dropdown list from php code to laravel blade code <label> <span&...

0 Likes
1 Replies

how to send value for options in dropdown list from array

Hello, how to send value for options in dropdown list from array, or how to convert output this code...

0 Likes
4 Replies
Solved

Converting a DB-object into an array (for form use)

Hi, i use this $data['cities'] = DB::select("SELECT ..."); return View::make('test',$citie...

0 Likes
4 Replies

Carbon add number of days excluding weekends and custom dates

Hi, I'm trying to get a a date that is 3 days from the selected date, but excluding weekends and hol...

0 Likes
2 Replies
Solved
posted 9 years ago

Reading an array..

I am trying to read an array from an output generated thru a database query in view.. The data is co...

0 Likes
3 Replies

Object not found

I hope someone here is excellent in using XAMPP. I've started using XAMPP and when I try to go anoth...

0 Likes
2 Replies
Solved

Blade extend

Hi, I know it is possible to extend blade like this: Blade::extend(function($view, $compiler) { $pa...

0 Likes
4 Replies
Solved

[Pacakge] Menu builder for Laravel

I've extracted a class for rendering menus and menu items that I'm using in my projects to a separat...

0 Likes
0 Replies
posted 9 years ago

Calling controller method from Blade templating

Is is possible to call a controller method from a blade template. For Instance we can do this {{Auth...

0 Likes
3 Replies

Removing the :8000 from artisan serve

Is there a way to remove the :8000 from the artisan serve so that I only get test.com instead of te...

0 Likes
4 Replies

Use of View::composer

Hi. In a controller method i got a patient record from database that i send to a view, so, i need to...

0 Likes
6 Replies

Laravel - Overwrite Blade Template with another

I'm using Laravel 4.1.30 I was wondering if it's possible to to overwrite a template with a differen...

0 Likes
1 Replies
Solved

form::select and optgroup

does anyone know how to add an optgroup to the form::select with multiple ?

0 Likes
1 Replies

Styles on Blade instead of File (.css)

Hi All Should it be a good idea to instead of storing custom style on .css use and import blade file...

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.