-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuration of EXT:extender - fields not visible in frontend #571
Comments
We have the same problem with Typo3 12.4.20 (composer installation) / extender 10.1.1 / tt_address 9.0.1 |
I could also reproduce the problem not being able to extend the table with own/custom fields using TYPO3 12.4.22 (legacy, NOT composer based installation) and tt_address 9.0.1. The custom fields became available using the "old" approach extending $GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'] within the "ext_localconf.php" and the "Configuration/Extbase/Persistence/Classes.php" files like so: file "ext_localconf.php"
file "Configuration/Extbase/Persistence/Classes.php"
Btw: I would like to know, why this "old" way is not the preferred way and why the "extender" extension is needed. Is it, because fo more complex models it's not working? |
it is because xclassing works only 1 time, the extender makes it possible to extend a class multiple times. if you just need something in your project, feel free to do it this way! |
In your Sitepackage you have to add the File"Services.yaml" in the Folder "Configuration", there you add the Following Code:
This replaces the Code in the ext_locaconf.php https://docs.typo3.org/p/evoweb/extender/main/en-us/Breaking/Index.html |
@taunusweb: For me extending models is now working again with "extender". Hope for @Dani-mam it works as well. Thanx :) |
Can confirm - it works. Thank you @taunusweb! |
We're in the process of updating a Typo3 page that had several fields added to tt_address. After updating EXT:extender to version 10.1.1. there is no frontend output of these fields anymore. The fields are visible in the backend and can be edited.
We've used this manual: https://docs.typo3.org/p/friendsoftypo3/tt-address/main/en-us/Development/ExtendTtAddress/Index.html#development-extend-ttaddress
Current Behavior
no frontend output of the additional fields
Expected behavior/output
The content of our fields should show up in the frontend.
Environment
Possible Solution
It looks like there were breaking changes in EXT:extender version 10. It would be nice, if the documentation of tt_address could be updated.
Additional context
Here is the code of our Address.php
ext_localconf.php
The text was updated successfully, but these errors were encountered: