We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22829 ☆ A M B ☆
    • 80 Posts
    This is an auto-generated topic for getResourceField 1.0-pl by paulmerchant.

    Brief Description:

    A snippet to return a field or a TV value from a specified resource. The TV values returned can be processed or unprocessed. getResourceField can be easily combined with UltimateParent or other calls for added functionality.
      Time is what keeps everything from happening all at once.
      • 14653
      • 24 Posts
      In the Package Management indicated getResourceField 1.0.0-beta1, trying to upgrade to 1.0-pl. In response, wrote provider_err_connect. It’s only me or everyone?
        Sys. info:
        MODx version: MODx Revolution 2.x
        OS: Archlinux roller
        • 29076
        • 615 Posts
        Tried it to day, same problem here.
          I think, thererfor I am! But what I am, and why...?
          • 22829 ☆ A M B ☆
          • 80 Posts
          I noticed this, too, and tried to get somebody to fix it. I don’t think the initial beta was added right in the first place.

          I wonder if I should upload a slightly different version number. For some reason I don’t think that’ll fix the problem.

          The good thing is that the beta works the same and it doesn’t hurt to keep using it.
            Time is what keeps everything from happening all at once.
            • 33337
            • 3,975 Posts
            Is it like getField for Evo?
              Zaigham R - MODX Professional | Skype | Email | Twitter

              Digging the interwebs for #MODX gems and bringing it to you. modx.link
              • 22829 ☆ A M B ☆
              • 80 Posts
              paulmerchant Reply #6, 16 years ago
              Quote from: zi at Aug 31, 2010, 04:26 AM

              Is it like getField for Evo?

              Yep. It was written to do the sames things that getField does for Evolution.

              It’s not really the same, though. None of the code is the same. It’s specialized and simple by design. You need to use it with Ultimate Parent to do some of the things that getField does (as shown in the examples in the header). It can also return the processed output of Revo TVs.

              But yes, if you used getField for Evolution, you can do the same things with getResourceField.
                Time is what keeps everything from happening all at once.
                • 18463
                • 121 Posts
                Martijn van Turnhout Reply #7, 15 years, 5 months ago
                Is this snippet still being supported? I’d love to see an upgrade. One with which you can finally use output filters with this snippet.
                  • 22829 ☆ A M B ☆
                  • 80 Posts
                  Thanks for the request. Output filters could be a nice addition.
                    Time is what keeps everything from happening all at once.
                    • 18463
                    • 121 Posts
                    Martijn van Turnhout Reply #9, 15 years, 4 months ago
                    The combination with (image) TV’s, outputfilters (phpThumb in this case) and getResourceField doesn’t seem to work anymore in 2.1! All I get are old values! Very strange.

                    -- edit --

                    Nevermind, works perfectly. Didn’t use parameters well.
                      • 36604
                      • 268 Posts
                      Hi,

                      This morning I've tried to update (using the package manager) Getresourcefield
                      (getresourcefield-1.0.3-pl -> getresourcefield-1.0.3-pl1) just because there was the orange button telling an update was available.
                      As I did not had so many updates recently, this looked a good idea to update what had to be.
                      So I did 2 packages update (the other had no pb)
                      BUT for getresourcefield : here's what happened.
                      Essai d'installation du paquet ayant pour signature: getresourcefield-1.0.3-pl1
                      Paquet trouvé… préparation de l'installation.
                      Could not find package manifest at /var/www/vhosts/xxxxxx.fr/httpdocs/core/packages/getresourcefield-1.0.3-pl1/manifest.php
                      Could not unpack package /var/www/vhosts/xxxxxxx.fr/httpdocs/core/packages/getresourcefield-1.0.3-pl1.transport.zip to /var/www/vhosts/xxxxxxx.fr/httpdocs/core/packages/. SIG: getresourcefield-1.0.3-pl1
                      Impossible d'installer le paquet ayant pour signature: getresourcefield-1.0.3-pl1
                      


                      Looks like the site is still ok but in the package management this package appears as not installed.
                      I download the zip from extra repo website directly and compared what was into the zip. This is exactly the same files that appears into my server's /core/packages/getresourcefield-1.0.3-pl/ except there's also a preserved.php file in my directory (5810b living here since the server setup)

                      BUT there's NO -pl1 directory!

                      so... what can I do reanme the directory huh


                      Thank you

                      [ed. note: elz064 last edited this post 12 years, 8 months ago.]