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)
#1 Updated by Loek Hilgersom about 6 years ago
- Status changed from New to Needs Feedback
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:
(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?