Support the ongoing development of Laravel.io →

2,049 Threads

Passing multiple db variables from Controller to View

return View::make('home')->with(array('posts' => $posts)); The above is working for me, so I...

0 Likes
7 Replies
Solved

What is the proper way to isolate data processes in sub-views?

Hi everyone! I have a sub-view (which i call widget) in my pages which accepts a parameter, and this...

0 Likes
9 Replies
Solved
posted 10 years ago

Blade Fails to interpret @extends structure

Laravel 4.1.21 This does not happen every time but for a few template files only. Template File...

0 Likes
4 Replies
Solved
posted 10 years ago

Using jquery mobiles date widget

Jquery mobile has a nice form-element called: "data": <input type="date" data...

0 Likes
1 Replies
Solved

Throw new NotFoundHttpException("Controller method not found.");

I have: class ProfilesController extends BaseController { public function getTest() { return Vie...

0 Likes
6 Replies
Solved

Is there a reason for using URL Helpers?

Lets start with three examples: <link rel="stylesheet" href="assets/css/app.css&qu...

0 Likes
3 Replies
Solved
posted 10 years ago

Basic MVC Check Request

I am now trying to learning objects, classes and correct MVC in Laravel. Basic MVC Check Would anyon...

0 Likes
1 Replies

Show only 'courses' that 'user' has created

Hey, I'm trying to build a query where I want only courses that belong to a user_id are displayed. H...

0 Likes
4 Replies
Solved

jquery mobile simple form route does not work

I have this view code (hello.php) <!DOCTYPE html> <html> <head> <meta name=&quo...

0 Likes
3 Replies
Solved

Multiple queries same view/controller

I'm very new to Laravel and kind of new to PHP. So if my terminology is off or I don't give enough i...

0 Likes
4 Replies
posted 10 years ago

Getting all routes

im playing around with building an api, and im at a point where i want to be able to get all routes...

0 Likes
3 Replies
Solved

Filter own threads

Considering you got this "Open" and "Solved" filters at the top, would be nice i...

0 Likes
5 Replies
posted 10 years ago

URL::route - how to get the explicitly named GET params?

Hi, I have the route defined the next way: Route::controller('datacatalogue', 'DatacatalogueControll...

0 Likes
5 Replies

foreach on eloquent from last to first

I have a post object that has comments: $post->comments now when I do a select on the comments Im...

0 Likes
2 Replies
Solved
posted 10 years ago

Extending a view seems reversed to me?

common.front_initial.blade view <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3....

0 Likes
1 Replies
posted 10 years ago

machuga, ShawnMcCool, daylerees biased to me

These people kick me when they see me in the IRC room. I can understand when it makes ShawnMcCool he...

0 Likes
6 Replies
Solved

How to save XML response output to file for uploading with SSH::into()?

In my controller I have the following with $registration_data coming from the database and the xml.i...

0 Likes
1 Replies

json_decode returns null on reponse:json string on 'local' API

However if I do return $response; all the data is perfectly displayed. It seems like json_decode onl...

0 Likes
0 Replies

Foundation CSS framework dropdown menu is not working correctly

Hi, I am trying to use foundation CSS framework with laravel. Most of the things work fine. The firs...

0 Likes
3 Replies
Solved

Default value for all Eloquent attributes

Hi, I'd need to set a default value for any Eloquent model attribute. So, for example if I try to ge...

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