1

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 ?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62

2 Answers2

4

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.

References

Fedir RYKHTIK
  • 9,844
  • 6
  • 58
  • 68
3

The easiest way would be to just add a simple user function by TS and do it there

Georg Ringer
  • 7,779
  • 1
  • 16
  • 34