[TYPO3-ttnews] Extend news - Access news Repository from inside your own extension
Thomas Meixner
tom.meixner at gmail.com
Wed Jul 11 16:55:05 CEST 2012
Hello,
I found the reason why the NewsRepository doesn't return the news articles
when called from inside my application.
Once I debugged the sql statement in
/typo3/sysext/extbase/Classes/Persistence/Storage/Typo3DbBackend.php
with var_dump($statement);
I noticed in comparison that it was missing to query for the type of news.
There are 3 additional types of news which have to be defined in the
plugin.tx_news.persistence part of the typoscript configuration. Once I
copied them accross to my setup.txt I got the desired result.
Regards,
Thomas
>
> Any idea why the repository doesn't return any objects inside my own
> extension?
More information about the TYPO3-project-tt-news
mailing list