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

    I have modx 2.2.4 installed within a sub directory. So the url is something like:

    mydomain.com/development/client/

    No if I have a TV image not set to a media source the path that render out is:
    assets/images/myimage.png

    Which is correct as the base tag is set.

    But if i set the TV to use a media source with the basePath and baseuURL set as
    assets/images/

    Then the path that is rendered out is:
    mydomain.com/development/client/assets/images/myimage.png

    Any idea why the media source decides to render the full url out, guessing it's a setting somewhere. I've in the past change the filepath for manager in the system settings which has worked. But thats now labelled depreciated.

    Thanks

    Ben
      • 40092
      • 265 Posts
      Probably the core path is not set correctly in your config.in.php file.
        • 36926
        • 701 Posts
        Quote from: thapriest86 at Dec 07, 2012, 06:47 AM
        Probably the core path is not set correctly in your config.in.php file.

        Thanks, I had checked the core path and it looked fine:

        core path:
        /home/sites/mydomin.com/public_html/develompment/client/core

        And base also looks correct
        path:
        /home/sites/mydomin.com/public_html/develompment/client/core
        url
        /develompment/client/
          • 36926
          • 701 Posts
          I've updated to 2.2.6 to see if this helps but still no luck
            • 36926
            • 701 Posts
            Ok doesn't seem this is just related to mediasources as if i use the image TV with phpThumb the full path gets added. But if it's a plain TV call no path is added.


            Anyone????