Jump to content
  • Similar Content

    • jason.
      By jason.
      Website URL: boneyard.teddyaddiction.com/kruss
       
      Framework Version: DMS 1.1.1
      WordPress Version: 4.1.1
      Plugins in Use: Custom Sidebars, Post Duplicator
      Server/Host: Linux somethingOrOther/ASmallOrange
       
      Details:
      Ok, this is driving me up the wall. Ready to start breaking stuff :)
       
      I can't seem to add a php include to grab a piece of code. I have a formatted email subscription box that I want to call from within a page. I've been trying and trying for hours now and can't get anything to work.
       
      Here's my code. It's in a textbox section:
      <div class="signupBox"><h5>Hungry for more?</h5> More articles, coming right up. Punch in your email below and we'll let you know as soon as they're ready to devour. </div> <?php get_template_part( 'emailBox ' ); ?> <?php include ( 'emailBox.php' ); ?> <?php include 'emailBox.php'; ?> <?php include ($_SERVER['DOCUMENT_ROOT'].'/emailBox.php'); ?> The text looks great, the php stuff doesn't work. None of them.
       
      I can't see any errors, and it looks like Pagelines adds comment tags around the php when it's rendered! Yikes!
       
      When I view the page source they all look like this:
      <!--?php get_template_part( 'emailBox ' ); ?--> Really frustrating.
       
      Everything was going along swimmingly and now I'm growing gray hairs faster than your grandma.
       
      Any idea how I can add a simple php include?
       
      Cheers,
      J.
    • bjs198
      By bjs198
      Hey team,
       
      I've set a global <p> style in the custom scripts box using code from google fonts which works great, however I'd now like to use a additional google font style with a couple of small text sections. When I try to style the specific text box using the Inline CSS Styling field I find it doesn't work and reverts to the global style.
       
      Am I doing something wrong or can you not override the global text style?
       
      ^ sorry bold, no idea why I can't get rid of it :)
       
      Cheers
       
      Barney
    • bloom1creative
      By bloom1creative+
      Hi guys
       
      I have had a quick look on the forum and can't seem to see my issue addressed exactly, so I'll ask it on here.
       
      I have seen some others with the same issue as me losing widgets or areas/classes when applying templates to certain pages, which is something I have begun to accept now with the DMS as it's happening across various sites.  I don't know if some of my issues are due to having quite a bit of LESS in the front end, too much for the complier to handle perhaps causing errors in other functions, as the cmd+enter stops working sometimes until I dump the LESS into style.less and it works again.
       
      My biggest question though, is with the templates.
       
      Say template 1 is running across 10 pages, it pulls in the info and that's all fine for them.  
       
      All you really want from the template is the 'areas', and not the individual page settings for that page as every page is different.  This was never an issue in Pagelines Framework, but the DMS seems different.  
       
      So lets say I have a page on frogs, and a page on golf, both set to template 1.  
       
      I add another two widgets to the frog page with classes and settings I wish to use & then update with template 1.
       
      How does this work, as the golf page updates with the frog pages custom settings/images/text, and not simply the difference from when I added template 1.  
       
      My understanding is using templates in this fashion seems somewhat difficult if you then wish to update one in the future (kinda the point of a template), as the page you use to 'update configuration' will surely then override the other pages' settings on that template?
       
      I hope I'm missing something, this was just never an issue in Pagelines Framework and confused me a bit on the DMS.
       
      I trust this makes sense,  :D
    • bigtopmultimedia
    • blingoblam
×