We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10529
    • 73 Posts
    New to the forums and have tried to stay away from asking newbie type questions - I’ve been dabbling with Modx for a few months and in the past couple of days have made a concentrated effort with the above book - going through page by page religiously and not jumping around - wanting to jump ahead as I sort of know what stuff I want to do with Modx but remaining disciplined and going chapter by chapter

    I’v been beating myself up this morning for more than a few hours on Ditto & XML formats - have done a simple Ditto page http://www.fashionstylist.biz/index.php?id=90 and now working through rss feeds http://www.fashionstylist.biz/index.php?id=92 but this has been a nightmare to get to work - the code to put into each page after setting up tv Blogcategories is
    [!Ditto? &parents=`77` &filter=`tvBlogcategories,IT,7` &format=`rss`!]
    [!Ditto? &parents=`77` &filter=`tvBlogcategories,Lifestyle,7` &format=`rss`!]
    [!Ditto? &parents=`77` &filter=`tvBlogcategories,Sports,7` &format=`rss`!]

    but that then that’s not been working and been getting a no feed error message in IE and message below in FF

    XML Parsing Error: XML or text declaration not at start of entity
    Location: http://www.fashionstylist.biz/index.php?id=96
    Line Number 1, Column 4:<p><?xml version="1.0" encoding="UTF-8" ?>
    ---^

    Howver just sussed that if I uncheck rich text in page settings and save, (still get error message) but if I go back in and edit again and check richtext box delete <p> and </p> at the end, save it then works huh???

    Is this a bug or am I doing something wrong in setting up the original page - think it was purely by luck that I’ve sort of got it working

    All pages are now working http://www.fashionstylist.biz/index.php?id=96 ids 92 96 & 97

    Are there any MODx gurus close to Brighton (UK South Coast) feel a days intense training might be worth it!
      • 25663 MODX Staff
      • 12,272 Posts
      Don’t use the RTE on pages that output code, or you will wind up with problems like you encountered on occasion. (In other words, turn it off for that page completely, and clean up the muck.) wink
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 10529
        • 73 Posts
        Thanks I’ve rapidly come to that conclusion just now after yet more wasted time on wayfinder stuff >:(
          • 26931
          • 2,314 Posts
          just now after yet more wasted time on wayfinder stuff

          Hi Gavin,

          don’t forget to check out the excellent Wayfinder e-book! -> http://modxcms.com/forums/index.php/topic,34176.0.html