We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1761
    • 20 Posts
    MODX version: MODX Revolution 2.2.9-pl (traditional)
    Version codename: Revolution
    Database type: mysql
    Database version: 5.0.77
    PHP version: 5.2.11

    I recently updated modx to 2.2.9 and I'm not sure if previous versions had the same issue but if I'm working on a tv or chunk and after saving it the modx tree returns to the resources tree and it closes all the folders. If I'm working in the Elements Tree with tv's or chunks it's very annoying to click your way back to Elements -> Template Variables -> Some folder -> tv. Is there a way to stop this from happening? I'm very capable in closing folders myself and I know where my Resource tree is.
    Hope this makes sense!

    Groetjes,
    Annys

      • 9207 ☆ A M B ☆
      • 2,475 Posts
      I noticed similar behavior only when doing the "Quick Edit" or "Quick Create" variants. Are you doing regular create/edits? Or the quick alternatives?
        • 1761
        • 20 Posts
        I was talking about the regular way. I forgot about the quick way but I checked and this works without the file tree collapsing and going back to the resources part. I know quick edit is an option but it's not possible to edit the 'complete' tv, chunk, etc.
          • 11055 ☆ A M B ☆
          • 3,112 Posts
          The modx tree does have _saveState() method to remember the node status.
          You might want to submit the issue to http://bugs.modx.com/ so it can be reviewed.
            Rico
            Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
            MODx is great, but knowing how to use it well makes it perfect!

            www.virtudraft.com

            Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

            Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

            Maintainter/contributor of Babel

            Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
            • 41592 ☆ A M B ☆
            • 83 Posts
            Try to turn Off System Settings: clear_cache_refresh_trees or maybe you've to edit refresh() function (that is called every time you save a modElement) to filter your request of not refreshing while saving a chunk or TV (even if I do not recommend it).
            Alternatively, you can change the functions save (), update (), remove () of modElement to avoid running $this->modx->cacheManager->refresh() (even if I do not recommend it).

            [ed. note: solidusite last edited this post 12 years, 11 months ago.]
              Francesco Mussoni | MODX Ambassador | Skype: solidusite2 | Email: [email protected]
              • 37110
              • 72 Posts
              You have to change the message_limit property inside "modx.js". If you take a look into the cache directory there are more than 200 files and MODX wont include the resource tree.