Reputation: 308
TYPO3 6.1
I wanted to call some function on opening of extbase news list view.
For example, if the url to list view contains tx_news_pi1[overwriteDemand][tags]=1
, then I want to update that "tags" count by 1 in database.
How this could be possible ? Any help ?
Upvotes: 1
Views: 2953
Reputation: 9974
And if You will just extend the class You need ?
config.tx_extbase {
objects {
Tx_FooExt_Controller_OriginalController.className = Tx_MyExt_Controller_OtherController
}
}
It looks like easiest way.
Upvotes: 4
Reputation: 7939
The easiest way would be to just add a simple user function by TS and do it there
Upvotes: 3