Jump to content


Photo
- - - - -
DMS2

DMS Templates are not dynamic

templates

  • Please log in to reply
34 replies to this topic

#21 glennyboy

glennyboy

    Advocate

  • Members

  • 270 posts
  • Country: Country Flag

Posted 24 April 2014 - 08:22 AM

I think you follow @arpowers. What the template should do is set global layout and components, but the sections within a template can be individually unlocked so that you can make changes that allows for local dynamic content. If you have time to read back to the top then the current position is that a basic change to a template canvas/section (in my case just a basic background image change) then you have to create multiple templates for a series of pages that all use exactly the same layout (just to achieve a different image on each page). Same for custom post types sections etc - they need individualising within global templates.


  • jdbrasesco likes this

#22 amos

amos

    Member

  • Members

  • 12 posts
  • Country: Country Flag

Posted 25 April 2014 - 12:46 AM

@arpowers  if I understand that correctly, then yes.  And if I believe this was how it was working before DMS 2 was installed.  It still was glitchy/ buggy (would not always save updates properly) but the concept was correct.

 



#23 Skip

Skip

    Advanced Member

  • Members

  • 91 posts
  • Country: Country Flag

Posted 20 May 2014 - 02:16 AM

Has there been any follow to these posts?

 

The templates is still very confusing in DMS2.  Sure it is great to make a page the way you like and save it as a template.  Got it.  

You have other pages and you want to use a saved template so you add it to the page.  You then customize the content of that page and publish it only to find out that you just changed all your other pages.  Very bad...  

I tried making a template for almost every different page and it still gave the same problem of changing the content on one and even saving it as a template and you still end up changing all the pages.  Again, very bad...

 

Even after discovering how to unlock the template and refreshing the page, changing the the content and publishing the page you still get it saving to all the other pages.  A really simple fix would be nice...

 

I personally think that there is a simple way to make this easy to understand.  

Adjust DMS and/or make it very clear to us that you have a choice of changing all pages with the template or just the page you are working on.  

In fact it is really more choices than this on any given page.

1) create a new template

2) use a saved template  

3) save new content to page/post to all other pages & posts with the same template  

4) save new content to just the page you are working on.

Make it very easy in DMS to understand and know which option you are choosing when you publish the page.

Perhaps an update to DMS2 or quickly rolling out DMS3 with it would be extremely helpful...

 

Thank you for your thoughtful consideration.

Wishing you all the best of Providence.

Skip



#24 glennyboy

glennyboy

    Advocate

  • Members

  • 270 posts
  • Country: Country Flag

Posted 20 May 2014 - 02:58 PM

 

With you on this one @Skip. DMS templates need to allow local and global changes. 



#25 josh1178

josh1178

    Super Member

  • Members

  • 181 posts
  • Framework Version:2.3

Posted 07 July 2014 - 03:36 AM

I hope what I'm understanding here isn't true as I've just spent the last two weeks trying to create the main templates for my product pages and am depending on DMS working as I thought it did. 

 

Are you guys saying:

1 - There is no way to unlock a template and make custom changes to the pages sections without affecting the other pages that use the same template? This simply can't be.

 

OR 

 

2 - Once a template is unlocked, you're basically out of luck and any change you make to the template will need to be manually applied to all pages that use that template? 

 

I'm guessing it's number 2 that's the issue, which is a fairly important issue if you have a large site. Feeling frustrated with Pagelines...yet again.  The templates should be shells for the sections and not have anything to do with the content in the section unless you choose otherwise. 

 

I guess you need to be 1000% sure that the template won't change in the future if you have a site that is large with lots of pages. What if you want to A/B test your site once its live though and then make some changes? You won't be able to?

 

