Support the ongoing development of Laravel.io →

2,053 Threads

posted 9 years ago

Functions with Laravel 5

I have some function which I need to call in my view(comment.bade.php) and return $id, this is funct...

0 Likes
1 Replies

optgroup remove

My model: class Boxstyle extends Eloquent { protected $fillable = array('BoxStyle'); my table...

0 Likes
0 Replies
posted 9 years ago

PHP code not being evaluated in blade templates

After upgrading to a new version of PHP (from 5.4.7 to 5.6.3) my Laravel Blade templates do not eval...

0 Likes
2 Replies
Solved

very simple

I have a controller: $boxstyles = boxstyles::lists('boxstyle', 'id'); Model: protected $fillable = a...

0 Likes
3 Replies
posted 9 years ago

Ternary statement L5

Hi, {{\Auth::user()->nickname or \Auth::user()->firstname}} returns 1 while //works {{\Auth::...

0 Likes
0 Replies

Send Query from Controller to Nested View

Hi, I'm very new to laravel and started with laravel 5. I'm currently facing trouble where I can't s...

0 Likes
0 Replies

how to return json data to view ?

Hello, How to return Json Data from function in controller to view Here is function public function...

0 Likes
3 Replies
posted 9 years ago

Where I should place Blade::extend in Leravel 5?

Hello. I tried to place Blade::extend to bootstrap/blade.php. Then I require this file in bootstrap/...

0 Likes
1 Replies

white screen when using Form::model using Laravel 5

I seem to be having an issue using Form::model My controller looks like: in public function edit(T...

0 Likes
1 Replies

using link_to_action in a blade template

Hello All, new to Laravel and having A LOT of fun with it so far. Using laravel 5 for what it's wor...

0 Likes
2 Replies

Create widgets on a website - View Composers?

My website has multiple data widgets that can be rendered for the user. These widgets are sub-views,...

0 Likes
1 Replies

Laravel 5 not using Blade views

Hello, I'm new to Laravel and wanted to try it today. After installing everything that was neccessar...

0 Likes
2 Replies
Solved

Views count | Twig Laravel Environment

How can I count the views for a post in Laravel+Twig Env?

0 Likes
2 Replies

Add suffix to my pages

Hello everybody, How can I add a suffix to my pages ? like localhost:8000/users/add.html for exemple...

0 Likes
4 Replies

variables undefined

I have script: $("#consigneeBtn").on('click', function() { var id = document.getElementByI...

0 Likes
0 Replies

Pagination?

Ok so I swear this was working about 2 months, but I have returned to the project, run composer upda...

0 Likes
6 Replies

Improve for my sortable table approach

Hello everybody I had to create a sortable table. I've described my solution here: https://janikvonr...

0 Likes
0 Replies

How to Load filtered data without reloading the whole page in laravel

I have an application in which I have to filter data based on the item selected from the select box....

0 Likes
0 Replies

Application Debug Mode

app/config/app.php 'debug' => false, I set debug to false on live application. How do I enable...

0 Likes
4 Replies
Solved

Dynamism on Views rendering: Composers vs Helpers (vs Other?)

Hello Laravelios :) As many of the users here, I'm getting into Laravel and try to switch to it as m...

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.