Hi
i use getResources for list page with a Get Value
[[!getResources? &parent=`2` [[!returnValeurGet]] &tpl=`bloc_list_artiste` &tpl_10=`bloc_list_artiste2` &tpl_20=`bloc_list_artiste2` &tpl_30=`bloc_list_artiste2` &tpl_40=`bloc_list_artiste2` & sortby=`pagetitle` &sortdir=`ASC` &limit=`100`]]
snippet returnValeurGet =>
$lettre=$_GET["lettre"];
if (isset($lettre)) {
return '&where=`{\"pagetitle REGEXP [^'.$lettre.']\"}`';
// return "&where=`{\"pagetitle:LIKE\":\"".$lettre."%\"}`";
}
i want use RegExp but no work.
How can i do this for that getResources return their resources with $lettre in the pagetitle value.
ex : i have a resource with a pagetitle : Bonjour Laurent
and when a is $lettre=L
i want getResources return this page