WBCE / WBCE_CMS

Core package of WBCE CMS. This package includes the core and the default addons. Visit https://wbce.org (DE) or https://wbce-cms.org (EN) to learn more or to join the WBCE CMS community.
https://wbce-cms.org
GNU General Public License v2.0
32 stars 22 forks source link

Account and Registration form Overrides not working #463

Closed instantflorian closed 4 years ago

instantflorian commented 4 years ago

Trying to build custom forms in the way which it is described here https://github.com/WBCE/WBCE_CMS/blob/master/wbce/modules/tool_account_settings/templates/Template_Info_EN.txt

does not work. The custom forms are ignored. The only way to change the appearance of the form is to edit the files in the modules/tool_account_settings/templates folder.

WebDesignWorx commented 4 years ago

Right. I just corrected the instructions: https://github.com/WBCE/WBCE_CMS/commit/ee67657a76472c4f68d8381307383065ad64db85

The reason why we need yet another directory is because with the same approach we can actually override the email_templates. It's not mentioned anywhere as far as I can remember, but it could. For the EMAIL TEMPLATES It goes like this:

    [DEFAULT_TEMPLATE]
        └─ overrides
            └─ account
                └─ email_templates
                    └─ EN
                    └─ DE
instantflorian commented 4 years ago

Fixed with 9bcd21754937fbbb3d0a359f34d2b68a100935b1