We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26681 MODX Staff
    • 123 Posts
    Ok this one making me tear my hair out LOL. Site: http://alohabottlecaps.com

    Someone else did the dev, using Includes snippet instead of regular MODX templating. Template assets are in static html files, called by Includes snippet. (WHY?!?!?!?!@??!)

    Everything works fine, EXCEPT when navigating to this page (yes, just this one page): http://www.alohabottlecaps.com/about-the-artist.html

    the fonts fail to render, and it reverts to sans-serif. The fonts are a critical part of this design, so the designer is tearing her hair out too, but I can’t seem to fix it permanently. If I clear the MODX cache, it’s fixed, but then the problem resurfaces and won’t go away until I log in and clear the cache. HELP!!!!

    Oh, if you navigate to one of the other content pages first, and then go to the offending page, it seems to work fine. Oh, and all pages use the same template files, CSS, etc. NOTHING about that page is different from the other pages that work. Oh, did I mention it only happens in FF and IE?

    I’m looking for a little MODX Evo DB trick, maybe or PHP cache setting somewhere that I don’t know about...

    Thanks MODXers...
      [sepiariver.com] (https://sepiariver.com/)
      • 1343 ☆ A M B ☆
      • 2,213 Posts
      Could you try reversing the CSS order (fonts > global)?
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
        • 1343 ☆ A M B ☆
        • 2,213 Posts
        You might also want to address the 404 errors with the fonts.
          Patrick | Server Wrangler
          About Me: Website | Tweets |  MODX Hosting
          • 20413
          • 2,877 Posts
          Quote from: sepiariver at Jul 21, 2011, 11:52 PM

          Someone else did the dev, using Includes snippet instead of regular MODX templating. Template assets are in static html files, called by Includes snippet. (WHY?!?!?!?!@??!)

          It’s keeping siteCache.idx.php smaller http://modxcms.com/forums/index.php/topic,36714.0.html

          Quote from: sepiariver at Jul 21, 2011, 11:52 PM

          the fonts fail to render, and it reverts to sans-serif. The fonts are a critical part of this design, so the designer is tearing her hair out too, but I can’t seem to fix it permanently. If I clear the MODX cache, it’s fixed, but then the problem resurfaces and won’t go away until I log in and clear the cache. HELP!!!!

          Oh, if you navigate to one of the other content pages first, and then go to the offending page, it seems to work fine. Oh, and all pages use the same template files, CSS, etc. NOTHING about that page is different from the other pages that work. Oh, did I mention it only happens in FF and IE?

          Have you tried turn of caching on the resource. Maybe a snippet issue?
            @hawproductions | http://mrhaw.com/

            Infograph: MODX Advanced Install in 7 steps:
            http://forums.modx.com/thread/96954/infograph-modx-advanced-install-in-7-steps

            Recap: Portland, OR (PDX) MODX CMS Meetup, Oct 6, 2015. US Bancorp Tower
            http://mrhaw.com/modx_portland_oregon_pdx_modx_cms_meetup_oct_2015_us_bancorp_tower
            • 26681 MODX Staff
            • 123 Posts
            Thanks!!! I will try these suggestions tomorrow. It says something about the MODX community that I can get help before I’m even ready to act on it LOL.

            U GUYS ROCK!
              [sepiariver.com] (https://sepiariver.com/)
              • 21838
              • 284 Posts
              Include snippet gives the possibility to use your own editor software, use your workflow and maybe versioning. You don’t have to code inside of MODX manager.
                MODX Free Template Base: MODX-Boilerplate | my blog (lots of MODX stuff) | my gitHub (translations) | MODX User Groups Germany (Facebook)