We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26879
    • 53 Posts
    I’m working on a site, and the gentleman who is hosting the site for the client, loaded MODx on the server as well as transfered my web files over. He has it on a dev site off of his main site.
    So, now my images aren’t showing up because my stylesheet isn’t being found. I see it is loaded on the server "/assets/templates/tl4j/css/tl4j-vC.css". However, it’s not working.
    Once I get past this little thing, I will have additional questions as there are a few areas on the page that are causing concerns for me.

    Until then, anybody see something that isn’t correct here? Am I missing something very simple here??? I wouldn’t doubt that smiley
    I just copied my CSS file over, and made my template in MODx with the path for the css set as this : <link href="/assets/templates/tl4j/css/tl4j-vC.css" rel="stylesheet" type="text/css" />
    Any help would be great.

    Thanks.
      • 26879
      • 53 Posts
        • 26879
        • 53 Posts
        ... figured out. thx.
          • 18862
          • 70 Posts
          Would you mind sharing your solution?
            • 28042 ☆ A M B ☆
            • 24,524 Posts
            The path to the css file was root-relative (/assets/...) but his site was hosted on a subdirectory of the actual web root (/subdir/assets/...).

            I rather imagine changing that root-relative URL to a document-relative URL (assets/...) and possibly adding [(site_url)] in front of it did the trick.
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 13352
              • 26 Posts
              Quote from: sottwell at May 08, 2010, 02:15 AM

              The path to the css file was root-relative (/assets/...) but his site was hosted on a subdirectory of the actual web root (/subdir/assets/...).

              I rather imagine changing that root-relative URL to a document-relative URL (assets/...) and possibly adding [(site_url)] in front of it did the trick.

              Hi Susan,

              I have similar problem. After upgrading to Modx-1.0.3 the images don’t shown up. All other features are working well.

              The main domain www.mydomain.com (under /home/jack/www) is used for other purposes (not Modx).
              I use a SUBdomain (aloha.mydomain.com) which point to a directory ’aloha’ under www, so Modx now resides under /home/jack/www/aloha/

              I have changed the path under Tools->Configuration->Interface&Features -> Filebrowser URL : from assets/ to [(site_url)] . assets/ , but it still dinn’t work.

              Which file actually must be changed ?

              Thanks in advance.
              - jack -