Welcome Guest, Not a member yet? Register   Sign In
Shield problem with a view that extends a layout
#3

(09-03-2023, 12:12 PM)datamweb Wrote:
(05-14-2023, 10:37 AM)SalDeF Wrote: 2) example.php (view, if it extends a layout):

Hi @SalDeF, Apparently I understand that you intend to customize the controller. If this is your intention, please read extending-the-controllers because the provided codes are not the same as the instructions.

However, I am just answering your question. Proceed as follows:

PHP Code:
<?= $this->extend(config('Auth')->views['layout']) ?>
<?= $this
->section('main'?>
<h3>Example page</h3>
<?= $this->endSection() ?>
Thank you @datamweb for the answer. Unfortunately, since I couldn't solve the problem on my own, before your response arrived I switched to using a python-based framework to develop my web app. I hope your answer can help others ;-)
Reply


Messages In This Thread
RE: Shield problem with a view that extends a layout - by SalDeF - 11-07-2023, 12:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB