Jump to content

Is it ok to use MarkupRegions on one template only?


JayGee
 Share

Recommended Posts

Just checking something I've not done before...

I've upgraded an old site to PW latest stable and I want to add some new features using MarkupRegions but only on one template.

I've enabled MarkupRegions in config as usual but skipped the append. I've then appended my _main.php file in the template settings instead, so as to target it only to one template type in the site.

$config->useMarkupRegions = true;
//$config->appendTemplateFile = '_main.php'; <--- added this manually to one template in the UI instead of via config.php

Is this ok? It seems to be working, but just checking I'm not introducing any unforeseen pain? I've only ever used MarkupRegions as an all-of-nothing type thing before!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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