The content doesn't show up when i posted in @section('content');

  Wed 29 / 03 / 2023

  Posted by: Moza AlKaabi

Category : Php

Tags : laravel , php , php laravel , web , backend

Post Thumbnail
Description

the content doesn't show up when I posted in @section('content'); 


what should I do in this case? I Check from:

 @section('content') and @endsection

@extends('layout') 


^^ all is good.


View Code
                        @extends('layout.website')
@section('content')
 <!-- ======= Hero Section ======= -->
@endsection
                
  Answered by CDL

code was working fine but @yield() was not added in the proper place so that's why it's reflecting in a different place.

The issue was solved by customer support.

Solved
  Comment   Share
0 Likes   2 Comments


comment-author
Hadayat Niazi Super Admin

@Moza your code looks fine, we can understand it's very important for you to solve this error. Our team will contact with you and solve your issue through anydesk. Please share your preferable time, so we will arrange the meeting



Reply


commented 1 year ago
comment-author
Moza AlKaabi Author

if we can meet @12:00 pm uae time



comment-author
Hadayat Niazi Super Admin

You uploaded website.blade.php image above, please attach the both blade files in the code section. Copy their code and add them into the code section. Thank you



Reply


commented 1 year ago
comment-author
Moza AlKaabi Author

i did