We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • I think the problem with PHx is the regular expression in its internal garbage collection routine. It should only be removing its own placeholders but it's removing all placeholders instead.

    Somebody already has released a multi-image TV using custom TVs. I can't find the link to the forum post about it at the moment, though.

    The problem with caching is that there are three multidimensional arrays for every resource, to reflect the different parent/child and alias relationships. These all have to be loaded into memory from the file. Having all templates, snippets, chunks and plugins in the same cache file just makes things worse, although using a single "include" snippet for everything does reduce the sheer volume of cached code.
      Studying MODX in the desert - http://sottwell.com
      Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
      Join the Slack Community - http://modx.org
      • 19369
      • 1,098 Posts
      Quote from: Stefanie at Mar 04, 2012, 04:19 PM

      What exactly do you mean with flexible permissions? By now, you only see resources, that you have rights for.

      Let's suppose I make a blog with this structure:

      +home
      +about
      +blog
      ++category1
      +++article1
      +++article2
      +++article3
      ++category2
      +++article1
      +++article2
      +++article3

      If I have a big website, and I want to add some publishers and allow them to edit only few categories, I would have to set "allow all users to see all resources in the Tree" from the website configuration settings, and usually this is not ideal. See this related thread: http://forums.modx.com/thread/74515/modx-permissions---evo


      Quote from: Stefanie at Mar 04, 2012, 04:19 PM

      The last release of PHx is now nearly two years ago. Have you tried to talk to the original developer of PHx?

      No, I haven't, but it is a well known bug.

      Quote from: Stefanie at Mar 04, 2012, 04:19 PM

      The problems of bigger sites with the caching is well known and as no one was able to solve it in the past, the code has to be checked and maybe replaced. I had some experiences with the caching of Zend Framework, it might be worth a look to use it as component.

      If that's supported by all hosting provider, yes, it is worth to have a look there.

      Quote from: sottwell at Mar 04, 2012, 04:55 PM
      Somebody already has released a multi-image TV using custom TVs. I can't find the link to the forum post about it at the moment, though.

      See this:
      http://forums.modx.com/thread/?thread=33985&i=1&page=1

      http://www.kunane.com/modx/multi-image-tv.html

      However, these solutions are a little bit "too geeky" for me, something like MIGX that is configurable and easy to use and understand would be better.
        • 28439
        • 222 Posts
        I do understand your problem with the rights in the tree. This can should be done as part of the change of the JavaScript library.

        Zend Framework does not depend on hosting providers, it is an open source PHP framework.

        If things are to geeky, ask for support of the programmer, offer anything animate the programmer smiley
        Most programmers are progging, to solve their problems, they need a reason to do it in a way, that the non geeks understand.

        Speaking about PHx, do you know for sure, that the bug is not only well known for you, but for the programmer? Offer something, and the programmer might help you.

        For example, programmers don't like to write and manage documentation, even this could be an offer.
          Gone away and found a better place to stay
          • 4310
          • 2,310 Posts
          For multi uploads the complete stack for the file management has to be replaced.
          There is an Uploadify multi file upload hack to the file manager, I use it on all my sites.
            • 28439
            • 222 Posts
            I'm thinking about an AJAX file manager based on jQuery, that is based on jQuery UI, for example this one: http://kfm.verens.com/.
            But there are also some other available.
              Gone away and found a better place to stay
              • 19369
              • 1,098 Posts
              AjaXplorer filemanager is really good, but maybe it's too much, uploadify would work just fine.

              About the creation of a configurable multiTV plugin which works like MIGX, if someone is willing to do it, I'll help in any way I can.
              • Actually, as far as file managers go, I'm very fond of elRTE and its accompanying file manager elFinder.

                http://elrte.org/
                http://elrte.org/elfinder

                In fact, I'm willing to pay somebody for customizing elRTE to recognize MODx tags (evo and revo) as block-level elements so it won't meddle with their contents or add any HTML tags around them.

                [ed. note: sottwell last edited this post 12 years ago.]
                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 19369
                  • 1,098 Posts
                  That's a fantastic WYSIWYG Editor. The file manager as well, I really like the UI and the functionality, it is just missing multiupload, then it would be perfect.
                    • 28439
                    • 222 Posts
                    I took a look at elRTE and my first impression is very good. By the way, it is based on jQuery and jQuery UI.
                    By now I wasn't sure, which text editor to use, but now it looks like I've one on my wishlist smiley

                    There is only one think, the project does not look very active, the beta of elFinder was released on 2011/07/11, that is more than half a year ago.

                    When the project reaches the step "Replace the JavaScript library with jQuery" we will see. I think we should collect all ideas and do a voting about which jQuery plugins to use.

                    The advantage of using jQuery is the huge number of good plugins and that most of them are using UI, this makes theming very easy in the meaning of give the user a choice about the layout.
                      Gone away and found a better place to stay
                      • 26931
                      • 2,314 Posts
                      anonymized-26931 Reply #20, 12 years ago
                      Nice!

                      Better caching system: fix limit of 5000 resources, fix strange behaviours of uncached or cached snippets

                      the japanese and russian community has been working (separately) on optimizing the caching system. i try to ping them about this thread.

                      This discussion is closed to further replies. Keep calm and carry on.