:(

 

 

 

 

 



#26 glennyboy

glennyboy

    Advocate

  • Members

  • 270 posts
  • Country: Country Flag

Posted 07 July 2014 - 08:09 AM

Indeed @arpowers



#27 jorgevas78

jorgevas78

    Member

  • Members

  • 19 posts
  • LocationLos Angeles, Ca
  • Framework Version:DMS2
  • Country: Country Flag

Posted 12 July 2014 - 09:31 PM

I have the same issue.

 

Templates have global impact. If the template is updated then all pages using the template are updated.

Local control to make changes per page. 

 

DMS1 had this. The only thing was that once the template was made and any changes were made to the template when updated were not applied to all the pages with the same template. You would have to go to each page and reapply the new updated template but in doing so it would reset the sections to the default settings of the now updated templates. 

 

I would like to have templates be global. If the template is updated then the pages using the template be updated too. Local and global settings. option to also unlock the section locally and add sections without it being added to the template. 



#28 onlinedesigns4u

onlinedesigns4u

    Advanced Member

  • Members

  • 36 posts
  • LocationPattaya
  • Country: Country Flag

Posted 08 September 2014 - 06:56 AM

Hi Guys,

Im also struggling to get my head around using the templates, has anything been done to get "local changes" made to templates not effect the rest of the template pages?

 

I have a template for the restaurant pages on the website. Im using an icallout section that needs to be different for each of the restaurants. If i make a change to the text, its changed for every page using the template, not just for the page i want it changed on.

 

Hiding sections from the page, and adding the same section again cant be the fix for the issue.

 

Im hoping there is already a fix for this or that one is coming soon. Anyone know what the crack is?

 

Thanks Guys, 

 

 

 

 



#29 glennyboy

glennyboy

    Advocate

  • Members

  • 270 posts
  • Country: Country Flag

Posted 08 September 2014 - 08:27 AM

The best I've found is writing custom PHP to pull dynamic content into a PL NextBox. No 'fix' as far as I know - and it has been some time!



#30 onlinedesigns4u

onlinedesigns4u

    Advanced Member

  • Members

  • 36 posts
  • LocationPattaya
  • Country: Country Flag

Posted 10 September 2014 - 08:50 AM

Does anyone know anything about the pagelines team working on a fix to this massive issue? I cant quite believe its setup like this, was pagelines never really meant for building large websites?

 

I only have 130 posts, 30 pages, but thats already too big to be using any of the pagelines sections because there is, for some reason, no option for local changes and global changes, why is this?

 

I have about 40 restaurants, i want to add different icallout sections which lead the user to the menu and review your meal sections of the website, but, as it stands if i add the icallout section to the restaurant template, its added to all the pages using that template, which is great, saved some time adding it to each individual page, but, why is there not an option to change the contents of the icallout section for each page? Just doesnt make sense. Without getting involved in php and getting someone to add/re-write or manipulate the dms framework what is the solution, is there anything in the shop that will do the job? Ive had a look at the section switchboard, but i dont think it will do the job

 

The only thing i see within DMS i see at the moment is hiding sections from pages. Surely i cant be hiding the section from the page only to add the exact section back again with different content?

 

Any advice or knowledge on the subject would be greatly appreciated.

 

Thanks guys,



#31 glennyboy

glennyboy

    Advocate

  • Members

  • 270 posts
  • Country: Country Flag

Posted 10 September 2014 - 08:52 AM

This has been an issue that Pagelines have been aware of for ages... other than my suggestion above there still seems to be no out of the box solution to this flaw in the system.



#32 onlinedesigns4u

onlinedesigns4u

    Advanced Member

  • Members

  • 36 posts
  • LocationPattaya
  • Country: Country Flag

Posted 10 September 2014 - 10:49 AM

@glennyboy - Would you be able to tell me exactly what you did to get the templates dynamic please, otherwise its seems pretty pointless having all the DMS sections to choose from! Back to working in the backend with traditional plugins and widgets, really.....common pagelines how did this massive oversight happen?

 

I dont understand php coding. Ive been building small simple wordpress sites for a few years now but cant do any heavy programming. I have someone i use working on other bits for my website who would know what to do with the custom php script you wrote, if you think it will work for me, would you mind sharing it? 

Not sure what you mean by having the custom PHP to pull dynamic content into a PL NextBox, whats a PL nextbox? Sorry for asking a dumb question.

 

Im basically using custom post types and want to use a couple of different page templates. I have around 150 pages in total but this number will soon be in the 1000's. We plan on adding the restaurants menus on the website, each menu item will be creating a page/custom post for each meal so that the user can leave a review of there last meal. This alone will be creating 100's of pages and we have lots more to go on as also.

 

So basically i want the control over the sections on the pages, i dont care much for the global changes. Yes adding a section to the template, "restaurants" adds it to all the restaurant templates which is great, but why is there no control for the content in these sections on specific pages, crazy.

 

If you can help in anyway @glennyboy, id be much appreciative, you can personal email to me here if possible onlinedesigns4u@gmail.com

 

Thanks again for your time



#33 glennyboy

glennyboy

    Advocate

  • Members

  • 270 posts
  • Country: Country Flag

Posted 10 September 2014 - 11:21 AM

Sure,

 

PL NextBox is a DMS Section created by @SimonP at my request. It basically allows you to add short codes and raw php /html into a section. You should be able to download it from your downloads (I'm guessing providing you have a pro account).

 

Given the above you could therefore add PHP such as Wordpress titles, loops etc. This is particularly useful if you are creating more 'dynamic' templates for Custom Post Types etc. A Custom Post Loop would look something like:-

 
<?php $loop = new WP_Query( array( 'post_type' => 'yourposttypehere', 'posts_per_page' => -1 ) ); ?>
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?>
The stuff you want to loop goes in here
<?php endwhile; wp_reset_query(); ?>

Or on a 'single' page then you could do basic things like having a dynamic page title / excerpt etc:-

 
<h1 class="post-title"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt(); ?>

Check out the Wordpress Codex 'single.php' for more things you can do.

 

Cheers

Glennyboy



#34 onlinedesigns4u

onlinedesigns4u

    Advanced Member

  • Members

  • 36 posts
  • LocationPattaya
  • Country: Country Flag

Posted 16 September 2014 - 03:44 AM

Hi Glennyboy,
 
I have a pro account and have the PL Nextbox but havent got a clue where to start in regards to making anything dynamic for my pages, feeling a little fed up with it all at the moment.
 
Its crazy, because i cant get the sections dynamic for each page,  im having to build the website the same way i would for any other wordpress site, all the guts and mechanics of the page are having to be added to the body of the page, really this should have done through sections but without knowing how to make sections dynamic or without DMS realising and doing anything about this massive oversight i have no choice but to continue this way.
 
I basically want to add a different map to every page, a different icallout to most pages, galleries and tab sections to most pages.
 

 
If you, or anyone can help in anyway id really appreciate it.
 
Thanks again,

#35 glennyboy

glennyboy

    Advocate

  • Members

  • 270 posts
  • Country: Country Flag

Posted 16 September 2014 - 09:26 AM

Hi @onlinedesigns4u

 

I may be able to asset you on a freelance basis.... PM me your email.

 

Cheers

 

Glennyboy







Also tagged with one or more of these keywords: DMS2, templates