You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that the bug exists in the dev-development branch
Yes
I have checked that there are no already open issues or recently closed issues about this bug
Yes
Describe the bug
If you use the preview section in a page template, the content of the header is completely overwritten. The content of other extensions such as ce_seo is not displayed.
$event->setHeaderContent($previewContent);
If other extensions have previously added content to the header, this will now be overwritten.
It is better to use $event->addHeaderContent($previewContent);
The text was updated successfully, but these errors were encountered:
Sounds fair enough. Do you think we should add a Form option so people can control whether they want to append or replace, based on options of flux:form in the template?
I have checked that the bug exists in the
dev-development
branchYes
I have checked that there are no already open issues or recently closed issues about this bug
Yes
Describe the bug
If you use the preview section in a page template, the content of the header is completely overwritten. The content of other extensions such as ce_seo is not displayed.
To Reproduce
use a preview section.
Expected behavior
flux/Classes/Integration/Event/ModifyPageLayoutContentEventListener.php
Line 46 in ffa2dce
$event->setHeaderContent($previewContent);
If other extensions have previously added content to the header, this will now be overwritten.
It is better to use $event->addHeaderContent($previewContent);
The text was updated successfully, but these errors were encountered: