<![CDATA[ Help learning MIGX from tutorial - My Forums]]> https://forums.modx.com/thread/?thread=97495 <![CDATA[Help learning MIGX from tutorial]]> https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527173
http://rtfm.modx.com/extras/revo/migx/migx.backend-usage

We're done with the first nested JSON string. We can now see that there is a second tab -- this one has a label of "Image" and specified an inputTVtype of "image". To specify a Media Source for the image, add another key "sourceFrom":"migx" and assign the MIGx TV to a media source using the TV's Media Sources tab.

I have this:


[
{"caption":"Info", "fields": [
    {"field":"title","caption":"Title","description":"Title for the image."}, 
    {"field":"description","caption":"Description","inputTV":"richtext"}
]}, 
{"caption":"Image", "fields":[
    {"field":"image","caption":"Image","inputTV":"image","sourceFrom":"migx" }
]}
] 


But when I go to the TV's Media Sources tab the only option is web, which I uploaded as an attachment.

When I go onto the data entry step I can add data in, but not images:
http://rtfm.modx.com/extras/revo/migx/migx.data-entry
And when I try to to the frontend step nothing loads.
http://rtfm.modx.com/extras/revo/migx/migx.frontend-usage

Any help is greatly appreciated as I've searched the forms and can't seem to find this problem.]]>
irro334 Jun 19, 2015, 06:03 PM https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527173
<![CDATA[Re: Help learning MIGX from tutorial (Best Answer)]]> https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527210
I was confused by the article where it said

add another key "sourceFrom":"migx"

I actually added it to the Json.

I deleted it and went back and fixed my templates and everything worked.

Thanks for your help guys!]]>
irro334 Jun 20, 2015, 02:20 PM https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527210
<![CDATA[Re: Help learning MIGX from tutorial]]> https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527209
I have the TV working, I can upload and insert Images! Thanks for your help!

I still can't get them to display when I try to view the page tho.]]>
irro334 Jun 20, 2015, 01:54 PM https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527209
<![CDATA[Re: Help learning MIGX from tutorial]]> https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527207
*attachment modxmigx3.jpg*
*attachment modxmigx4.jpg*

When I try to use the front end code from
http://rtfm.modx.com/extras/revo/migx/migx.frontend-usage

<ul>
  [[!getImageList? 
    &tvname=`myMIGXtv`
    &tpl=`@CODE:<li>[[+idx]]<img src="[[+image]]"/><p>[[+title]]</p></li>
  `]]
</ul>


Nothing actually shows when I try to view the page. I checked view source with chrome and there is no code at all.

]]>
irro334 Jun 20, 2015, 01:50 PM https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527207
<![CDATA[Re: Help learning MIGX from tutorial]]> https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527204 ]]> sottwell Jun 20, 2015, 01:27 PM https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527204 <![CDATA[Re: Help learning MIGX from tutorial]]> https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527203 Then you can skip that step.

But if you want to use a specific path to your images, than you would create a new mediasource, which points to that path.]]>
Bruno17 Jun 20, 2015, 01:18 PM https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527203
<![CDATA[Re: Help learning MIGX from tutorial]]> https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527202
Or was it supposed to be created automatically when I installed Migx and there was an error?]]>
irro334 Jun 20, 2015, 12:47 PM https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527202
<![CDATA[Re: Help learning MIGX from tutorial]]> https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527199
I uploaded a screenshot as an attachment.]]>
irro334 Jun 20, 2015, 12:13 PM https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527199
<![CDATA[Re: Help learning MIGX from tutorial]]> https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527187
It's a little buggy, you'll need to click on the field twice to get it to stay open.]]>
sottwell Jun 20, 2015, 04:03 AM https://forums.modx.com/thread/97495/help-learning-migx-from-tutorial#dis-post-527187