Pro v2.5+
The Latest News Enhanced Pro extension triggers its own events in order to allow the use of new data sources (other than just articles or K2 items) and information types (other than just date, author...).

Note Data sources are restricted to the module for now.

Note You can find details in the code of the Newsfeeds and MyDetails plugins.

The events are:

  • onLatestNewsEnhancedPrepareSelection
  • onLatestNewsEnhancedPrepareForm
  • onLatestNewsEnhancedGetData
  • onLatestNewsEnhancedPrepareDetailSelection
  • onLatestNewsEnhancedGetDetailData

onLatestNewsEnhancedPrepareSelection

Returns the data type and availability

onLatestNewsEnhancedPrepareForm

Adds specific selection parameters

onLatestNewsEnhancedGetData

Retrieves data

onLatestNewsEnhancedPrepareDetailSelection

Returns the available information types

onLatestNewsEnhancedGetDetailData

Returns the data/output for the information types