We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24205
    • 10 Posts
    looks like all timing depends on Ditto snipet
    with ditto disabled timing is ~500ms

    how can i migrate from ditto to getresource ?
      • 9102 ☆ A M B ☆
      • 318 Posts
      how can i migrate from ditto to getresource ?
      You’ll have to rewrite your snippet calls and templates somewhat, as getResources uses slightly different placeholders by default, but it’s not that hard.
        • 33337
        • 3,975 Posts
        Quote from: qubstudio at Jan 19, 2011, 09:49 AM

        Quote from: zi at Jan 19, 2011, 09:38 AM

        http://ss.qubstudio.com/_js/jquery.tools.min.js giving 404. plz check

        where did you find this call?
        Its in the rendered source, when page completely loads in the browser, view source and see.
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 25663 MODX Staff
          • 12,272 Posts
          As you rightly identified, HTML comments do not break the snippet calls; they’re still executed. getResources is very similar to Ditto. Just have a peek at the params and I bet you figure it out quickly, and make sure to cache your call if at all possible.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 24205
            • 10 Posts
            Quote from: rthrash at Jan 19, 2011, 05:08 PM

            As you rightly identified, HTML comments do not break the snippet calls; they’re still executed. getResources is very similar to Ditto. Just have a peek at the params and I bet you figure it out quickly, and make sure to cache your call if at all possible.

            thanx man
            i have tried getResources for some blocks and it helped
            now we are working on migrating to getResources