I'm trying to use pdoTools for the first time. pdoMenu working fine. Now on to pdoResources. My call is working fine except for TVs not returning. Here's my code:
Template Variables in question:
project-type
(Listbox-Single, Options: SME & Food Business Consulting/Mentoring==mentoring||Product Development==product-development||Feasibility Study==feasibility-study||Innovation & Funding==innovation-funding||Business Network Facilitation==business-network||Other==other)
project-image
(coming from a media source at assets/uploads/)
portfolioItemTpl:
<div class="span3 portfolio_item block [[+tv.project-type]]">
<div class="view view-first">
<a href=""><img src="[[phpthumbsup? &input=`assets/uploads/[[+tv.project-image]]` &options=`w=270&h=187`]]"></a>
<div class="descr">
<h5><a href="">[[+pagetitle]]</a></h5>
<p class="clo">[[+longtitle]]</p>
</div>
</div>
</div>
Call:
[[!pdoResources?
&parents=`[[*id]]`
&sortby=`RAND()`
&tpl=`portfolioItemTpl`
&includeTVs=`product-type,product-image`
&processTVs=`1`
]]
I tried replacing pdoResources with getResources (also installed) but then it returns nothing at all! At least with pdoResources, I get the chunk, it just doesn't generate the image or the project-type class.
Any idea where I'm going wrong. And why the getResources version isn't working at all? Thank you!!!