Hi all,
In Evolution I used to be able to change the document title dynamically from a snippet using this code without that title being saved to the database:
$modx->documentObject['pagetitle'] = "My dynamic title 123";
I tried to do the same using the new Revolution API:
$modx->resource->set('pagetitle', "My dynamic title 123");
but this does not seem to work any more. Calling the $modx->resource-save() method does work but this changes the title also in the database permanently which is not what I want.
How can this accomplished (version used is 2.0.4-pl2)?