Support the ongoing development of Laravel.io →

1,478 Threads

How to: Get first N objects in foreach loop

Is it possible to get first Nth ojects in foreach loop. For example i have foreach loop with movies...

0 Likes
1 Replies
Solved
posted 8 years ago

@include w/ sections

If have several templates laid out like this-> Layout <- View -> Template I have multiple t...

0 Likes
1 Replies
Solved

How to add Godaddy SSL Certificate security seal to footer.blade.php

I'm a newbie but I really need to add the display code I received from Godaddy to the footer and I'd...

0 Likes
5 Replies
Solved

Use include the right way in blade

Laravel 4.2 I am trying to include pages depending on the page URL like so @if(Request::path()==&quo...

0 Likes
1 Replies

Compare variables (blade template)

Hello guys, Trying to compare 2 variables in my view In my controller $files = \File::files('images'...

0 Likes
4 Replies
posted 8 years ago

using Request::path() and @include instead of if(isset($_GET)) and switch in laravel

in native PHP I use to do this $var = isset($_GET['val']) ? $_GET['val'] : 1; then switch case 1: in...

0 Likes
5 Replies
Solved

Are looking to get rid of the hair

If you are looking to get rid of the hair from your hands and legs you should approach the beauty pa...

0 Likes
0 Replies

Exit with code 1 due to network error: ContentNotFoundError

Hey, I'm trying to export blade.php as pdf with Laravel-snappy When I try to access that, Error in t...

0 Likes
2 Replies

Laravel @include returning redirected view upon a 401 error

I am using the laravel @includes in my blades, which is fine, but when a user's session expires, and...

0 Likes
0 Replies

how to concatenate variable in blade template

I have declare a variable in blade template, now i need to concatenate it in style sheet path. I wan...

0 Likes
2 Replies
Solved

Recursive menu

Recursive menu, created this menu and is working as I want, but the is that it is creating two eleme...

0 Likes
0 Replies

Form Model Binding - adding a class to form field

I have a simple form. In my blade view, I open it like this: {{ Form::model($alum, ['route' => ['...

0 Likes
4 Replies

Select from two tables and show everything

I want to show on the page data from two tables but with a little condition and I can't figured it o...

0 Likes
1 Replies
Solved

Easy endless scrolling via jQuery.jscroll and Laravel paginator

I stumbled onto this suuuper simple way to initialize an endless scroller through jQuery Here is the...

0 Likes
5 Replies

Display Json Format

Hi : i have this format : [M] => stdClass Object ( [CUsed] => 0 [CLeft] => 0 ) [D] => st...

0 Likes
1 Replies

views_@yield

Hello, I have implemented a simple code just to try using "@yield", that is the code: -The...

0 Likes
5 Replies

how to call parametrized javascript function for onclick attribute of Form::button

I tried creating a list of buttons for adding symbols to a text area in a form. loop in blade.php fi...

0 Likes
0 Replies

Why no alert is showing in Laravel 5?

this is my PostController.php, <?php namespace App\Http\Controllers; use Illuminate\Http\Reques...

0 Likes
1 Replies

How to refresh a page without Refreshing Master Page

Hi all! When I go to another page, my command line shows me information that is always loading all j...

0 Likes
5 Replies
Solved

How to load JS/CSS files in Master Page 1 time and use them through all pages?

Hello! I have all <script></script> files loading in the Master Page When I change the c...

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.