We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4172
    • 5,888 Posts
    Quote from: Bruno17 at Jul 11, 2011, 01:43 PM

    Quote from: lolotlm at Jul 11, 2011, 06:03 AM

    it is possible to use the inputTV with autoTag ?



    didn’t try that. I will do it and report how it does.

    ok, the normal autotag-tv, doesn’t work together with MIGX. I think it’s possible to create a special autotag-TV which does it.
      -------------------------------

      you can buy me a beer, if you like MIGX

      http://webcmsolutions.de/migx.html

      Thanks!
      • 35322
      • 20 Posts
      Quote from: Bruno17 at Jul 11, 2011, 02:24 PM

      And created an unused TV, called linkUrl with type URL, just in case that’s needed.

      what’s the name of your URL-TV. You will need the name of your TV for inputTV, not the type.

      {"field":"linkUrl","caption":"Link URL","inputTV":"linkUrl"}


      Ahhhh, I see... The penny has dropped. I thought the inputTV should be a string equivalent of the TV type. It makes so much more sense, now smiley

      Thanks loads!

      Lee
        • 17422
        • 225 Posts
        Quote from: Bruno17 at Jul 11, 2011, 02:36 PM

        Quote from: Bruno17 at Jul 11, 2011, 01:43 PM

        Quote from: lolotlm at Jul 11, 2011, 06:03 AM

        it is possible to use the inputTV with autoTag ?



        didn’t try that. I will do it and report how it does.

        ok, the normal autotag-tv, doesn’t work together with MIGX. I think it’s possible to create a special autotag-TV which does it.

        Thanks Bruno
          • 17422
          • 225 Posts
          I use getResources with getimagelist

          [[!getResources? &parents=`3` &limit=`10` &tpl=`slide_home_realisations`]]



          slide_home_realisations :

          <a href="[[~[[+id]]]]" title="[[+description]]" target="_blank">
          [[!getImageList?    &tvname=`photos`    &tpl=`content_slide_home`     &limit=`1`    &docid=`[[+id]]`]]
          </div>
          

          content_slide_home :

          <img src="[[+image]]" alt="[[+pagetitle]]"></a>
          <div class="caption" style="bottom:0">
              <p>[[+description]]</p>
          </div>
          


          why in the tpl slide_home_realisations i must call the placeholder [[+id]] before getImageList ?

          if i d’ont call the placeholder, getImageList don’t work.

          excuses for me english smiley

          Laurent
            • 4172
            • 5,888 Posts
            try to call getImageList cached:

            [[getImageList?    &tvname=`photos`    &tpl=`content_slide_home`     &limit=`1`    &docid=`[[+id]]`]]
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!
              • 17422
              • 225 Posts
              you are the king smiley
              thanks,

              I do not understand well the difference between cached and not cached.
                • 35322
                • 20 Posts
                I’m still new to ModX / MigX, but is there a way to input data and share it across a range of pages? Perhaps by template? For instance, I’m currently using MigX to create panelled area’s. These panelled area’s may, on occasion, be the same for all pages with a given template. I could embed the data into the template, but I want the data to be easily updated by the client.

                Thanks,
                Lee

                  • 4172
                  • 5,888 Posts
                  you can create a new resource, which acts as a ’global resource’ and use the getImageList-snippet with &docid=`xxx` where xxx is the resourceID of your ’global resource’
                    -------------------------------

                    you can buy me a beer, if you like MIGX

                    http://webcmsolutions.de/migx.html

                    Thanks!
                    • 35322
                    • 20 Posts
                    Ahh, I see. Would it then be possible to allow the client to specify docid, perhaps via dropdown, in MigX, so each item uses a different resource? Are there examples of this?

                    Thanks loads. I’m really starting to see the benefit of ModX smiley

                    Lee
                      • 4172
                      • 5,888 Posts
                      Quote from: Lazarus404 at Jul 13, 2011, 02:24 AM

                      Ahh, I see. Would it then be possible to allow the client to specify docid, perhaps via dropdown, in MigX, so each item uses a different resource? Are there examples of this?

                      Thanks loads. I’m really starting to see the benefit of ModX smiley

                      Lee

                      I’m not sure what you’re trying. Can you explain your situation a bit more with some more info and examples?
                        -------------------------------

                        you can buy me a beer, if you like MIGX

                        http://webcmsolutions.de/migx.html

                        Thanks!

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