Item1==Item1:Value1||Item2==Item2:Value2||Item3==Item3:Value3||Item4==Item4:Value4
http://mlab.equilibre-webdesign.fr/assets/components/migx/connector.php?HTTP_MODAUTH=modx4dc72315271c53.17286589&action=mgr%2Ffields&class_key=modDocument&itemid=0&record_json=%5B%7B%22phrase%22%3A%22%22%7D%5D&tv_id=51&tv_name=Prompteur
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
[email protected] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
http://mlab.equilibre-webdesign.fr/assets/components/migx/connector.php?HTTP_MODAUTH=modx4dc72315271c53.17286589&action=mgr%2Ffields&class_key=modDocument&itemid=0&record_json=%5B%7B%22phrase%22%3A%22%22%7D%5D&tv_id=51&tv_name=Prompteur
[
{"caption":"Ajouter un auteur", "fields": [
{"field":"AuteurMlab","caption":"Auteur Mlab","inputTV":"MIGX_AuteursMlab"},
{"field":"AuteurExt","caption":"Autre auteur","inputTV":"MIGX_AuteursExt"}
]}
]
[
{"header": "Auteur MLab", "width": "160", "sortable": "true", "dataIndex": "AuteurMlab"},
{"header": "Autre auteur", "width": "150", "sortable": "false", "dataIndex": "AuteurExt"}
]
@EVAL return $modx->runSnippet(’setTVList’,array("parent"=>"3","field" =>"pagetitle","templateid"=>"6","propertyValue"=>"1","emptyFirstLine"=>"1"));
[[!getImageList? &tvname=`multiItemsGrid` &tpl=`ContGalTpl` &offset=`0` &limit=`1`]] [[!getPage? &element=`getImageList` &elementClass=`modSnippet` &tpl=`migx_getPageTpl` &includeTVs=`1` &processTVs=`1` &offset=`0` &limit=`1` ]] [[!+page.nav:notempty=` <div class="paging"> [[!+firstItem]]-[[!+total]] </div> `]]
<div id="ContGal"> <a href="????" title="[[+title]]"> <img src="[[+image]]" alt="[[+title]]"/> </a> </div>
<?php switch ($task) { case 'set': if (isset($_GET['offset'])) { $total = $modx->getPlaceholder('migx_total'); $offset = $_GET['offset'] + 1; $offset = $offset >= $total ? 0 : $offset; } else { $offset = 1; } return $offset; break; case 'get': $offset = isset($_GET['offset'])? $_GET['offset'] : 0; $modx->setPlaceholder('migx_offset+1',$offset+1); return $offset; break; }
[[!getImageList? &offset=`[[!handleOffset? &task=`get`]]` &limit=`1` &totalVar=`migx_total` &tvname=`multiItemsGrid`&tpl=`ContGalTpl`]] [[+migx_offset+1]]/[[+migx_total]]
<a href="[[~[[*id]]? &offset=`[[!handleOffset? &task=`set`]]`]]" title="[[+title]]"> <img src="[[+image]]" alt="[[+title]]"/> </a>
This discussion is closed to further replies. Keep calm and carry on.