-
☆ A M B ☆
- 756 Posts
Can you past you effective snippet call and the pertinent properties especially the resourceId and ajaxResourceId values along with the modalView parameter/property as well.
Cheers
Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
Visit
CharlesMx.com for latest news and status updates.
-
☆ A M B ☆
- 24,524 Posts
Is that a typo, or does your snippet call actually lack the &?
[[!mxcalendar@sngMXCal? &tplDetailModal=`sngDetailModalTpl`]]
Not sure where you mean. I am calling a property set called sngMXCal which works fine except it is not using the chunk supplied in it. Therefore, I was explicitly attempting to override the property set above to render that specific chunk to see if that worked. Also tried setting the chunk value to the ID and had the same effect.
-
☆ A M B ☆
- 1,780 Posts
I just upgraded to 1.1.6, and now the map works.
I couldn't get the &tplDetailModal property to take in 1.1.4, nor 1.1.6. I had exactly the same issue, with a similar call. Everything else works, but the tplDetailModal property. The only chunk that affects the modal view is &tplDetail. I also tried to create a new/duplicate chunk, edited that, and specified it in the call, but it doesn't like that either.
Yeah I dont think the snippet is switching the template based on the modalView property. The logic that I would assume is that is modalView property is set to true use the tplDetailModal, and use tplDetail if modalView is false. I was looking through the snippet, but nothing jumped out at me.
Maybe Charles can take a look and give us some ideas. *nudge* *bump* *nudge*
-
☆ A M B ☆
- 756 Posts
In order to get the proper functionality of the tplDetailModal you will need to make sure the &resourceId=`` is set in the same snippet call in the ajax detail template.
Hope that helps clear that up.
Cheers
Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
Visit
CharlesMx.com for latest news and status updates.
So we need to pass a null value for resourceID when the snippet call is for a modal? Hmm..I'll try that.
-
☆ A M B ☆
- 756 Posts
Nope, on the snippet that is in the ajaxresourseid resource needs the that parameter. I assume that you have a calender or list that then has the ajaxresourseid parameter set, and so then in that resources snippet call that is serving the Ajax response need the resourceId parameter set as noted. All hope that helps clarify it some more.
Let me know ow if not.
Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
Visit
CharlesMx.com for latest news and status updates.