inputTV | this is the name of TV, which you need to create. MIGX will use this TVs input-type and input-options, also pathes from image-tvs for the output and so on. You can use the same inputTV multiple times for different fields, for example when you need more than one image-TV-fields.
<a href="#" rel="[[+pagetitle]]><img src="[[+image]] alt="[[+altTxt]] /></a>
Is it possible to use normal placeholder tags within the migx template when it's being used in conjunction with getResource as I can't seem to get this to work.
So for example the migx template would look like
<a href="#" rel="[[+pagetitle]]><img src="[[+image]] alt="[[+altTxt]] /></a>
So the pagetitle tag would be the page title of the particular resource thats being pulled in by getResouce.But currently nothing gets rendered out in place of[[+pagetitle]]
works ok, but of course this displays the pagetitle of the resource your on as apposed to the resource thats being pulled in by getResouce.[[*pagetitle]]
Thanks
B
[[getImageList? &docid=`[[+id]]` &tpl=`mytpl` &tvname=`migxtv` &title=`[[+pagetitle]]` ]]
[[+property.title]]
[[!getImageList? &tvname=`fancyBox` &tpl=`image.Tpl` &gallery=`[[+pagetitle]]` &docid=`[[+id]]`]]
<li><a rel="[[+property.gallery]]" href="[[+image]]"><img alt="" src="[[+image:phpthumbof=`w=240&h=90&zc=1`]]"></a></li>
may be you need a new getImageList-snippet from github
https://raw.github.com/Bruno17/multiItemsGridTV/master/core/components/migx/elements/snippets/snippet.getImagelist.php
$placeholdersKeyField = $modx->getOption('placeholdersKeyField', $scriptProperties, 'MIGX_id');
$placeholdersKeyField = $modx->getOption('placeholdersKeyField', $scriptProperties, false);
This discussion is closed to further replies. Keep calm and carry on.