Reputation: 595
I want to create a plugin in TYPO3 10, that does not output anything to the frontend (The controller will add some header data). However I did not find a simple way to disable the output. Of course I could create an empty fluid template. But I would still have this left:
<div id="c*" class="frame frame-default frame-type-list frame-layout-0"></div>
Now I could override the List.html
Template from Fluid Styled Content, but this all seems like a bit much just to output nothing. Also overriding the FSC Template would affect other extensions as well. Is there an easier way to achieve this?
Probably I could also do the same with a new content element instead of a plugin, but I like the way to load data from a repository with a plugin.
Upvotes: 0
Views: 125
Reputation: 2557
For me, this seems not to be the way you should do it... A frontend plugin is placed as a type of Content Element, but headers are no "normal" content.
Maybe one of these APIs can help you:
Or tell us a bit more details of what you wish to achieve. Which headers do you what to add?
Upvotes: 1