Support the ongoing development of Laravel.io →

2,053 Threads

posted 10 years ago

Passing $variables to multiple views?

Hey guys, Another newb question from me here. I have these articles that I currently fetch from my d...

0 Likes
7 Replies
Solved

Laravel 4, Ajax and Dojo Toolkit's AMD features

Is anyone ever tried implementing the dojo toolkit AMD with laravel 4, or could anyone please point...

0 Likes
1 Replies

Only allow specific user to edit/delete post

Hi guys, Im trying to do so that only the author of the post can edit and delete it from the list wh...

0 Likes
7 Replies

Renaming create method() ??

Hey guys, I have this controller performing some CRUD tasks. My question is, if there is any way to...

0 Likes
3 Replies
Solved
posted 10 years ago

How to add class to a select options

Can we add a class or something else to a <option> in Laravel 4 ? I try to use deboostrap prop...

0 Likes
1 Replies

How to cache specific related model info?

Hi, Let's say a User belongsTo a Language, and to make it simple here's the controller (no repo) : $...

0 Likes
6 Replies

Redirect After Setting Response

Hi guys! I have a problem with my Response. I am generating a .ics file setting the headers and cont...

0 Likes
0 Replies

View data in Controller or View...

Hello, there. I have a table of users, and when you click on a Details button for a particular user...

0 Likes
1 Replies

dont show error if relation not exist , just show empty field.

Hi i have controller and i am taking data like this $events= Eventm::with('teacher')->get(); th...

0 Likes
1 Replies
Solved
posted 10 years ago

HTML::image : image rotates automatically

Hi, I have a problem with the function HTML::image(). When i use it with a heavy image (more thant 1...

0 Likes
2 Replies
posted 10 years ago

GroupIn Method for Collection

First of all, English is not my primary language and if the group in term is wrong for what I'm tryi...

0 Likes
1 Replies

Getting data of model related as an array

Hi... maybe it's a newbie question... these are my first steps with Laravel.. suppose I have in Post...

0 Likes
2 Replies
Solved

Mobile & Desktop Pagination

It's possible to have two pagination settings for mobile & desktop? app/config/view.php If mobil...

0 Likes
1 Replies
Solved

[Packages] Meta (Makes it easy to add meta tags to your views) and Shareable (Simple social sharing buttons for views)

Hey everyone, I released a package today that some of you may find helpful. It's called Meta, and it...

0 Likes
1 Replies
posted 10 years ago

ErrorException Creating default object from empty value

http://www.codeheaps.com/php-programming/creating-blog-using-laravel-4-part-1/ I followed this great...

0 Likes
5 Replies

paginate() problem

I have a problem with paginate() with hasmany(). I have 2 tables. Categories and posts. I showing po...

0 Likes
2 Replies

One to many relationship help

I have a table named attendance and another named students_attendance. I add an attendance record to...

0 Likes
3 Replies

rendering data of a join query

i've been able to construct a join and it works: $projects = Main::join('builds', 'mains.build_id',...

0 Likes
1 Replies
posted 10 years ago

{{trans('messages.title')}} use vars something like $title

Hi, Is it possible when I translate a title like {{trans('page.title')}},receive the value 'title'...

0 Likes
3 Replies
Solved

manual pagination

in controller : $push_arr = [ ...] $paginator = Paginator::make($push_arr, Category::count(),10); r...

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.