Jump to content

Archived

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

jdbrasesco

Problem with Template

Recommended Posts

jdbrasesco

I'm on the latest version of DMS2.  Having issues with templates. See these two pages.

 

http://photography.net/leonard-nimoy/learn/news/leonard-nimoy/

 

http://photography.net/chinese-company-launches-a-64-competitor-to-the-gopro-hero-with-beefier-specs/learn/news/chinese-company-launches-a-64-competitor-to-the-gopro-hero-with-beefier-specs/

 

My goal is to set this basic layout as the default template for posts.  Then I would like to be able to go into each post, unlock the template, and change the photo on the left and the button text and target.  The problem is that even with the template unlocked, when I change the image on one post it changes them on all posts.  There seems to be no difference in behavior/outcome whether the template is locked or not.

 

Right now it seems that only the WP Loop can have variable content on the post.  How can I achieve a static layout but still have editable sections for individual posts?

 

Thanks,

J.D.

Share this post


Link to post
Share on other sites
Danny

Hi,

 

Unfortunately, you can not have individual templates on posts. Once you set a template for a post, it will be universal for all posts.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
jdbrasesco

Danny thanks for the quick response.  That's disappointing and it seems that many others in the forum are having similar issues.  Really limits design control.  Do you know if this is being evaluated for future updates?

 

I may have found a workaround using the responsive grid shortcodes within my posts.  I was able to make two spans and get my photo on the left and text on the right as desired.  The only issue is that the post title and date span across both of the two span DIVs.  Is there a way to get the post title and date to display in the text DIV span only?

 

http://photography.net/chinese-company-launches-a-64-competitor-to-the-gopro-hero-with-beefier-specs/learn/news/chinese-company-launches-a-64-competitor-to-the-gopro-hero-with-beefier-specs/

Share this post


Link to post
Share on other sites
Danny

You could try this:

 

header.entry-header {
  width: 57.446808505%;
}
 
That gives the header i.e. the title and meta the same width as your first span i.e. span7.

In regards to the posts templates this is as far as I am aware being reviewed by our developers.

Please search our forums, before posting!

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? 

×