Feature #50488
Hooks needed
0%
Description
Hello, it would be nice to have some hooks included so your extension doesn't need to be xClassed for customization. I would expecially wish for a hook, to change what data of the mail is matched to which tt_news fields in tx_mail2news_getmail->getmail($conf)
Updated by Loek Hilgersom over 7 years ago
- Status changed from New to Needs Feedback
Hi Lina,
Since v2.0, mail2news has configuration options to define which lines of the message content should go into which database fields. These are defined in TSConfig, as described here:
http://typo3.org/extension-manuals/mail2news/2.0.3/view/1/4/#id447587
(maybe better to look it up in the original sxw-file because of the broken line-endings in the web rendering).
In short, if you set:
mod.tx_mail2news.fieldMarkers.myfield = #mymarker#
Then, if the first line of the message contains
#mymarker# Put this value into myfield
then the string "Put this value into myfield" will be stored into the field tt_news.myfield (or tx_t3blog.myfield)
Does this solve your question?