[IMPR] Display first element title automatically

This commit is contained in:
Tony Air 2023-06-20 19:26:20 +02:00
parent f1dd6da7d4
commit ea290f8358

View File

@ -95,6 +95,7 @@ class BaseElementEx extends DataExtension
$page = $el->getPage();
if ($page) {
$el->setField('Title', $page->getField('Title'));
$el->setField('ShowTitle', true);
}
}
}