Understanding Templates In PageLines DMS 2

Posted · 4 Comments

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.

Orange Lines

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.

templates_03Template 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.

templates_01

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.

templates_02

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.

4 Responses to "Understanding Templates In PageLines DMS 2"
  1. Laurence Hansen says:

    Great information, James. Thanks.
    I am jazzed about the possibilities of DMS 2. Your first paragraph ended with the hint that 2.0 is available now but I guess that’s not true just yet.
    What I got from an email this morning is that the release won’t be ’til next week. I was hoping to do some work with it this weekend but I guess I must be patient.

    • James Giroux says:

      Laurence! That was my fault, I didn’t sweep the article before posting. It’s now been edited and you’re right, it should be around midweek next week.

  2. Eric Kinney says:

    Does it work with custom post types? We we have over 100,000 pages so changing them to various custom post types helped a lot with organizing.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>