Jump to content

Archived

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

PeriniNero

Usage of Templates

Recommended Posts

PeriniNero+    8
PeriniNero

I've read that there are some issues regarding to templates, mainly the lack of saving in the WordPress CMS backoffice.

 

A huge issue for us is also the lack of template-names in de source code, so you can't refer to the templates in CSS easily (just like in the former PageLines Framework: works fine!)

 

Furthermore, our experience is that Templates do not behave as templates, but ofcourse maybe we are doing something wrong.

 

Key for templates (as far as we think...) is when you change the template, all pages using this template are changed immediately. In our experience, after we change a template, we have to assign the template to each page again, to make changes work on every page that uses this template.

 

In the documentation, a brief line is noted: `You can set a template to be site-wide from the same tab, using the Actions button´. When we open this Actions button, the only choice that could match is: `Set as Page Global Default´ which suggests (to us...) that this will change the standard, default template which is included in DMS by default. We did not try yet.

 

In the former PageLines Framework, you had to add specific new php files (page.XXX.php) to the Child Theme files, in order to add new templates for your theme. In DMS this is not needed? (for example in order to establish automatic changes apply to all pages that are assigned to the template maybe).

 

After the last update of DMS we have seen that a line is added in the front, when viewing the website 'Last Imported Tempate'. This is helpfull ofcourse.

 

Do we understand that since the latest update of DMS yesterday, each DMS install needs the "DMS Pro Tools Plugin" to function and update properly?

 

So 3 questions regarding to templates:

. when will it be possible to assign a template to a page in wordpress cms backoffice?

. when will the template name be added to the source code (body tag?)?

. what are we doing wrong regarding to changing templates and pages do not change, untill you assign this template again?

 

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

HI.

 

1. There is already a issue in our tracker regarding this. Unfortunately, I am unable to provide any ETA.

2. The same as above and unforunately, no ETA either.

3. Not entirely sure what you mean? If you create a template lets say "Awesome", when you create a new page you can assign the Awesome template to that page. You can also use the Action > Set as Page Global Default to set this as a the default template.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
PeriniNero+    8
PeriniNero

Thanks Danny for the prompt reply!

 

1. and 2., okay, quess we'll have to wait for this

 

3. Well, creating a new template (f.e. "Awesome") is no problem. Assigning the new template "Awesome" to pages also no problem. But when we change the template "Awesome" later, the changes are not visible at all the other pages that have the "Awesome" template assigned. So we have to assign again, per page.

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, I can confirm this also happens when I test, have reported this on the bug tracker.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
PeriniNero+    8
PeriniNero

Excellent James B thought I was doing something wrong. Seems to me this is key for "templates" :-)

 

Can we follow this bug (tracker) at GitHub or someting?

 

To be sure: so we don't need to create specific php files (page.XXX.php) in the Child Theme folder in order to let custom templates function properly (like in the former PageLines Framework) ???

Share this post


Link to post
Share on other sites
Erwan    37
Erwan

Hi perininero,
 

You can of course follow this issue via Github.

Share this post


Link to post
Share on other sites
PeriniNero+    8
PeriniNero

Thanks Erwan"] for your additional information. We will follow this at GitHub. Guess GitHub details are not published at this PageLines forum? For us this is not logical. In future we need to report 'bugs' at the PageLines channel at GitHub (@[member="James B) or is this staff only?

 

We think it's kind of strange that the first comment (2 months ago) of arpowers was "isn't a bug", but maybe we do not need to struggle about exact words. It's critical for templates to behave like templates... So to call it a "desire" of clients for DMS templates to act like templates is an understatement.

 

Anyway, keep up the good work all.

  • Like 1

Share this post


Link to post
Share on other sites
Erwan    37
Erwan

perininero

1. I just can tell you anyone has access to GitHub and can submit "any kind of bugs, including but not limited to usability issues, errors and other DMS malfunctions" (quoting DMS documentation \ Getting Support). But only PageLines mods of this forum like James B"] or @[member="Danny can answer you about the best pratice for reporting issues on this tracker + how GitHub infos are relayed here.

Mods (and even PageLines devs sometimes) do relay them when necessary here according to my user experience and as you saw in this thread: but you can "watch" the DMS GitHub repo and have notifications if you wish and like I do.

