We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24374
    • 322 Posts
    Out of necessity, I'm running a new Revolution site on a new hosting service, and since the domain name points to the old server, the URLs for the new site have to look like this: "http://444.444.444.444/~username/". I have relative URLs working on the front end, but the headers for the manager look like this:

    <link rel="stylesheet" type="text/css" href="/manager/assets/ext3/resources/css/ext-all-notheme-min.css" />
    	<link rel="stylesheet" type="text/css" href="/manager/templates/default/css/xtheme-modx.css" />
    	<link rel="stylesheet" type="text/css" href="/manager/templates/default/css/index.css" />
        <link rel="stylesheet" type="text/css" href="/manager/templates/default/css/login.css" />
        
        <script src="assets/ext3/adapter/ext/ext-base.js" type="text/javascript"></script>
        <script src="assets/ext3/ext-all.js" type="text/javascript"></script>
        <script src="assets/modext/core/modx.js" type="text/javascript"></script>
    	<script src="/connectors/lang.js.php?topic=login" type="text/javascript"></script>
    

    How do I get all these to use relative links in the manager (e.g. src="../manager/. . .)? Or at least have a base URL setting somewhere? [ed. note: rainbowtiger last edited this post 11 years, 10 months ago.]
    • Check the values in your core/config/config.inc.php file. You can adjust them there manually to get it working in your temporary apache userdir configuration; just don't forget to set it back when you get your actual domain/URL.
        • 24374
        • 322 Posts
        Oh, I hadn't noticed before that there are URL settings in that file. I had only dealt with the paths before. Thanks! [ed. note: rainbowtiger last edited this post 11 years, 10 months ago.]
          • 24374
          • 322 Posts
          Hmm. Everything works EXCEPT, in the file manager (MODX Browser), image thumbnails are not showing up.
          • Double-check the "$modx_assets_path= " and "$modx_assets_url=" settings near the end of the config.inc.php file.
              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
              • 24374
              • 322 Posts
              Yes, those are correct. Thumbnails show up if I hold the cursor over an image's file name in the Files list on the left, but not in the MODX Browser window.