[ {"caption":"Info", "fields": [ {"field":"name","caption":"Name","inputTV":"nameTV"}, {"field":"date","caption":"Recommended Date","inputTV":"dateTV"}, {"field":"facebook","caption":"Facebook link","inputTV":"linkTV"}, {"field":"facebooktext","caption":"Facebook link text","inputTV":"facebookTV"}, {"field":"recommendation","caption":"Recommendation","inputTV":"richtextTV"} ]} ]
[[!getImageList? &tvname=`recommendations` &sort=`[{"sortby":"date","sortdir":"ASC"}]` &tpl=`@CODE:<li><h3>[[+name]]</h3> <p class="datefacebook">[[+date]], <a href="[[+facebook]]" target="_blank">[[+facebooktext]]</a></p> <p>[[+recommendation]]</p></li> `]]
[ {"caption":"Info", "fields": [ {"field":"name","caption":"Name","inputTV":"nameTV"}, {"field":"date","caption":"Recommended Date","inputTV":"dateTV"}, {"field":"facebook","caption":"Facebook link","inputTV":"linkTV"}, {"field":"facebooktext","caption":"Facebook link text","inputTV":"facebookTV"}, {"field":"recommendation","caption":"Recommendation","inputTV":"richtextTV"} ]} ]
[[*recommendations]]
[{"MIGX_id":"5","name":"Malwina","date":"2013-11-05 20:09:40","facebook":"https:\/\/www.facebook.com\/mdominiczak1","facebooktext":"View Facebook Profile","recommendation":" some text here "},{"MIGX_id":"6","name":"Donna ","date":"2013-11-05 20:16:00","facebook":"https:\/\/www.facebook.com\/donna.104","facebooktext":"View Facebook Profile","recommendation":" some text here "},{"MIGX_id":"7","name":"Caroline","date":"2013-11-05 20:17:54","facebook":"https:\/\/www.facebook.com\/caroline","facebooktext":"View Facebook Profile","recommendation":" some text here "},{"MIGX_id":"8","name":"Donna Bey","date":"2013-11-07 18:14:02","facebook":"https:\/\/www.facebook.com\/donna.bey","facebooktext":"View Facebook Profile","recommendation":" some text here "},{"MIGX_id":"9","name":"Kevin M","date":"2013-11-26 19:53:00","facebook":"https:\/\/www.facebook.com\/Recruitment","facebooktext":"View Facebook Profile","recommendation":"some text here"}]
[[+date:strtotime:date=`%d.%m.%Y`]]
[[!getImageList? &tvname=`recommendations` &sort=`[{"sortby":"[[+date:strtotime:date=`%d.%m.%Y`]]","sortdir":"ASC"}]` &tpl=`@CODE:<li><h3>[[+name]]</h3> <p class="datefacebook">[[+date]], <a href="[[+facebook]]" target="_blank">[[+facebooktext]]</a></p> <p>[[+recommendation]]</p></li> `]]
[[getImageList? &tvname=`recommendations` &sort=`[{"sortby":"date","sortdir":"ASC"}]` &tpl=`tplRecommendation` ]]
<li> <h3>[[+name]]</h3> <p class="datefacebook">[[+date:strtotime:date=`%d.%m.%Y`]], <a href="[[+facebook]]" target="_blank">[[+facebooktext]]</a></p> <p>[[+recommendation]]</p> </li>
It still seems to be outputting a date though from the dateTV
....
if i don't convert to date it displays the date in the format: '2013-11-05 20:09:40'
....
Why would it still be outputting the dateTV as a date, if the output type is set to 'default' and the input type 'Date'
If i use the syntax
[[+date:strtotime:date=`%d.%m.%Y`]]
in my chunk it is blank
2013-11-05 20:09:40
05.11.2013