0
Well, I have a site in progress in the programming language of Laravel. In my welcome.blade.php I created a @yield so-called sides
After the creation of that yield, created the folders in my directory:
resources/views/sides/homepage and put my files apart into three .php
With the creation of these files I added the following command line:
@extends('welcome')
@section('sider')
meu conteúdo
@stop
in each of them, now I would like to know how to call the three files separately within a single yield by entering the page.


It’s a mixture of
sidesandsiderI even got dizzy, but, like this, if each file is a template that extends fromwelcome, how do you want to display 3 different layouts? it seems to me that it should not even beyield/sectionthere; aincludemaybe?– Woss
Well, I would like to display separately, because when changing page will not be displaying the same side menu always, will change according to my needs. So I want example:
Página Inicial - 2 menus, subpages3 menus diferentes dos das páginas inicialmore or less in this sense know ...– AnkFlix
So your code should already do that; what’s the problem?
– Woss
There you are, why are you separated like this, when I call the
@yieldhe asked me to call onroute/web.phpI don’t know how to create that call inside theview, 'Cause I can only call oneviewat a time, for example:return view('sides/homepage/requests')being that I wish to call more or less so:return view('sides/homepage/requests', 'sides/homepage/support')and so on– AnkFlix
But you want to call one at a time because you want to show off separately, don’t you? It’s getting more and more confusing.
– Woss
Calm down let me see a way I can explain to you without confusion, calm down ...
– AnkFlix
Okay, I think that makes it better for you to understand, look at the outline: https://imgur.com/a/qfrfxKg
– AnkFlix
Exactly. If each page is loaded separately, simply call the respective view.
– Woss
Got it ... Grateful!
– AnkFlix