[TYPO3-mvc] Extending of extbase model fails
Stefan Kruse
besucher80 at gmx.de
Tue Apr 1 16:55:02 CEST 2014
Hi,
i have to reask my question. I want to extend another extbase extension.For
exactly the model. I want to extend the model with some new fields. I
creaste the ext_tables.sql with the new database fields. I create a model
with the new fields and extend the other model. Then I made the mapping in
the ext_typoscript_setup.txt like this:
config.tx_extbase{
persistence{
classes{
\Tx_In2snippets_Domain_Model_Code {
subclasses {
Tx_Skin2snippetsextending_Code =
SK\Skin2snippetsextending\Domain\Model\Code
}
}
SK\Skin2snippetsextending\Domain\Model\Code {
mapping {
tableName = tx_in2snippets_domain_model_code
recordType = Tx_Skin2snippetsextending_Code
}
}
}
}
}
And in the ext_tables.php I made the tca config. The fields are shown in the
backend form. But when I made a debug output from the model the new fields
are not there.
Has anybody a tip? Do is miss something?
Thanks Stefan
More information about the TYPO3-project-typo3v4mvc
mailing list