We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28042 ☆ A M B ☆
    • 24,524 Posts
    Changing the base url to point to anything other than your root url is a very bad idea. You could make a chunk with the path to where your images are, then just have
    <img src="{{imagePath}}filename.jpg" alt="" />
    for your images.
      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
      • 28651
      • 26 Posts
      Alright, well I can figure that out.

      How about the fact that jQuery is being attached to the end of my Head and I can’t attach anything after it so that it can use the already called jQuery. I have to call it again so that any javascript I attach can use the one being attached by MODx.

      There really needs to be a way to put stuff after the MODx added HEAD information.

      Thanks for the chunk idea. I’ll be sure to do that.
        • 8668
        • 8 Posts
        New vs Old Tag Syntax Problem:

        I just installed the modx revolution rc3 and started splitting a template in various chuncks, inserting chunks through
        [[$myChunk]]
        but found out that wasn’t working, however the legacy
        {{myChunk}}
        worked well... Same thing with Content Tags. Am I missing something about the "tag revolution" ?

        thanks,
        b.
          • 26931
          • 2,314 Posts
          smiley i guess your mixing Evolution/Revolution

          ...this is the thread for "MODx Evolution 1.0-rc3 discussion", so you downloaded Evolution, which explains the
          {{myChunk}}
          syntax working
            • 8668
            • 8 Posts
            thanks. (I feel ashamed ...)
              • 26931
              • 2,314 Posts
              (I feel ashamed ...)
              smiley ...no need to
                • 17329
                • 53 Posts
                Just found out a minor problem in the tab "view children" of a document.
                Some php code displaying style variables for images is not interpreted and ends up in the HTML source. Visually it results in a broken image file.
                See here a screen shot:



                The HTML of the page goes as follow :

                <tr class="gridItem">
                  <td>403</td>
                  <td>Basilio</td>
                  <td><span class="publishedDoc">Published</span></td>
                  <td><a href="index.php?a=3&id=403"><img src="<?php echo $_style["icons_preview_document"] ?>" />View</a> <a href="index.php?a=27&id=403"><img src="<?php echo $_style["icons_save"] ?>" />Edit</a> <a href="index.php?a=51&id=403"><img src="<?php echo $_style["icons_move_document"] ?>" />Move</a></td>
                </tr>
                
                  • 27708 MODX Staff
                  • 2,502 Posts
                  Imestre,

                  This seems to be a valid bug, any chance you can file that in Jira?
                    Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub
                    • 17329
                    • 53 Posts
                    No problem, I did.
                      • 27708 MODX Staff
                      • 2,502 Posts
                      This is now fixed in SVN revision 5527.



                      Thanks for posting.

                      Jay
                        Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. Blog ✦ Twitter ✦ LinkedIn ✦ GitHub