-
- 5,888 Posts
basically a plugin for onDocFormSave with something like that should do it:
$tvname = 'aliasTV';
if ($value = $resource->getTVValue($tvname)){
if (!empty($value)){
$resource->set('alias',$resource->cleanAlias($value));
$resource->save();
}
}
-
- 108 Posts
I just read that thread because I was also looking for such a solution, and maybe like others, it's because I filled pagetitle with some unreadable and almost confidential infos that are not meant to be displayed on the front-end, but which make it easier for my client to find what he wants in the resource tree.
To people in this situation, please note that you can change the resource_tree_nod_name parameter in System Settings > Back End from pagetitle to longtitle or whatever.
Sorry for that ⇧ , I'm no dev but I wanna try