Open gedneystudio opened 11 years ago
try:
rel="gallery[[+property.docid]]"
That did it!!!
I tried +docid … I was close.
since it's technically not an issue, should I take down my git post or reply with the fix?
On Jan 4, 2013, at 1:43 PM, Bruno17 notifications@github.com wrote:
[[+property.docid]]
Took me hours and hours without success. Now everything works perfectly.
THANK YOU!! Your support is perfect. Your MIGX rocks. I love the whole usage/support!!
Where do you have to insert the rel="gallery[[+property.docid]]"?
I am very new to this and this is my result when I try to use the fancy box
are you calling this inside a getResources - tpl-chunk?
Hi Bruno,
I don't know if this is an issue or a configuration oversight on my end. Thanks for your insight in advance.
I'm trying to create a series of galleries on one page using MIGX. There are quite a few galleries and images per page. For easier admin I'm using 1 document per gallery. I've got everything set up and it works fine - almost. I need to use a different "rel" for each group of images so I'm referencing the modx document ID in a chunk. This works for the first document - the first set of images - but not the rest.
Here's my getresources for listing all of the documents:
[[!getResources? &hideContainers=
1
&depth=1
&includeContent=1
&parents=[[*id]]
&sortby=menuindex
&sortdir=ASC
&includeTVs=1
&processTVs=1
&tvPrefix=&limit=
&tpl=pdf-list-CHK
]]My "get image" chunk is as follows;
[[!getImageList? &tvname=
pdf-list-TV
&tpl=pdf-list-CHK-sub
&docid=[[+id]]
&limit=200
&pagetitle=[[+pagetitle]]
&originalResourceId=[[+id]]
]]the "pdf-list-CHK-sub" is as follows:
The first group of images all have the same "rel" (rel="gallery59") the rest just say "rel="gallery""
Let me know if I'm missing something obvious or this is an actual issue. Thanks,
R