We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8471
    • 333 Posts
    With this new version there are problems with ditto paginate!
      Sorry for my bad English grin
      • 23050
      • 1,842 Posts
      Quote from: edipo at Nov 29, 2006, 04:02 AM

      With this new version there are problems with ditto paginate!

      Yes, I had the same problem : if I cache Ditto call, pagination works fine.
      Same for Reflect : I had to change Ditto call from uncached to cached.

      Thx bS for your answer above and this new version wink
        • 4195
        • 398 Posts
        Quote from: edipo at Nov 29, 2006, 04:02 AM

        With this new version there are problems with ditto paginate!

        That is just default behaviour in combination with the nesting that PHx supports, the reason for this is that the placeholders and cached snippets are processed on a level before the uncached snippet is processed. I will try to come up with a routine to take this into account also (expect this later today or tomorrow).
          Armand Pondman
          MODx Coding Team
          :: Jot :: PHx
          • 8471
          • 333 Posts
          thanks bs
            Sorry for my bad English grin
            • 21056
            • 327 Posts
            Quote from: bS at Nov 28, 2006, 06:32 PM

            PHx 2.1.1 is here!

            Fixes the snippet caching problem as posted in this thread and PHx also gains some increased performance when multiple identical modifiers are used. grin

            Updating is recommended!
            Does this work with 0.9.5 ?
              Author: ManagerManager plugin - customise your ModX manager interface

              Rckt - web development, Sheffield, UK
              • 4195
              • 398 Posts
              yes
                Armand Pondman
                MODx Coding Team
                :: Jot :: PHx
                • 19726
                • 239 Posts
                Quote from: bS at Nov 28, 2006, 06:32 PM
                PHx 2.1.1 is here!

                Fixes the snippet caching problem as posted in this thread and PHx also gains some increased performance when multiple identical modifiers are used. grin
                Thanks a lot for the fix. PHx Rocks !!!
                  • 696
                  • 46 Posts
                  im having a problem that with any pages that call ditto with or without paginate...

                  Fatal error: Cannot redeclare class phxparser in /home/*****/public_html/assets/plugins/phx/phx.parser.class.inc.php on line 11

                  check it out here http://www.spreadcubecart.com/62.html and http://www.spreadcubecart.com/blog.html and http://www.spreadcubecart.com/free-mod-downloads.html
                    • 33114
                    • 518 Posts
                    Hi everybody and Bs, thanks for ur great plugin!

                    I tried to search forums first but found nothing on my case.

                    I wanna use conditional placeholder to define wether user is logged in as a manager and to filter some code if true.
                    In documentation I found the parameter ’phx:mo’ that resembles what I need. Is there a way to determine a manager user with it? Maybe a manager group (not web-user group)

                    Thanks
                      http://modx.ru - российская поддержка MODx
                      http://newscup.ru - экспериментальный проект
                      http://yentsun.com - персональный сайт
                      • 10573
                      • 101 Posts
                      I went through all the documentation here http://wiki.modxcms.com/index.php/PHx#Advanced_usage and I’m still not sure how to use this plugin.

                      Can I write a condition that will show a {{chunk}} if the document is a child of a folder?

                      Can the chunk have a [[snippet]] inside it?

                      What would the call on my template look like?

                      Thanks!

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