We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3749
    • 24,544 Posts
    You could disable DirectResize altogether, but you probably don't want do that.

    The only other thing I can think of is to add code at the beginning of the DirectResize plugin to return based on the page id. Something like this:


    $skip = explode(',', '12,32,36,42'; /* Ids of pages where you don't want DirectResize to act */
    
    if (in_array($modx->resource->get('id'), $skip)) {
        return '';
    }


    If you go that route, I'd duplicate DR and make the change in the duplicate. Enable the duplicate and disable DR. That way your code won't get overwritten if you upgrade DR.

      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