Please Help!
Using 2.3.1 new site everythings been installed this week
I am using migx multi-upload to output images on a page using getImageList with the TV name of resourcealbum its my gallery page with an ID of 7 and it works perfect. It currently has no child pages and has 3 images uploaded and outputting fine.
My aim now is to output the latest 2 images uploaded onto this gallery page show up on the sidebar that's on all the other site pages, I have this working on a test site but when I replicate it on a new site it just wont output anything, I've been though this so many times I give up here's my code can anyone see where I have gone wrong.
getResources call
[[!getResources?
&parents=`7`
&tvname=`resourcealbum`
&depth=`3`
&tpl=`sideBarImg`
&includeTVs=`1`
&processTV=`1`
&showHidden=`true`
&limit=`1`
&pageVarKey=`page`
&element=`getResources`
&sortdir=`desc`]]
tpl sideBarImg
[[!getImageList?
&tvname=`resourcealbum`
&tpl=`sideImg`
&limit=`2`
&processTVs=`0`
&menutitle=`[[+menutitle]]`
&docid=`[[+id]]`
]]
tpl SideImg
<img src="[[+image:add_before=`assets/resourceimages/[[+property.docid]]/`:phpthumbof=`w=120&h=120&zc=1`&f=png&fltr[]=ric|20|20`]]" alt="[[+menutitle]]">
Snippet add_before
I've checked stuff like uppercase changed names tried a new parent it just outputs nothing, getResources is working I testing this by putting the wrong template name in it then output the array info.
I am sure I am doing something wrong but I am not a technical user so if anyone can see any errors or give me any pointers on what to try next that would be very useful.
Thanks
Ian
[ed. note: panfire last edited this post 12 years, 2 months ago.]