I have a problem with paginate() with hasmany(). I have 2 tables. Categories and posts. I showing po...
I have a table named attendance and another named students_attendance. I add an attendance record to...
i've been able to construct a join and it works: $projects = Main::join('builds', 'mains.build_id',...
in controller : $push_arr = [ ...] $paginator = Paginator::make($push_arr, Category::count(),10); r...
DB::table('users') ->join('contacts', 'users.id', '=', 'contacts.user_id') ->join('orders', 'u...
Hi I've been using basset as my asset manager and am playing with gulp.js as an alternative to compi...
I am trying to install thomaswelton/laravel-gravatar Gravatar Helper and I am having a slight issue....
Would you do // Model public function getReceiver() { return $this->users()->where('user_i...
Here is my controller: public function stats() { $title = "Stats"; $stats = DB...
Hi guys! I've seen the http://laravel.com/docs/helpers link but I'm not sure if this is the complete...
I have a resource controlling one of my tables "fans". I have a view that shows the inform...
Hi , I am using ckeditor for textarea. It is working fine. But when we display description on fronte...
I'm starting with learn laravel and I have a problem with 1 thing. I want to create one controller w...
Hello everyone, I’m trying to start testing my controllers. I have a pretty basic controller which r...
As the title suggests, is it possible to have different pagination styles for for different views?...
I followed the installation guide here and on dev-metal to install Laravel 4. Apache2 is running on...
Hi! I am new to Laravel. I am trying to write my first application in Laravel. I faced a problem wit...
I want to implement a banner system on my app and I'm not sure how to call my getBanner($size) metho...
What Is Bootstrap CMS? Bootstrap CMS is a PHP CMS powered by Laravel 4.1 and Sentry 2.1. Bootstrap...
I have a paginate(7) on a result of 8. I do an ajax request on page load to initialize the jquery ui...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community