Support the ongoing development of Laravel.io →
posted 8 years ago
Blade
Last updated 2 years ago.
0

you have that the wrong way around... in the base template you should have yield(views)

and in the other template using the base u do section(view...)

but i/we need more info on why u want to divide it by 5? is it to you want to display 5 divs in a row? and then ending that row.. & starting new one?

0

I need to add value to var:

if the views divide by 5 then var1 =xxxx and var2=yyyyy if not, then var1=cccc and var2=ddddd

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Medow medow Joined 25 Sep 2015

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.