Reputation: 740
I would like to output additional data in most content elements (mostly fluid_styled_content
) in the frontend for logged-in backend users (editing links for the CEs, additional information). The first idea was to insert additional Fluid code within <f:be.security.ifAuthenticated>
. In theory this does the right thing, but the result is cached (bad: BE users might not see the additional data, others might see it). How does one work around this?
Ideas:
Requirements for a solution:
Upvotes: 0
Views: 236
Reputation: 2921
You could deactivate the page cache for logged in backend users with a TypoScript condition:
[backend.user.isLoggedIn]
config.no_cache = 1
[global]
That seems excessive and there should be better solutions.
Ideas:
FLUIDTEMPLATE
in a COA_INT
(see this SO post) (this would only disable caching for that FLUIDTEMPLATE
)<f:cache.disable>
around the condition help? I found these to have no effect in plain content elements (FLUIDTEMPLATE
), though.<vhs:render.uncache>
help?Upvotes: 2
Reputation: 2694
I guess what you are looking for is called "frontend editing" - it is available as an extension that can be found here: https://extensions.typo3.org/extension/frontend_editing
Upvotes: 1