DMS 2 DMS Templates are not dynamic


35 posts in this topic

Posted · Report post

Indeed arpowers

Share this post


Link to post
Share on other sites

Posted · Report post

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. 

Share this post


Link to post
Share on other sites

Posted · Report post

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, 

 

 

 

 

Share this post


Link to post
Share on other sites

Posted · Report post

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!

Share this post


Link to post
Share on other sites

Posted · Report post

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,

Share this post


Link to post
Share on other sites

Posted · Report post

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.

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

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,

Share this post


Link to post
Share on other sites

Posted · Report post

Hi onlinedesigns4u

 

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

 

Cheers

 

Glennyboy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now