Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //in Layout.ctp
- <section class="content">
- <?php echo $this->fetch('/Common/contentHeader');?>
- <?php echo $this->fetch('content'); ?>
- </section>
- //in /Common/contentHeader.ctp
- <section class="content-header">
- <h1>
- <?php echo $this->fetch('title'); ?>
- <small>Control panel</small>
- </h1>
- <ol class="breadcrumb">
- <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
- <li class="active">Blank page</li>
- </ol>
- </section>
- //in my view with content
- <?php $this->extend('/Common/contentHeader'); ?>
- <?php $this->assign('title', 'View Asset'); ?>
- <?php $this->start('contentHeader'); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement