Jump to content

Adding guestTermsBar into a page template isn't working


Recommended Posts

I use a custom wrapper on some of my pages. It's only slightly modified; it's the globalTemplate with a container removed so that my content can go full width.

In my regular globalTemplate I've just added 

{template="guestTermsBar" if="!\IPS\Member::loggedIn()->member_id and \IPS\Settings::i()->guest_terms_bar" app="core" group="global" params="base64_encode( \IPS\Settings::i()->base_url )"}

so that I get my cookie consent. It's working as it should.

But when I go to the modified one and do the same thing, the terms bar isn't appearing on the appropriate pages.

What am I missing? When the only difference between globalTemplate and the custom wrapper is a div containing a container, shouldn't this work?


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...