Jump to content
glennyboy

DMS Templates are not dynamic

Recommended Posts

jorgevas78    0
jorgevas78

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
onlinedesigns4u+    1
onlinedesigns4u

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
glennyboy    9
glennyboy

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
onlinedesigns4u+    1
onlinedesigns4u

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
glennyboy    9
glennyboy

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
onlinedesigns4u+    1
onlinedesigns4u

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
glennyboy    9
glennyboy

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
onlinedesigns4u+    1
onlinedesigns4u
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
glennyboy    9
glennyboy

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
antipodes+    1
antipodes

Hello

Was there a final resolution to this thread ?

thanks

Share this post


Link to post
Share on other sites
roryorr+    2
roryorr

I'd love a resolution to this thread also please. Still having the same issue. Something as simple as having 2 different pages, each with its own template, changing a slider image on 1 and it changes on the other as well. Really bizarre.

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


  • Similar Content

    • DonRicardoRVM
      By DonRicardoRVM+
        First of all, sorry for my bad English.  I am developing an ecommeece with wp, woocommerce, PL5 and quickshop, and I need to do some changes in the simple product grid. I want to change the classes of some divs, but I can't find the templates. 
      Also, I change the grid of the category products pages, but I didn't make it correctly.
      This is the cat archive's: http://globosdemar.com/wp/categoria-producto/camisetas-para-ninos-y-ninas/
      Can you help me?
    • poseyg
      By poseyg+
      Could someone explain exactly how the new template sync works or what it is suppose to do?
    • Anthony King
      By Anthony King+
      I have to say that I like the Layout and the Template based sections. Some of them are really impressive.
      One of the things that I would like to request though is the possibility of being able to dynamically rearrange the layout.
      An example of what I am talking about is take the Agency Section. It's current layout starts with the
      Splash Module then the Portfolio Module then the Service Module and so on and so forth.
      What would be great is if we were able to move these modules around. I.e have the Service Module first
      then maybe the Splash, and then the portfolio.
       
    • flourishdesignstudio
      By flourishdesignstudio
      I am using Jigoshop on a website that also uses PL5 and am running into an issue where the store pages do not allow me to use the PL5 editor. Is anyone else having this problem or know if a solution? 
      When I open the Chrome console I see the following error:
      site.js?ver=b199df:5 Uncaught ReferenceError: PLData is not defined
          at Object.setMasterModel (site.js?ver=b199df:5)
          at Object.init (site.js?ver=b199df:5)
          at HTMLDocument.<anonymous> (site.js?ver=b199df:5)
          at i (jquery.js?ver=1.12.4:2)
          at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
          at Function.ready (jquery.js?ver=1.12.4:2)
          at HTMLDocument.K (jquery.js?ver=1.12.4:2)
       
      The problem can be seen here: http://fingerlakesdistilling.com/shop/ where the sidebar, footer, and header do not show up. Any thoughts?
      Thanks so much!
    • Queue-it
      By Queue-it+
      I've created a new post category "Success stories" with Custom Post type UI. (in order to have a different layout for a different post category - blog post one layout, success stories another layout).
      New category "success stories" are "detached" from all the other posts, so they have a different layout, but the problem is that all of the success stories are also having the same exact content.
      So whenever I edit content (e.g. change body text) on one of success story posts, it also changes the content (body text) for all other Success story category posts. 
       
      Question: Is there a way to retain this separate category with it's own layout, and have a different content for each individual post? I'm using Pagelins templates. 
       Thanks in advance.
×