goldsky / Lingua

MODX's Lexicon switcher for front-end interface
18 stars 11 forks source link

MIGX + Lingua + MODX 2.7 #61

Closed ZTX18 closed 5 years ago

ZTX18 commented 5 years ago

-Create a new site -install lingua -install migx -go to migx configs - create a new one -create a new migx TV, set that config -add this TV to lingua

Default language is ok, in other languages Lingua just hides this TV (It seems, that it can not copy migx tv in 2.7.0). I've checked all ids - cloneIds, they are ok, (i think so) How to trace what's going wrong?

goldsky commented 5 years ago

Seems the id and cloned id don't match

ZTX18 commented 5 years ago

Problem with pdoTools useFenom option, sorry.

For those who have the same problem: To fix - just don't use Fenom when processing Lingua's chunks

in

public function processElementTags

add before processing: if($this->modx->parser->pdoTools)$this->modx->parser->pdoTools->config['useFenom'] = false;