[TYPO3-mvc] extending tx_news with own object
Johannes C. Schulz - EnzephaloN IT-Solutions
info at enzephalon.de
Wed Jun 5 07:53:24 CEST 2013
Hello Eike
|This should be class News extends \Tx_News_Domain_Model_NewsDefault{
|Otherwise the Mapper would look at
|Enzephalon\Psoabilling\Domain\Model\Tx_News_Domain_Model_NewsDefault
I think that's the same as in my model.
|Shouldn't it be Tx_Psoabilling_Domain_Model_News =
Tx_Psoabilling_Domain_Model_News
|And recordType = Tx_Psoabilling_Domain_Model_News, if you want to use
recordType.
|Now you have a type of news called Tx_Psoabilling_Domain_Model_News
It's like my TS, just with "other words". But I tried your way. No change.
|Is psoabilling there when you use <f:debug>{newsItem}</f:debug>?
No, there is no psoabilling inside of newsItem.
|The problem could also be that the repository does not look for the right
type Tx_Psoabilling_Domain_Model_News.
Do you have any idea, how to fix this?
Thanks a lot
Johannes
More information about the TYPO3-project-typo3v4mvc
mailing list