This object is in archive! 
Upvote 1

Custom footer.phtml ignored when top-bar.phtml is included.

Archived Liam Bowers 10 years ago

We're currently trying to incorporate Use Response with our own template but it would seem that when the following line is included within the header.phtml:

  1. <?php echo $this->render('layout/top-bar.phtml') ?>

Then our footer.phtml is not run.

Any ideas?

Thanks in advance,

Liam

Replies (1)

photo
1

Liam,

You need to specify your theme path additionally.

Use this snippet in your custom header.phtml:

  1. <?php echo $this->render('layout/top-bar.phtml') ?>
  2. <?php $this->addScriptPath(ROOT_PATH . '/public/themes/<your_theme>/templates') ?>

Replies have been locked on this page!