CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #11910

preAddModifyDocuments Hook only works for Pages not for tt_news

Added by Dirk Lamar over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2011-01-05
Priority:Should have Due date:
Assignee:Stefan Sprenger % Done:

100%

Category:Index Queue
Target version:-
TYPO3 Version: Has patch:
PHP Version: Tags:
Votes: 0

Description

The preAddModifyDocuments Hook is only implementet in class.tx_solr_indexqueue_pageindexer.php so it works only for pages. I need an Hook to modify a Document of an tt_news record.

PreAddModifyDocumentsHook.patch (3.2 kB) Stefan Sprenger, 2011-01-17 16:18

History

Updated by Ingo Renner over 2 years ago

  • Assignee set to Stefan Sprenger

Updated by Stefan Sprenger over 2 years ago

Hi Dirk,

can you please check the attached patch?

Kind regards

Stefan

Updated by Ingo Renner over 2 years ago

Note on the patch:

We moved the hook from the Index Queue page indexer to the general indexer which takes care of tt_news, too. The general indexer does not know about the language of the indexed item though. Thus you have to get the language from the document (for now).

Updated by Dirk Lamar over 2 years ago

Ok it works for me now !

Thanks !

Updated by Ingo Renner over 2 years ago

  • Status changed from Needs Feedback to Resolved

Also available in: Atom PDF