We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4424
    • 42 Posts
    According to a friend of mine nothing wrong was seen but here’s the pic:

      • 22840
      • 1,572 Posts
      Can you try changing your this:

      [[!getResources? &parents=`7,8,9,10,11,12,13,14` &limit=`3` &tpl=`blogPost` &includeContent=`1`]] 


      To this:

      [[!getPage? &parents=`7,8,9,10,11,12,13,14` &limit=`3` &tpl=`blogPost` &includeContent=`1` &includeTVs=`1`]] 


      I had the same problem with gerResources when trying to pull content to my home page and doing that worked for me.
        • 4424
        • 42 Posts
        The page stays empty.. sad

        with getResources it only shows the TV’s on its page and only that tv (on each tv like said before)
        I can’t seem anyone else to find who is facing this problem or even records using custom TV’s in Revo.
          • 22840
          • 1,572 Posts
          Not sure then,

          The call that worked for me was this below, perhaps you could try some of the perams and see if you get anything ??

          [[!getPage?
                   &parents=`3`
                   &depth=`3`
                   &tpl=`home-site`
                   &sortby=`publishedon`
                   &tvPrefix=``
                   &includeTVs=`1`
                   &processTV=`1`
                   &showHidden=`true`
                   &limit=`4`
                   &pageVarKey=`page`
                   &element=`getResources`
                   &elementClass=`modSnippet`
                   &sortdir=`DESC`
                ]]
            • 4424
            • 42 Posts
            Nope doesnt work.
            Does this work for you with custom tags and an image tv and if so.
            Could you post your calls here on the site?
              • 22840
              • 1,572 Posts
              Thats what I have on my home page that calls in custom TV’s

              the chunk contains the following:

                <div class="cta">
                    <h3><a href="[[~[[+id]]]]">[[+pagetitle]]</a></h3>
                    <img src="[[+image1]]" alt="[[+pagetitle]]" />
                    <div>
                      <p>[[+introtext]]</p>
                    </div>
              </div>

              • Quote from: bziel at Aug 16, 2010, 05:50 PM

                <div class="blog_banner"><a href="[[~[[+id]]~]]">

                Not sure if this makes a difference, but your link modxTag should be:

                <div class="blog_banner"><a href="[[~[[+id]]]]">
                (drop the trailing ~)

                Are you using a TV prefix in your getResources tpl? (e.g. [[+tv.blog_picture]] vs. [[+blog_picture]])

                One final note, I have seen some weird/unexpected behavior in Revo with regards to invalid modxTag syntax. Sometimes missing a closing "]" (one too many, or one too little) can have weird results in your final markup... At a quick glance of your chunks, you don’t seem to be missing anything, but it can’t hurt to double check just in case! wink
                  Mike Reid - www.pixelchutes.com
                  MODx Ambassador / Contributor
                  [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
                  ________________________________
                  Where every pixel matters.
                • I’ll test this but I am thinking it is simple like the tv prefix setting

                  You need to either include the following:
                  &tvPrefix=``

                  or add the "tv." prefix to your image TV call in your chunk template as follows:
                  [[+tv.blog_picture]]



                  As an aside:
                  From what I understand getPage is not meant as a content display tool but a way to ad custom pagination and paging links for pages or page sets. it is different than getResources which is meant to get the actual resources. I guess it could work since it can access the resource fields.

                  It looks in your source code that you have debugging info there with a MySQL error displaying and to me that leads me to believe there is an issue but I am not sure.
                    Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. BlogTwitterLinkedInGitHub
                    • 4424
                    • 42 Posts
                    By Copying ’paulp’ I made it work.
                    Apparently it’s problem is the Caption. I changed that a little and made it work now.

                    Thank you so much!!!!