We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41024
    • 4 Posts
    Hello,

    I am currently having an issue with templates in modx. I installed modx recently and threw a template I have used before on there to test some stuff. As of right now the template only displays the html code, which is in the template code section of the manager. It would seem that the style.css file that I am using is somehow not being accessed, but I have checked the link and it is correct. Also as a test I installed one of the modx templates you can download/install through the manager and that gives the same problem. Based on this it seems that none of my css files are being linked with their templates. I may be overlooking something very obvious with this issue but I am totally confused. Any help that anyone can give me would be much appreciated. Thanks

    PS The website that I am having problems on is found at www.cdcade.com

    -amc25114
      • 3109 ☆ A M B ☆
      • 894 Posts
      Seems like a permission issue when you try to access the css file you get a 403 error.

      http://www.cdcade.com/assets/templates/CDCADEMain/style.css

      Try going to the Files tab in the MODX Tree and right click on the assets folder, select chmod directory and make sure it's permissions are 755.

      That should take care of your issue.

      Good Luck.
        Benjamin Marte
        Interactive Media Developer
        Follow Me on Twitter | Visit my site | Learn MODX
        • 41024
        • 4 Posts
        Well I suppose I feel stupid now. I should have checked the permissions on the assets folder. The style.css was 755 but the assets folder itself was not. Thank you for your help. I really appreciate it.
          • 42562
          • 1,145 Posts
          Plus, many of your resources are looking for the CSS file @ http://www.cdcade.com/assets/templates/CDCADE/style.css instead of http://www.cdcade.com/assets/templates/CDCADEMain/style.css . I don't know if you noticed that.
            TinymceWrapper: Complete back/frontend content solution.
            Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
            5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
            • 3109 ☆ A M B ☆
            • 894 Posts
            Cool glad you got it working smiley
              Benjamin Marte
              Interactive Media Developer
              Follow Me on Twitter | Visit my site | Learn MODX