Howdy.
I have a simple MigX TV holding customer info; the json entry for the grid columns is:
[{"header": "Name",
"width": "32",
"sortable": "true",
"dataIndex": "cp_customer_name"},
{"header": "URL",
"width": "64",
"sortable": "false",
"dataIndex": "cp_customer_url"},
{"header": "Logo",
"width": "50",
"sortable": "false",
"dataIndex": "cp_customer_logo",
"renderer": "this.renderImage"}]
I was wondering why the links to my images weren't showing up; the list is dumped via
[[!getImageList? &tvname=`cp_customer` &tpl=`customer_tpl` &docid=`[[+id]]` ]]
with the tpl reading
<li><a href="[[+cp_customer_url]]" target="_blank"><img src="[[+cp_customer_image]]" alt="[[+cp_customer_name]]" /></a></li>
When I poke into the db, I see that the formtabs and extended fields populated correctly, but for some reason, columns is set to []. Have I set something up incorrectly? (I'm thinking that the initial issue of my images not showing up is because of the lack of a renderer, yes?)
Ok, so my confusion is shifting. Anyone encounter such an issue? Any suggestions on what I can do to correct things?
Thanks much for any hellp...