Hi, I am trying to integrate PG in our workflow to create pages for our custom PHP website. Ideally I would like to be able to save files either in static or php template format (smarty) that extend from my master layout.
I understand it’s a requested feature not implemented to include PHP files but I am wondering what about HTML files:
To emulate my master layout while designing I could create a header.html from my parsed php. This would include all the heading, library loading, CSS, etc and finish at a certain <div class="container>.
The footer.html to include at the end would then start at closing that "</div>"
and the remaining of the page but the saved file would not include either header or footer so once parsed by the server they could work without me needing to delete code or “move it”.
It is something similar to the editable areas of masterpages, but i do not need/want to save any of it with the file itself.
It would be great if someone could orientate if there is another way to do this via, libraries or plugins.
Thanks.