Bug #38654
Direct Mail categories are not rendered
| Status: | Rejected | Start date: | 2012-07-04 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Federico Bernardin | % Done: | 100% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| Branch: | Tags: | |||
| Votes: | 0 |
Description
Hi
I try to use the extension to let users edit their profiles including the direct mail categories. If I add the data base field (MODULE_SYS_DMAIL_CATEGORY) there is only an empty select box. There should be checkboxes for every category available.
Best.
History
Updated by Federico Bernardin 11 months ago
- Status changed from New to Rejected
- Assignee set to Federico Bernardin
- % Done changed from 0 to 100
T3Registration creates the form with field type (select, input, checkbox, radio) for html input bringing config type from TCA.
So you can see the empty select because the config type of MODULE_SYS_DMAIL_CATEGORY is select box into TCA but data is fetched by foreign table (and this function is not supported by t3registration).
To resolve you can create a hook (this is the correct way) for t3registration extraMarkersRegistration point. In this way you can customize as you wish the output of your field.