In Maxigallery 0.5.2 I’m trying to use [+maxigallery.config.gal_query_ids+] placeholder in my galleryPictureTpl but nothing is displayed.
Note that I multiple call the snippet from an other, perhaps is the reason:
<?php
$list = $modx->runSnippet('maxigallery',
array(
'gal_query_ids'=>$row['id'],
'galleryPictureTpl'=>'ChildGalleryTplContinent',
'limit'=>'1',
'lang'=>'fr',
'display'=>'embedded',
'embedtype'=>'lightboxv2',
'css'=>'/css/galeriecss.css'
)
);
echo $list;
?>
here is the chunk template
<div id ="vignette">
<div id="vimage">
<a href="[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]" rel="lightbox[maxigallery]" title="[+maxigallery.picture.title:htmlent+] - [+maxigallery.picture.descr:htmlent+]">
<img style="margin-top:[+maxigallery.picture_height_thumb:math=`(180-?)/2`:int +]px;" src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" title="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.click_to_zoom+]" alt="[+maxigallery.picture.title:htmlent+] [+maxigallery.strings.cliquez pour zoomer+]" />
</a>
</div>
<div id="vtitre" >
<span>[+maxigallery.pageinfo.pagetitle:htmlent+]-[+maxigallery.config.gal_query_ids+]</span>
</div>
</div>
The purpose is to display one image per galerie in the parent of the parent. (The parents haven’t any gallery and are just present to categorize the img.)
EDIT: The [+maxigallery.pageinfo.field+] parameter display fields from the page where the gallery is displayed, quite useless becausse a [*field*] do the job, it would be better (but harder

) to display field from the gallery’s page.