[
{"formname":"contacts", "formtabs":
[
{"caption":"Contact", "fields": [
{"field":"resourceid","caption":"Contact","inputTV":"contactDropdown"}
]}
]
},{"formname":"other", "formtabs":
[
{"caption":"Resources", "fields": [
{"field":"resourceid","caption":"Resource","inputTV":"resourceDropdown"}
]}
]
}]<div class="WidgetHolder PersonelWidget first"> <div class="personnelImage"> <img alt="[[+pagetitle]]" src="[[+contactimage]]"> <h4 style="padding: 0; margin: 0; font-weight: normal; color: #2d3380;">[[+pagetitle]]</h4> <a href="[[+contactmail]]">Email</a> </div> </div>
<div class="WidgetHolder LinkWidget"> <a href="[[~[[+id]]]]"> <img alt="[[+pagetitle]]" src="[[+serviceimage]]"> </a> </div>
[[getResources? &tpl=`[[+MIGX_formname]]` &resources=`[[+resourceid]]`]]
[[!getImageList? &tpl=`widgets` &tvname=`myMigxTv`]]
[
{"formname":"BlocType_1", "formtabs":
[
{"caption":"titre + photo + lien", "fields": [
{
[
{"formname":"BlocType_4", "formtabs":
[
{"caption":"titre + photo + paragraphe + lien ", "fields": [
{"field":"Titre_blocType_4","caption":"Titre"},
{"field":"photo_blocType_4","caption":"Photo","inputTV":"image"},
{"field":"lien_blocType_4","caption":"Lien"}
]}
]
},
{"formname":"BlocType_5", "formtabs":
[
{"caption":"titre + sous titre + photo + paragraphe + lien", "fields": [
{"field":"Titre_blocType_5","caption":"Titre"},
{"field":"paragraphe_blocType_5","caption":"Paragraphe","inputTV":"richtext"},
{"field":"lien_blocType_5","caption":"Lien","inputTV":"url"}
]}
]
}
]
}
]}
]
},
{"formname":"BlocType_2", "formtabs":
[
{"caption":"titre + paragraphe + lien", "fields": [
{"field":"Titre_blocType_2","caption":"Titre"},
{"field":"paragraphe_blocType_2","caption":"Paragraphe","inputTV":"richtext"},
{"field":"lien_blocType_2","caption":"Lien","inputTV":"url"}
]}
]
}
,
{"formname":"BlocType_3", "formtabs":
[
{"caption":"titre + paragraphe + lien", "fields": [
{"field":"Titre_blocType_3","caption":"Titre"},
{"field":"paragraphe_blocType_3","caption":"Paragraphe","inputTV":"richtext"},
{"field":"lien_blocType_3","caption":"Lien","inputTV":"url"}
]}
]
}
]
[{"name":"formtabs","desc":"","xtype":"textarea","options":[],"value":"[{\"caption\":\"Info\", \"fields\": [{\"field\":\"title\",\"caption\":\"Title\"}, {\"field\":\"description\",\"caption\":\"Description\",\"inputTV\":\"richtext\"}] }, {\"caption\":\"Image\", \"fields\": [{\"field\":\"image\",\"caption\":\"Image\",\"inputTV\":\"image\"}] }]","lexicon":null,"overridden":false,"desc_trans":"","menu":null},{"name":"columns","desc":"","xtype":"textarea","options":[],"value":"[{\"header\": \"Title\", \"width\": \"160\", \"sortable\": \"true\", \"dataIndex\": \"title\"}, {\"header\": \"Image\", \"width\": \"50\", \"sortable\": \"false\", \"dataIndex\": \"image\",\"renderer\": \"this.renderImage\"}]","lexicon":null,"overridden":false,"desc_trans":"","menu":null}]
Hi, I have a quite bizarre problem. I’ve made a MIGX TV with text fields and everything work’s fine. Problems started when I wanted to make a second one. It’s nearly a copy of the first one apart from 2 new images fields. (I’ve tried without but it’s not working either) Everything was based on the tutorial.
I’m running modx 2.1 and have it on-line if anybody would care to take a look:).
This discussion is closed to further replies. Keep calm and carry on.