Support the ongoing development of Laravel.io →

2,049 Threads

Opinion on getReceiver

Would you do // Model public function getReceiver() { return $this->users()->where('user_i...

0 Likes
0 Replies

Passing hundreds of variables from controller to view

Here is my controller: public function stats() { $title = "Stats"; $stats = DB...

0 Likes
4 Replies

google plus share - curly brackets

I need to render a google plus share link in my project. I have the url data in my database and call...

0 Likes
2 Replies
Solved
posted 10 years ago

Where is the complete list/documentation of laravel helpers?

Hi guys! I've seen the http://laravel.com/docs/helpers link but I'm not sure if this is the complete...

0 Likes
2 Replies
posted 10 years ago

How to reroute a resource to include a different field besides $id in Laravel 4 (for custom URLs)

I have a resource controlling one of my tables "fans". I have a view that shows the inform...

0 Likes
3 Replies

Displaying content with html tags.

Hi , I am using ckeditor for textarea. It is working fine. But when we display description on fronte...

0 Likes
2 Replies

one view and 3 controllers

I'm starting with learn laravel and I have a problem with 1 thing. I want to create one controller w...

0 Likes
1 Replies

Passing POST variables to a view composer - how?

Hi all, I use view composers heavily throughout the app I'm working on. For example, one of my rout...

0 Likes
1 Replies
Solved
posted 10 years ago

[Controller testing] Problem with a view expecting some information from the controller

Hello everyone, I’m trying to start testing my controllers. I have a pretty basic controller which r...

0 Likes
0 Replies

Response::view VS Response::make(View::make) And Error Pages

Hi, I'm a newcomer to Laravel. I tried to create custom error pages for the application. I did follo...

0 Likes
2 Replies
Solved

Different pagination styles for different views

As the title suggests, is it possible to have different pagination styles for for different views?...

0 Likes
1 Replies

White Page after installation

I followed the installation guide here and on dev-metal to install Laravel 4. Apache2 is running on...

0 Likes
3 Replies
posted 10 years ago

Route::resource how to use?

Hi! I am new to Laravel. I am trying to write my first application in Laravel. I faced a problem wit...

0 Likes
2 Replies
posted 10 years ago

What is the proper way to call controllers from the view?

I want to implement a banner system on my app and I'm not sure how to call my getBanner($size) metho...

0 Likes
7 Replies

Bootstrap CMS

What Is Bootstrap CMS? Bootstrap CMS is a PHP CMS powered by Laravel 4.1 and Sentry 2.1. Bootstrap...

0 Likes
0 Replies

Blade templates and error (syntax error, unexpected end of file)

Noticed that after my last update (composer update) the web site app failed with the error above. So...

0 Likes
2 Replies
Solved
posted 10 years ago

Pagination

I have a paginate(7) on a result of 8. I do an ajax request on page load to initialize the jquery ui...

0 Likes
0 Replies
posted 10 years ago

Appending to head tag in master template from within included one

Is there any way to append head tag of parent template from within child template? Template structur...

0 Likes
3 Replies

After method just before template output

Hi there, I'm wondering if there's an after method equivalent that will run after my routed method,...

0 Likes
0 Replies

Loading certain javascripts

Hello, there. I was wondering how everyone handled loading javascript files in their various views?...

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