We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22289
    • 41 Posts
    So it was my base path- I replaced all instances of:

    "config[’base_path’]."

    with

    "/var/www/vhosts/mysite/httpdocs/

    The gtext seems to sort of not be messing up now, although it has yet to actually quite work... but I have renewed confidence.
      • 22289
      • 41 Posts
      Actually- this is not a fix- it causes the snippet to not work at all- anything I put in the path is fine, as long as it isn’t
      "config[’base_path’]."
        • 7923
        • 4,213 Posts
        do i see correctly, is the ending backtick missing after the font name or does this mobile browser draw it so near the f letter. Hmm, now that i see that char in this textarea, im guessing later. Anyways, try to setup the path to the fonts folder using $modx->config[’base_path’].’assets/fonts/’; and try base_url too. You could try that hardcoded like you did above. I can take a peek at the code if that dont work.


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 22289
          • 41 Posts
          solved. thanks. I had an incorrect path to the fonts folder.

          I knew a good night’s sleep would do it.