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
    @Yulianita
    If fastField doesn't work, you can try pdoField or getResourceField to get TV-values in
      -------------------------------

      you can buy me a beer, if you like MIGX

      http://webcmsolutions.de/migx.html

      Thanks!
      • 4172
      • 5,888 Posts
      there is now also a &joins - property where you can get TVs and other objects in for sorting and displaying.

      Example for one TV:

      [[!siblingNav? 
      &debug=`1` 
      &sortBy=`{"publishedon":"ASC","id":"ASC"}`
      &joins=`[{"alias":"Price","classname":"modTemplateVarResource","on":"Price.contentid=modResource.id and Price.tmplvarid=3"}]`
      &infinitLoop=`1`
      ]]
      


      You can get the value of the TV in this case with:

      [[+Price_value]]
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 3749
        • 24,544 Posts
        Quote from: Bruno17 at Apr 11, 2015, 08:56 AM
        @Bob
        Seem to get the correct order also for prev and next links

        With this new version, you can get some debugging - infos with &debug=`1`, if that helps.

        https://github.com/Bruno17/siblingnav/blob/master/core/components/siblingnav/model/siblingnav/siblingnav.class.php

        Thanks, I'll give it a try.
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 47047
          • 43 Posts
          Quote from: Bruno17 at Apr 11, 2015, 09:49 AM
          @Yulianita
          If fastField doesn't work, you can try pdoField or getResourceField to get TV-values in

          Thanks @Bruno

          But still not working, all snippets (fasField, PdoField, getResourceField) work perfectly with and id number manually, but not with the tag [[+id]], this contains the id number of Previous or Next resource, I just need to call a image (tv) from my chunk prevTpl or nextTpl, I can see all variables of next or previous resources, but not the TV's.

          Sorry for my English :-|

          Thanks for you help.
            @yulianita
            • 47047
            • 43 Posts
            @bruno I got it!

            My bad, I only needed clear my cache, now it does work! Thank you very much, I love ModX.
              @yulianita