We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36066
    • 3 Posts
    Thanks for the response.

    Is there any documentation out there for tag signatures? I did include unique template properties, &instance=`2` and &instance=`3`, on the far right-hand side of each getResources call. It sounds like that's not enough to make the tag signatures unique?
      • 38355
      • 38 Posts
      Hey I have tried this code example
      [[!getResources? &parents=`24` &limit=`1` &tpl=`McQuote` &includeContent=`1` &sortby=`RAND()`]]

      to randomly display quotes in my sidebar but nothing is being display??

      I have no idea why.... I have a few resources under container (id24) and calling my McQuote chunk in the sidebar....

      Am i missing something? [ed. note: damshawthing last edited this post 12 years, 2 months ago.]
        Revolution 2.2.0
        Developer not a programmer...
        • 38355
        • 38 Posts
        hmmm.... stil no joy sad
          Revolution 2.2.0
          Developer not a programmer...
          • 36592
          • 970 Posts
          Try this...
          &showHidden=`1`
            • 38355
            • 38 Posts
            Hey tkfm,

            your suggestion got the content to show but unfortunately it is pulling the content from the current page and not the parent being called (24)...

            any ideas?

            Cheers for the help!! [ed. note: damshawthing last edited this post 12 years, 2 months ago.]
              Revolution 2.2.0
              Developer not a programmer...
              • 36592
              • 970 Posts
              Quote from: damshawthing at Feb 14, 2012, 03:14 AM

              it is pulling the content from the current page and not the parent being called (24)...
              Probably you are using
              [[*content]]
              in your McQuote chunk.
              Replace it with
              [[+content]]
              .
                • 38355
                • 38 Posts
                tkfm that did the tick! thanks

                I'm a bit confused then about the difference between
                 [[*blah]] 
                and
                [[+blah]]


                 [[+blah]] 
                is a placeholder and
                [[*blah]] 
                is a resource field

                but in a chunk
                [[+blah]] 
                represents
                 [[*blah]] 
                ?? [ed. note: damshawthing last edited this post 12 years, 2 months ago.]
                  Revolution 2.2.0
                  Developer not a programmer...
                  • 38947
                  • 1 Posts
                  My getResources does not display items Randomly even after using RAND, it displays only one Item all the time. I have used the following code:

                  [[!getPage?    &elementClass=`modSnippet`    &element=`getResources`      &parents=`24`    &depth=`2`    &limit=`1`    &pageVarKey=`page`      &includeTVs=`1`    &includeContent=`1`      &sortby=`RAND()`      &tpl=`bibleQuote` ]]


                  and the chunk "bibleQuote" is:

                  <div class="blogPost">
                  <a href="#">Bible Verse of the day:</a>
                  <p><strong>[[+pagetitle]]</strong></p>
                  <p>[[+tv.introtext]]</p> 
                  <div class="clear"></div>
                  </div>


                  And the page is only displaying one verse instead of showing a random verse every time the page is loaded, the verse does not change at all. What am i doing wrong? [ed. note: pakamzee last edited this post 12 years ago.]
                    • 8167
                    • 18 Posts
                    awesome! works well with firstchildredirect as well. you can now be redirected to a random sibling
                      • 8167
                      • 18 Posts
                      awesome! works well with firstchildredirect as well. you can now be redirected to a random sibling