2. The issue we discuss here (actually, the three ones you initially raised are important) is not only critical for templating: as a consequence, it's obviouly crucial for the whole DMS experience. This is why I answered you here + posted comments on GitHub, realizing that PageLines had not fully taken this huge issue in account: as you can see, it's now set to "High Priority" thanks to Danny.

Share this post


Link to post
Share on other sites
PeriniNero+    8
PeriniNero

Erwan thanks for the detailed reaction

 

1. We will focus and follow on GitHub more for now.

 

2. Exactly, crucial for DMS experience. Big thumbs up for you, James B"] and @[member="Danny for getting this to the High Priority level. Now fingers crossed for updates.

  • Like 1

Share this post


Link to post
Share on other sites
PeriniNero+    8
PeriniNero

Do I understand James B"]@[member="Danny from GitHub https://github.com/pagelines/DMS/issues/297 that these issues are not beiing solved? At least untill v1.2 or v1.3??? I hope I misunderstood the comments of PageLines/arpowers there...

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

As far as I can tell he is referring to a new system that will be included in 1.2. or 1.3, so you didn't misunderstand. If you have an opinion on this, please feel free to reply to the issue on the tracker. I have also re-opened the issue, not sure why the OP closed it.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
PeriniNero+    8
PeriniNero

Ok thank you Danny for your prompt reply and for re-opening the closed GitHub issue. Conclusion for now is that I need to post at GitHub (called tracker?) if I have any comments right? The conclusion in this forum is that 'we' see these issues as high priority for PL DMS.

Share this post


Link to post
Share on other sites
Andrew    201
Andrew

I wanted to add that in the upcoming version 1.2, we are going to focus on this issue specifically... along with theming. So stay tuned, and work with us to get it right! :)

Share this post


Link to post
Share on other sites
PeriniNero+    8
PeriniNero

Thanks arpowers for this excellent confirmation! Always available for working with you! Any idea of ETA??

 

Furthermore, I believe we can make huge steps also regarding to correct usage of multi-language (WPML compatibility) when these issues are solved.

Share this post


Link to post
Share on other sites

  • Similar Content

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
    • 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?
    • MissT
      By MissT+
      Hi there,
      I've got an issue with 3 websites built with DMS since I migrated them from http to https that I need help with please.
      When any changes are made - e.g. new posts added or existing posts amended - certain sections of the live site seem to break e.g. image headers hang and don't load (b/g on canvas section), sliders hang and don't load (Revslider), flipper section doesn't load.
      Logging in and then clicking 'Edit the site using DMS' seems to fix the problem. Often if I try to open up another browser window to edit the site / re publish I'm unable to as the page wont load / hangs while trying to load.
      Any ideas how to fix this? On a couple of the sites I've installed a caching plugin as I thought it might be a loading speed issue but it's still happening.
      Website URL's can be provided privately.
      Many thanks in advance.
    • jeomiland
      By jeomiland+
      Hi
      I found this topic
      which talks about a similar issue I am having, but a little different. Hope someone can help me out.
      Best way to see the problem is to view http://cassclayton.com/ on Safari (Mac) compared to Firefox or Chrome. You will see the banner just under the fixed menubar has a gap between the menubar and top of the banner. Looking at Inspector, I found:
      <div class="fixed-top-pusher" style="height: 62px;"></div>
      <script> jQuery('.fixed-top-pusher').height( jQuery('.pl-fixed-top').height() ) </script>
      and indeed it seems the jquery is not always working consistently. For instance, if you simply refresh the page in Safari, it will loose the gap and all looks fine, so is it a browser cache issue that is interacting with the jquery? I do have W3 Total Cache installed. There must be a way to tell the code to make sure jquery is up and running and available to do it's majic?
      And perhaps there is just a better way to do this banner? Originally I tried several DMS sections and used the banner image as background, etc... Kept running into problems with resizing and the left/right parts of the image were getting chopped off. It is important the whole image show, so currently I just use a NextBox section with this code:
      <img src="[pl_site_url]/wp-content/uploads/2015/12/CassClayton-blues-tribute-banner.jpg" width="100%" />
      and it looks the way it should. Is there a better way to place a banner graphic under a fixed navbar and make sure the whole banner graphic displays regardless of screensize?
       
    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
      Cheers
×