a-r-m-i-n / dce

TYPO3 CMS Extension. Best FlexForm based content elements since 2012. With TCA mapping feature, simple backend view and much more features which makes it super easy to create own content element types.
13 stars 19 forks source link

Make dataprocessing available #66

Open schnappenberger opened 1 year ago

schnappenberger commented 1 year ago

It would be great if a developer could add dataprocessors to plugin.tx_dce.view to provide additional variables.

a-r-m-i-n commented 1 year ago

Do you have any examples why this would be great/useful?

schnappenberger commented 1 year ago

A simple example could be a multisite setup, where you want to have different output for each site based on the site identifier. With this feature you could add a custom siteprocessor to the plugin.tx_dce.view.

I think it would be useful to pass additional data to the dces if needed.

schnappenberger commented 1 year ago

Another use case: you have a page which uses content_from_pid. You want to access some page properties of the parent page. This would be an easy task with a custom dataprocessor.

a-r-m-i-n commented 1 year ago

Okay. Thank you. I'll think about it :)