Support the ongoing development of Laravel.io →

1,479 Threads

posted 8 years ago

How can I parse Blade template from variable?

It's possible to parse Blade template from other source than .blade.php file? In my app user can bui...

0 Likes
0 Replies

Get all files for form

Hello everyone, How can I get all files from a specific folder to output in the select form field. h...

0 Likes
1 Replies
Solved
posted 8 years ago

How to Count() a collection with a "where" clause.

Hello, I've a collection (tasks) and I want to count inside may blade template only completed tasks....

0 Likes
4 Replies
Solved

How to easily define relationships of a pivot table where the third column is a foreign key to another table.

I am new to laravel 5. I have been working on a client app where I have setup a relationship like so...

0 Likes
0 Replies

validate relationship model

I'm trying to have the Model (Class) validate itself. Boiler code: public function validate() {...

0 Likes
3 Replies

How to attach many blade templates into one view without using @include()?

Hi, I'd like to find an alternative way to include the collections of sub views in one view. Here is...

0 Likes
0 Replies

Paginate Error 404.

Hello guys , I installed my laravel 5.1 application on a shared server for it was necessary to copy...

0 Likes
0 Replies

Laravel 5 XML Parser

I have created a storelocator.php in my view with the following code : <?php $dom = new DOMD...

0 Likes
0 Replies

Button to delete database item

If in my Blade template I had this: @foreach($entries as $entry) <li>{{$entry->filename}}&l...

0 Likes
6 Replies
posted 9 years ago

Laravel Localization Question - Not being inherited

so if I have a master blade named master.blade.php like such: {{$app->getLocale()}} @yield('conte...

0 Likes
0 Replies

Serve CSS and JS from outside of public folder

I understand this sort of breaks the structured point of Laravel, but there is method to my madness....

0 Likes
0 Replies

blade doesn't process string in jquery callback function if the js file is set alone in public/js and removed from html

I have a jquery function that renders some part of the view with data after a successful ajax post r...

0 Likes
9 Replies

@inject method throws error on live server

I am developing a laravel 5 app. In my code I inject a class that I created in App/Utilities/class.p...

0 Likes
1 Replies

jquery datetime picker problem.

Hi I am using jquery datetime picker in my site. this is my code: <link href="/blog/public/c...

0 Likes
11 Replies
Solved

Recommended strategy for regenerating complex / dynamic forms

We have a form that is built on the client side using an HTML template and Javascript, As informat...

0 Likes
0 Replies

Sessions issue in blade on server hosting

i have a blade in which i have a div. the div gets the data from session. also on the same blade i h...

0 Likes
0 Replies

Data from one view is shared with all views.

Hello, I have recently installed laravel debugbar (https://github.com/barryvdh/laravel-debugbar) and...

0 Likes
2 Replies

How to use @include() right way?

I have this basic structure in my blade file <div class="container1"> //some cont...

0 Likes
2 Replies

includes vs. sections for extra css and js

What advantage, if any, is there to using sections over includes (or vice-versa) for things like pro...

0 Likes
0 Replies

Troubles with Arrays, Undefined offset: 0

I have a object ($project) in Blade. When I do a {{ var_dump($project) }} I get: object(stdClass)[60...

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