Support the ongoing development of Laravel.io →

494 Threads

posted 10 years ago

Rendering controller action in layout

I'm trying to make an application where on every page I'll have some top rated news. So, in my blade...

0 Likes
2 Replies
Solved

Display 'Category' names of posts

Hi, I have 3 tables in my database listings (id, title) categories (id, name, parent_id) category_l...

0 Likes
1 Replies
Solved

Issue with Grabbing data

$data = array( 'name' => Input::get('name') 'itemCart' => Cart::conte...

0 Likes
1 Replies
Solved

Passing variables to blade [Undefined Variable]

I've been at battle with this for a while now and decided it's high time I requested some help. The...

0 Likes
7 Replies
Solved
posted 10 years ago

CSS not loading

Currently using laravel 4.1 in a new project. My problem is, CSS which i'm using in my VIEW files ar...

0 Likes
4 Replies
Solved

How to return a single value from a scope?

This is what I have done so far: public function scopeCityName($query) { return $query ->join...

0 Likes
1 Replies
Solved

Problem with session and view data

Hi, This is my controller: return View::make('realestates.single') ->with('title', trans('na...

0 Likes
3 Replies
Solved

Pagination help

Hey there everyone, I'm pretty new to Laravel and MVC frameworks in general. I'm struggling to make...

0 Likes
2 Replies
Solved
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

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

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

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
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

Error validation : Replace label attribute in error message

Hi, I have this code in my_view.blade.php : <div class="row"> <div cl...

0 Likes
1 Replies
Solved

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

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

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

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

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.