PageLayoutView: Add hook for tt_content_drawFooter
In TYPO3 4.7 the info fields for a tt_content element (hidden,starttime,endtime,fe_group,spaceBefore,spaceAfter) were drawn before the item itself. We could visually add extra information to the info fields:
In this case the "Publication Repeat Interval" was added. We accomplished this with some cheating: add the extra information before the header of the item. See https://github.com/cmsworks/cw_content_scheduler/blob/v0.3.1/Classes/Hooks/CmsLayout.php#L56
In TYPO3 6.0 the info fields are rendered in a footer, after the item itself. There is no way we can (visually) add extra information to the info fields and our "Publication Repeat Interval" is rendered before the header of the item:
We can render it between the header and content of the item, but we can't render it in the footer, unfortunately. It would be great if a hook was added for tt_content_drawFooter, so we can override/adapt the rendering of the footer.
[FEATURE] Add hook for content element footer in Page module
Currently, there is only a hook for the `tt_content_drawItem` function
in the PageLayoutView. Since 6.0 the info fields for a tt_content element
(hidden,starttime,endtime,fe_group,spaceBefore,spaceAfter) are rendered
in a footer, so there is no way to alter the rendering of the info
fields or add information to the footer.
This change adds a hook to the `tt_content_drawFooter` function
responsible for rendering the footer.
Reviewed-by: Georg Ringer <email@example.com>
Tested-by: Georg Ringer <firstname.lastname@example.org>
Reviewed-by: Frank Nägler <email@example.com>
Tested-by: Frank Nägler <firstname.lastname@example.org>