

[+phx:if=`[+parent+]`:is=`27`:then=`[*allProjects*]`:else=`[*allStates*]`+]
[+parent:is=`27`:then=`[*allProjects*]`:else=`[*allStates*]`+]
is it intended that PHx uses the "Resource path:" setting (under Configuration >> Interface & editor settings) as base for including the PHx classfile?
I always interpreted that setting as being only for the resourcebrowser in the RTE. I changed the setting to another path, because I don’t want my users to wander around in the assets (sub)folder(s) and I keep the assets folder for system critical stuff like snippets/plugins etc... But because I changed the resourcepath the standard include path that comes with the plugin does not work :-(
I have currently "fixed" the plugin by hardcoding the path but thats no real solution.
$defaultTemplates['month'] = <<<TPL <a href="[+url+]" title="[+month+] [+year+]" class="reflect_month_link">[+month:select=`January=Janvier&November=Novembre`+]</a> TPL;
<?php $correspondance = array(); //vérifier casse du resulats $dateArray['month'] de reflect $correspondance['january'] = "janvier"; $correspondance['february'] = "fevrier"; //etc ... $moisUK = array_keys($correspondance); $index = array_search($output, $moisUK); return $correspondance[$moisUK[$index]];
<a href="[+url+]" title="[+month+] [+year+]" class="reflect_month_link"> [+phx:input=`[+month+]`:select=`January=Janvier&November=Novembre`+] </a>
This discussion is closed to further replies. Keep calm and carry on.