Support the ongoing development of Laravel.io →

2,053 Threads

Model relationship Eloquent (newbee)

Hi Guys, I'm recently decided to make a switch to start coding with Laravel. I will try to specify m...

0 Likes
2 Replies

include('folder.$var') <<-- not working

Hello everyone, I want to use the blade include function so I can call a dashboard page. Now I know...

0 Likes
2 Replies
Solved

Using AJAX or CURL?

I am using the expedia API and I can send request using CURL. Using Laravel 5, am I better to stick...

0 Likes
0 Replies

Best practices for responsive view?

#Background My Controller is loading several items (from an Eloquent Model) and passing them into th...

0 Likes
0 Replies

2 different error page for admin and public

Hi, Is there anyway to make 2 error page? so there is 1 error page for public and another one for ad...

0 Likes
2 Replies

Problem link boostrap in my html-blade page

Hi, I use laravel 5.0 and i have read in many guide Laravel 4 that for include css i can use in the...

0 Likes
1 Replies

How to print multilines in Blade 101?

When i try to print using blade syntax {{ $var }} "this is test" from database column type...

0 Likes
2 Replies
posted 9 years ago

Javascript events not firing

I have a this javascript for testing with an alert message to tell me the event is firing. <scrip...

0 Likes
0 Replies

Sending error messages from Handler.php for Ajax calls.

The database save is happening from ajax call and I am using hanlder class to validate database exce...

0 Likes
0 Replies

Laravel lang from another path

Hello there. I want to create a multi site with multi languages support. All`s good for now: i cre...

0 Likes
1 Replies
posted 9 years ago

How to use {{-- --}} Blade comments with L5 if keeping the L4-style output/escaping tags?

I find that a lot of the output I do in my views shouldn't be or doesn't need to be escaped. After...

0 Likes
0 Replies

L4 - unable to get custom pagination to render

I have a view in (inbox/pagination.blade.php) Here is the contents @if($paginator->getLastPage()...

0 Likes
0 Replies

Autentication for specific view content

Laravel allows us to specify auth for entire controllers as well as individual methods. My question...

0 Likes
2 Replies

Method Illuminate\View\View::__toString() must not throw an exception

I'm getting this error Method Illuminate\View\View::__toString() must not throw an exception My cont...

0 Likes
0 Replies

Response and intervention image

Hello All, I'm trying to show an image using the Response class, Route::get('/', function() { $i...

0 Likes
4 Replies

url to route

<a href="{{ URL::to('home/otherpage', $params) }}"> I need help with how to provide the value...

0 Likes
5 Replies

how to pass json to javascript in laravel

Hello, how to pass json to javascript in laravel this value $salename=json_encode($oSales); resua...

0 Likes
1 Replies

Controller Inter-Communication and Instantiation

Hello everyone, I just started with Laravel 5 a few day ago and I like most of the things it brings...

0 Likes
0 Replies

Printing best practice

Hi All, Is there a Laravel best practice with regards to printing? ie. Should separate 'printable' v...

0 Likes
0 Replies
posted 9 years ago

laravel.com, one title on all pages

on all pages displayed the same title. So for me it makes a difficult navigation when the browser is...

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.