Jump to content

Archived

This topic is now archived and is closed to further replies.

ketri

Templates?

Recommended Posts

ketri

Hi!

I don't understand the templates. When I use the templates-plugin, I can create new templates and load them but it doesn't seem like the edits affect different pages with the same template unless I load it again.
This in the PL5 front end.

In the backend we have templates like 
Framework A
Framework B
Framework C

These work better and I can edit them in PL5 by choosing the current template as a scope.

So basically I don't understand this. Why cant the templates in the WP backend and in the PL5 front end be the same? How do they work? Why are they so different than in DMS2? 
And how can I create more templates like Framework A and rename them?

Thanks!

Share this post


Link to post
Share on other sites
chrisayers
1 hour ago, ketri said:

In the backend we have templates like 
Framework A
Framework B
Framework C

These work better and I can edit them in PL5 by choosing the current template as a scope.

I agree. I really never "got this one."  They seem to work better like ketri says though so I just used them. 

Share this post


Link to post
Share on other sites
oksodavid

Template scope works well when pulling dynamic content from loop or acf etc, and using this method to manage section design over a range of content.

The alternative, if you want to manage content within front end sections, means you need to beak out of template scope (meta will overwrite other pages), so you can use the 'snapshot' using front end editor templating and overwrite section meta without effecting other pages. the editor templating issue at top of this thread could be easily managed by template name/version ie home-template-001, 002 etc, or other meaningful tittle, and keeping or deleting alt versions?

dms not only had to be unlocked to overwrite section meta, you also had to clone each section to prevent the duplicated ID from inadvertently overwriting other sections.

It seems we have best of both now?

Share this post


Link to post
Share on other sites

  • Similar Content

    • Jared Smith
      By Jared Smith+
      I haven't figured out how to get the "Sync Loaded Item" option in templates menu of Platform 5 to stay checked. It doesn't give me an option to save settings when I select it, and when I select it then click off the editor, it unselects. Also if I select it before loading a template, it doesn't stay checked there either.  Whats going on?
    • Queue-it
      By Queue-it+
      Hi,
      I created a Pagelines template for a "Post type" post. Whenever creating a new post page it firstly display that template post and I have to manually change it in the scope from "All of type posts " to "Current page". 
      Is there a way to fix that? 
       
       

    • richardjacruz
      By richardjacruz+
      I'm building a website in a dev environment at http://162.144.182.17/~uescocra.
      I want to import a bunch of products, and then have the products have a different template than the default template. 
      I also want to change the default template for blog posts.
      Before I go making changes, can I do this where the post type of "products" has its own global template, and the same with blog posts?
      For instance, in a product I might want to have a widget for categories, similar products, etc., and in the blog I may want list of the latest posts, blog categories, link to an email sign-up landing page, etc.
      Thanks.
      Rich
    • abuzzelli
      By abuzzelli+
      Is there a shortcode or a way to automatically pull the site name into the footer or elsewhere?
    • seanocaside21
      By seanocaside21+
      An old client of mine has come across an issue with their website. 
      The site is fine on the front end but when you log into the DMS editor the 'About' page template isnt available instead the template for the 'Print Services' page appears
      Here is the live About page http://www.digicom.ie/about/. And see attached file for what i see in the back end.
      In the page settings i can see that the wrong page template is active but I'm not sure how this is the case if the live page is correct. The client assures me they didnt activate the template. 
      Any help at all? 

×