We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10226
    • 412 Posts
    I just setup a site with evo 1.0.3 and I am having a few issues.

    Images work on the root pages, but if I enter a subfolder page the images do not load - I have them in my template as /images/foo - also tried ../images/foo. I have an old site I did and I just use /images and it works just fine?

    Second issue is related to Ditto, but I think they are both related somehow. I have a ditto template to make a custom menu. This too works on the root pages. It also works on subfolder pages, but in the subfolder pages I end up with links like;

    siteurl/subfolder/subfolder/page.php - and sometimes subfolder is in there three times - the result should be siteurl/subfolder/page.php

    and now some code!

    Ditto call - this is in a chunk called by the main template
    [[Ditto? &parents=`11668`&tplLast=`foottpllast`&tpl=`foottpl`&sortBy=`createdon` &sortDir=`ASC`]]


    tpl - tplLast is the same, sans the |
    <a href="[~[+id+]~]">[+pagetitle+]</a> |


    Thanks!
      • 21257 MODX Staff
      • 730 Posts
      Do you have
      <base href="[*site_url*]" />
      

      (for Evo) or
      <base href="[[*site_url]]" />
      

      (for Revo) in your template?
        Mike Schell
        Lead Developer, MODX Cloud
        Email: [email protected]
        GitHub: https://github.com/netProphET/
        Twitter: @mkschell
        • 10226
        • 412 Posts
        that was the one...

        thanks again everyone!

        ( I always miss the simple stuff:) )