Review main Abandoned

61505[FEATURE] Add dynamicConfigurations for records

Pascal Querner CR 0 V 0 Easy +23 −0 updated 08/18/19, 11:34

Commit message

This adds a feature to allow dynamic function calls.
With this, you could add this to your record typoscript declaration:

                        fieldToParameterMapDynamic {
                            day {
                                field = crdate
                                func = strftime
                                param = %e
                                as = tx_news_pi1[day]
                            }
                            month {
                                field = crdate
                                func = strftime
                                param = %-m
                                as = tx_news_pi1[month]
                            }
                            year {
                                field = crdate
                                func = strftime
                                param = %Y
                                as = tx_news_pi1[year]
                            }
                        }

so the tstamp of the database row "crdate" would be formatted via function "srtftime" with parameter "%Y".

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Files 1