- Posts: 42
- Thank you received: 0
Salutation
- Sebastian Hoffmann
- Topic Author
- Offline
- Senior Member
-
Less
More
9 years 7 months ago #85497
by Sebastian Hoffmann
Salutation was created by Sebastian Hoffmann
Hello,
in Germany we have a gender depending salutation. We can't use something like "Dear xy". For women it means "Sehr geehrte Frau xy" and for men "Sehr geehrter Herr xy". I have included a custom field for the salutation with "Herr" and "Frau". But I also need the possibility to change the "geehrte" and "geehrter" depending on the gender. Can you please help me with this?
Best regards
S. Hoffmann
in Germany we have a gender depending salutation. We can't use something like "Dear xy". For women it means "Sehr geehrte Frau xy" and for men "Sehr geehrter Herr xy". I have included a custom field for the salutation with "Herr" and "Frau". But I also need the possibility to change the "geehrte" and "geehrter" depending on the gender. Can you please help me with this?
Best regards
S. Hoffmann
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 7 months ago #85499
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Salutation
Honestly, I don't know what is the best way to handle this requirement. I think you can try to look at the method buildTags in components/com_eventbooking/helper/helper.php
You can add a new tag something like [EB_SALUTATION] and set value for that tag based on the custom field you mentioned above
Then edit the email message and use that new tag [EB_SALUTATION]
That solution might work, so please give it a try
Tuan
You can add a new tag something like [EB_SALUTATION] and set value for that tag based on the custom field you mentioned above
Then edit the email message and use that new tag [EB_SALUTATION]
That solution might work, so please give it a try
Tuan
The following user(s) said Thank You: Sebastian Hoffmann
Please Log in or Create an account to join the conversation.
- Sebastian Hoffmann
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 0
9 years 7 months ago #85501
by Sebastian Hoffmann
Replied by Sebastian Hoffmann on topic Salutation
Thank you for your reply. It worked great! But is it possible to do it in an overwrite?
This solution will only work until the next Update, or am I wrong?
Best regards
S. Hoffmann
This solution will only work until the next Update, or am I wrong?
Best regards
S. Hoffmann
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 7 months ago #85502
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Salutation
Sorry, override will only works for a layout files, it won't work php class code like this. So in this case, sadly, you will have to maintain the change yourself when you update to future releases of the extension
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Sebastian Hoffmann
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 0
9 years 7 months ago #85504
by Sebastian Hoffmann
Replied by Sebastian Hoffmann on topic Salutation
Ok, that's what I have suspected. Could you maybe integrate it in a future version? I think there are more countries with gender depending salutations.
Best regards
S. Hoffmann
Best regards
S. Hoffmann
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 7 months ago #85546
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Salutation
To be honest, this is something so special and I haven't heard any other customers asking for it yet, so I won't implement it into the core download package for now.
Please maintain this change yourself (it is small modification I guess), in the future, I might make it possible to implement it via a plugin so that you don't have to worry about it with the update.
But it will take time. For now, I am focus working on some other more important features
Tuan
Please maintain this change yourself (it is small modification I guess), in the future, I might make it possible to implement it via a plugin so that you don't have to worry about it with the update.
But it will take time. For now, I am focus working on some other more important features
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.