Support the ongoing development of Laravel.io →

2,053 Threads

Menu loading pages with AJAX using blade template

Hello people. First of all sorry if my english isn't perfect... is not my native language, but i thi...

0 Likes
1 Replies

Can you use php code like this inside a blade @extends method?

Can you use php code like this inside a blade @extends method? I don't think this code works please...

0 Likes
0 Replies

How do I do a conditional check of a value from an array to decide the layout?

How do I do a conditional check of a value from an array to decide the layout? This is the error I g...

0 Likes
4 Replies

When pressing a button show message on screen

Hello guys, I am a newbie in laravel 4. When pressing a button I want to display a message on the sc...

0 Likes
3 Replies

Include content in blade from controller

Hi, Could I include a result from a function of controller o route inside of a part of view blade wi...

0 Likes
4 Replies
Solved

implement autoloaded helper function into a link with various content

Hi everybody, I am starting with Laravel and I ran into a problem with generating a link. The link I...

0 Likes
0 Replies

Api for managing html/json/pjax

Hey everyone. I've been building one-page apps a long time now (in the grand scheme of things), for...

0 Likes
0 Replies
posted 10 years ago

Loading multiple views form the same controller

Hi; 3 questions: 1 - I am trying to load multiple views from a controller but it doesn't seem to wor...

0 Likes
6 Replies

ErrorException (E_UNKNOWN) Declaration of ....

Hello, I have this error on my deployed version it was working, I wanted to use simple sms so I inst...

0 Likes
2 Replies

Guidance Required.

Good afternoon, I am relative new to the Laravel frame work and I have been working my way through t...

0 Likes
0 Replies

Use Eloquent to attach array to query

I have a USER table, and ITEMS table, and a Likes table. I'm randomly taking 9 items from the Items...

0 Likes
2 Replies

Adding class to {{Form::select

Currently I have this code: {{Form::select('schoolId', $schools)}} But I need to add a class.. I tri...

0 Likes
1 Replies
Solved

Compiling Laravel View in Controller?

I'm currently using Handlebars.js to compile views with ajax data. The issue is that I can't use Lar...

0 Likes
1 Replies

Placeholder in password form

Is there any way I can show a placeholder in a password form? I'm talking about this: {{Form::passwo...

0 Likes
4 Replies
Solved

Redisplay view based on dropdown selected value

In my first Laravel application, I want my Tunes view to display a table of the titles of songs base...

0 Likes
1 Replies
Solved
posted 9 years ago

Adding class to img helper?

I have this: {{ HTML::image('css/img/logo.png');}} But I need to add a class to this image. Tried t...

0 Likes
1 Replies
Solved

Cleaning up controller and views

My controller and view code is getting messy. This post is more of a general question as to what oth...

0 Likes
3 Replies

Create helper to display active or inactive for boolean value

Hi, Rather than use an if statement in my view, is there a way I can display the text using a helper...

0 Likes
0 Replies

Eloquent join 2 or more table with group by

So, i tried to join 2 table (or more, but in this question i will try join only 2) and want to group...

0 Likes
0 Replies

Custom blocks with Blade

Is it possible to use the Blade::extend functionality to create custom blocks? For example, I'd like...

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