HI,
I need some help to understand if I can do the following:
I created an album in Gallery.
I regret the fact there's only 2 fields associated with each image and, afaik, no way to easily add some more.
Now I have the idea to associate a page to each image in gallery using the +description of Gallery.
image --> docid in the revo documents tree, putting the doc id into the Gallery +description PL
Page --> any TV
Gallery call -> get the page TV ... meaning
For each page associated to a Gallery image I'd like to get any field or TV of the page in order to have as many field as necessary to display data around each Gallery image.
I'm trying to GetRessource from each page during the [[!Galery]] call.
Of course ... nothing works.
In my tpl chunk for each Gallery thumb I tried this:
<li class="pix">
PL +description de Gallery: [[+description]]
<a class="big-image" href="[[+image]]" rel="colorbox" title="[[+description]]">
<img data-thumb="[[+thumbnail]]" data-href="[[+thumbnail]]" class="[[+imgCls]]" src="[[+thumbnail]]" alt="[[+name]]" />
</a>
<div class="description Xflex-caption caption elemHover">
<span class="big">[[+name]]</span>
-
<span class="orange">[[!getResourceField? &id=`[[+description]]` &field=`[[*description]]` &processTV=`1` &default=`Pas de description disponible`]]</span>
» <a href="[[+url]]" title="Voir ce site (nl onglet)">[[+url]]</a>
<h4>Résumé</h4>
<p>[[!getResourceField? &id=`[[+description]]` &field=`[[*introtext]]` &processTV=`1` &default=`Pas de résumé disponible`]]</p>
</div>
</li>
Or / and I put the GetRessource calls into chunks to clarify a little bit like this:
[[!getResourceField? &id=`[[+description]]` &field=`[[*introtext]]` &processTV=`1` &default=`Pas de résumé disponible`]]
Get ressource does not grab what I'd like to target.
Need some clarfication of any other ideas.
Thanks a lot