Ok, here is what I’m trying to do...
I have a folder with galleries in it like so:
ALL gal’s
|club name 1
|gallery 1
|gallery 2
|etc...
|club name 2
|gallery 1
|gallery 2
|etc...
|club name 3
|gallery 1
|gallery 2
|etc...
Every document for gallery (gallery 1, 2, 3...) has a TV with the name of the club where pictures are taken.
Now for the problem...
When I put latest pictures taken... It won’t display the proper TV, thus the first TV that is set on parent folders of the galleries.
My snippet call for the "latest pictures" (parent folder "ALL gal’s" is ID=47)
[!MaxiGallery? &childgalleries_ids=`47` &display=`childgalleries` &childgalleries_limit=`8` &childgalleries_order_by=`pub_date` &childgalleries_order_direction=`DESC` &order_by=`pos` &childgalleryTpl=`thumbs_naslovna` &lang=`hr`!]
and &childgalleryTpl=`thumbs_naslovna` is:
<li>
<div class="thumb_slike">
<a href="[+maxigallery.childurl+]">
<img src="[*myimage:phpthumb=`h=100&w=130&zc=1#[+maxigallery.path_to_gal+][+maxigallery.picture.filename+]#1`*]" class="thumbnail" title="[+maxigallery.strings.go_to_gallery+]" alt="[+maxigallery.strings.go_to_gallery+]" /> </a>
<p class="opis1">[+maxigallery.pageinfo.pagetitle:htmlent:if=`[+maxigallery.pageinfo.pagetitle:htmlent:len+]`:gt=`40`:then=`[+maxigallery.pageinfo.pagetitle:htmlent:character_limit=`40`+] `:else=`[+maxigallery.pageinfo.pagetitle:htmlent+]`+]</p>
</div>
</li>
Tried putting name of the club with calling the TV like
[*clubs*] in te template, but it outputs one same TV for all the galleries :/
example:
....<p class="opis1">[+maxigallery.pageinfo.pagetitle:htmlent:if=`[+maxigallery.pageinfo.pagetitle:htmlent:len+]`:gt=`40`:then=`[+maxigallery.pageinfo.pagetitle:htmlent:character_limit=`40`+] `:else=`[+maxigallery.pageinfo.pagetitle:htmlent+]`+]</p>
<p class="opis2">[*clubs*]</p>
</div>
</li>
Any smart idea?