Welcome Guest, Not a member yet? Register   Sign In
Dynamic menu with template
#1

(This post was last modified: 11-18-2021, 01:48 PM by pippuccio76.)

Hi , this is my layout :

Code:
<?= $this->include('templates/header_admin') ?>

<?= $this->renderSection('custom_css') ?>

<?= $this->include('templates/menu_admin') ?>

<?= $this->renderSection('content') ?>
   
<?= $this->include('templates/footer_admin') ?>

<?= $this->renderSection('script') ?>

<?= $this->include('templates/end_html') ?>
 

I want insert a method called for every page (menu is the same for every controllers) , where put i the method to be accessible for every  view ?
Reply


Messages In This Thread
Dynamic menu with template - by pippuccio76 - 11-18-2021, 01:45 PM
RE: Dynamic menu with template - by InsiteFX - 11-19-2021, 03:16 AM
RE: Dynamic menu with template - by pippuccio76 - 11-19-2021, 03:25 AM
RE: Dynamic menu with template - by MGatner - 11-21-2021, 05:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB