Forum

Thread tagged as: Problem

New pages not copying region options from master template (revisited)

Hi Drew

I'm still running into this problem "New pages not copying region options from master template?"

I thought this was fixed?

Here's a 30 second video showing (the original) problem: https://youtu.be/bCkQyzN8yvA

  • Perch Runway is up to date (2.8.15)
  • PHP 5.6.10 is up to date
  • MySQL 5.5.42 is up to date
  • Image processing available

Sorry for the duplicate post! Whoops.

Stephen Meehan

Stephen Meehan 4 points

  • 5 years ago
Michael Wilkinson

Michael Wilkinson 6 points
Registered Developer

Hi Stephen

Just my two cents worth, but I actually don't like using that feature. Having a page already created just so the master page can reference something before any real pages exist seems a waste to me and it's not really needed most of the time.

Instead, I prefer to build my master pages with perch_content_create(). It gives the user a new page based on the master page with all the regions all in place and all ready to go. It has exactly the same effect but you get extra control if you need it, and you don't need anything existing for the master page to reference before you even start.

See here for more info: https://docs.grabaperch.com/docs/developers/creating-regions/

Obviously I don't know your working issues so apologies if I've stuck my nose in where it's not wanted!

Thanks, Michael

Hi Michael

Thanks for the suggestion.

That sounds like a possible work around.. Although I'm sure I've had this working with the latest version of Perch.

I'll look into implementing this solution tomorrow morning. Feels like it should work. Cheers.

Drew McLellan

Drew McLellan 2638 points
Perch Support

The idea of the features isn't really to have a sacrificial page just for copying. It's for convenience if you want to create a new page with settings just like one that already happens to exist.