We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33997
    • 150 Posts
    Hi, I was looking over bobsguides.com (Thanks BobRay for great tutorials!) and I saw on the common errors page (http://bobsguides.com/insidious-modx-errors.html) that in Evo if a snippet call is placed on multiple lines it will break. Is this still true for Evo 1.0.5 or has this been fixed? Thanks!
      "Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein
      • 3749
      • 24,544 Posts
      Quote from: goonz at Feb 14, 2011, 01:50 PM

      Hi, I was looking over bobsguides.com (Thanks BobRay for great tutorials!) and I saw on the common errors page (http://bobsguides.com/insidious-modx-errors.html) that in Evo if a snippet call is placed on multiple lines it will break. Is this still true for Evo 1.0.5 or has this been fixed? Thanks!

      If you find out, let me know? wink

      I believe it’s still true, but I haven’t tested it.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 33997
        • 150 Posts
        Well, I’ve been working on building a basic build to launch from in Evo 1.0.5, utilizing items I use over and over again so I only create them once. I have snippet calls for Wayfinder and for MaxiGallery, and they are both on multiple lines (but I put a space in before the ’enter’ key) and they seem to be working...
        [!Wayfinder? 
        &startId=`0` 
        &ignoreHidden=`TRUE` <!-- note the space character after each parameter -->
        &textOfLinks=`pagetitle` 
        &titleOfLinks=`longtitle` 
        &excludeDocs=`2,3,4,5,8` 
        &fullLink=`TRUE` 
        &outerTpl=`sitemapOuterTpl` 
        &rowTpl=`sitemapRowTpl` 
        &startItemTpl=`sitemapRowTpl` 
        &parentRowTpl=`sitemapRowTpl` 
        &innerTpl=`sitemapOuterTpl` 
        &innerRowTpl=`sitemapInnerRowTpl`
        !]
          "Great spirits have always encountered violent opposition from mediocre minds." -Albert Einstein