We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25519
    • 265 Posts
    Hi
    I'm running a getResources call which isn't outputting some tv's - the tv's work perfectly when placed outside the getResources call and have correct template access. If someone can spot what's fouling up I'd be very grateful!

    Here's what the TVs are set as:

    tv.port-pod-image

    input/output type: image

    tv.included-tech

    input type: rich text
    output type: default

    Here's the snippet call:
    [[!getResources? &parents=`15` &tpl=`portpodTpl` &showHidden=`1` &includeTVs=`1` &processTVs=`1` ]]

    and here's the portpodTpl chunk:
    <article class="port-pod">
      <div class="port-pod-l">
        <img src="[[+tv.port-pod-image]]" title="[[+pagetitle]]" alt="[[+pagetitle]]" />
        <h1><a href="[[~[[+id]]]]" title="[[+pagetitle]]">[[+pagetitle]]</a></h1>
        <p>[[+introtext]]</p>
        <p class="readmore"><a href="[[~[[+id]]]]">Read more</a></p>
      </div>
      <div class="port-pod-r">
        [[+tv.included-tech]]</p>
      </div>
    </article>
    

    (all the +pagetitle, +introtext placeholders work fine)

    The site is running in the following:
    Revo 2.0.8 (an update is imminent btw)
    Linux
    Apache version 2.2.15
    MySQL version 5.0.92-community
    PHP version 5.2.13

    Many thanks in advance [ed. note: rootsdiv last edited this post 14 years, 11 months ago.]