Templates in PageLines DMS 2 have been given a significant upgrade that warrants a little bit of explanation. In version one, templates were more of a starting point for a page design rather than a true template. In DMS 1, you would create a page, save it as a template and then apply that template to other pages. However, if you made any changes, they weren’t updated in the template (unless you saved over your existing template) and those changes weren’t reflected on other pages with the same template. In PageLines DMS 2, all of that has changed.
The first thing you’ll notice about templates is that when one is active on a page, you’ll get orange dotted lines around things instead of the blue of previous versions. This lets you know the template is active on the page.
Template Name & ‘Lock’
At the top of the template region, in 1.0 it would just say the word ‘Template’. In DMS 2 however, the name of the template that is active is displayed as well as a lock icon. The lock icon lets you know that this template is in ‘locked’ mode. With DMS 1, if changes were made to a template, they weren’t reflected in the actual saved version of the template and they didn’t update across other pages that shared the same template. In 2.0, when you update a template that is in ‘locked’ mode, it will live update every other page that is also using the same template in ‘locked’ mode. As an example, if I’ve got 3 pages sharing my ‘full width’ template and I update the amount of padding in the header on one of those pages, it will update the other two automatically. This is a great feature for larger sites. If you don’t want the template to automatically update other pages with the same template you can unlock the page from the template, however, you won’t be able to go back to the template unless you reapply it. You can however create a new template to apply to other pages as well.
Page Setup Options
The name of the template area in the toolbox is called Page Setup. The layout of templates has been updated and the saving panel has been combined with the list panel so there’s no more flipping back and forth. Active templates also have a different color so you know what’s going on.
Assign Templates From The WordPress Page Editor
With PageLines DMS 2, applying templates from the back end is much easier and much more straightforward. Find the PageLines panel in the right sidebar and choose the template from the dropdown.
Tips For Using Templates in PageLines DMS 2
PageLines DMS 2 templates are a big improvement from 1.1 and there are a few things to remember as you use them.
- Always unlink templates before making changes you only want on that particular page
- Make sure to check that your template has been applied when using the WordPress Page Editor
- Templates only work on pages, not on blog posts, archive pages, category pages or taxonomy pages
- Templates work best when you’re using the WP Content/Post Loop section for page specific content.
Well that’s our roundup for templates in PageLines DMS 2. Let us know what you think in the comments below and feel free to add to our list of tips when using PageLines DMS 2 templates! PageLines DMS 2 releases sometime next week.