Marketpath CMS Developer Tutorial Series

Templates

Last Updated 3/6/2018

Templates are the heartbeat of Marketpath CMS. Master templates and even complex pages will become simple to implement.

If you haven't already, be sure to check out our Templates Overview lesson.

There are two (valid) strategies for constructing templates in Marketpath CMS. The first - and more intuitive - strategy is to write page templates which include the header, footer, and content partials necessary to create the final page output. This is the way most of our starting themes are constructed.

The second strategy is to create master/slave templates. This strategy flips the first strategy on its head - the header and footer (and possibly other content, too) are defined in the "master" template, and the "master" template is extended by the page template, which overrides specifically defined "blocks".

OK. The whole master/slave thing is confusing already. If you are interested, you should just check out an example of where we have successfully used this strategy before.

---- End of Lesson ----

Question? Correction?

Let's work together to make our documentation as helpful as possible.

What is your name? 
What is your email address? 
Feedback: