Hi,
I just found the EVO solution with WF hack..but this does not gives any results.
No error, but no action neither.
I test both of the hacks (old evo post linked) :
function isHere($did) {
// begin weblink 'here' patch
global $modx;
$doc = $modx->getDocumentObject('id', $did);//si c est un weblink
if ($doc['type'] == 'reference')
$did = $doc['content']; //on prend son contenu qui est [~id cible~]
// end weblink 'here' patch
return in_array($did,$this->parentTree);
}
and the one here
elseif ($resource['content'] == $modx->documentObject['id'] && $this->_templates['hereTpl']) { //added for weblinks here
$usedTemplate = 'hereTpl';
The hereRowTpl is never ’called’ when the menu item is done from a weblink doc so classes are still not applied correctly.
I agree the weblink ’content’ is actually the [~target~] so the logic of the hack seams ok..but..
(Evo 1.05 WF 2.01)
Thank you