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

    i could not find a corresponding thread, so i just post it here.

    I have a test-installation of Revo RC2 running in a subfolder: domain.com/modrevo
    In my template header if have the <base href="[[!++site_url]]" /> setting.

    Everything is working fine concerning friendly URLs, but one thing got me:

    for a product page i created a tv containing an image, then on the document-page i link the image via the modx-browser, it then gives me the relative url to that image. the url then looks like this:
    /assets/images/...
    but the image then is broken in the front end.

    when i remove the first / to make it
    assets/images/...
    the image works.

    is there any setting to teach the modx browser to leave out the first "/" ?

    thanks a lot,
    niklas
      • 28215
      • 4,149 Posts
      This is a bug in RC-2; it’s been fixed in SVN and in the upcoming RC-3: http://svn.modxcms.com/jira/browse/MODX-2042
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 21635
        • 81 Posts
        thanks, good to know, that it’s fixed smiley