Hello,
I am trying to synchronize template variables between different languages/contexts, but I’ve had no luck trying to get this to work so far.
I have entered the TV’s ID in the babel.syncTvs system setting and linked two resources with “Copy synchronized TVs to target” enabled, but when I change the TV’s value in one resource, the value in the linked resource is not updated.
There’s no relevant errors showing up in the log as far as I can tell. For testing purposes, I have written a plugin which should write a message to the log when OnBabelTVSynced is invoked, but there is nothing showing up (if I change the plugin to be triggered by OnBabelLink instead for example, the message does show up).
MODX version is 3.0.4-pl, Babel version is 3.3.2-pl.
The code adds the namespace (= babel) to the parameter in the call to “getExplodeSeparatedOption”. Then later the namespace gets added ones again (meaning the code looks up the system setting babel.babel.syncTvs instead of babel.syncTvs):
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.