Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Making custom fields optional in frontend and confirmation mail 4 years 5 months ago #24964

  • surml
  • surml's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Hi everybody!
A client of mine needed to be able to decide wether some of the custom fields for events should be displayed in frontend and/or confirmation mails. (He uses these for additional payment-infos, that should appear inside the mails but not the event-page on the website.)

(Very) short description: I implemented this by simply adding corresponding options to the component's and mailer-plugin's xml files and an if-statement to the template file for event-display as well as adding custom fields to the mailer.php's SQL-query and mailing function.

I, of course, would love to see my customizations merged into the project to be update-proof - are you guys interested?
Attachments:

Please Log in or Create an account to join the conversation.

Making custom fields optional in frontend and confirmation mail 4 years 5 months ago #24965

Hi, it's an interesting solution. But I think it's for a very case. So I fear, it will not be integrated to the core. But I am not representative.
on JEM 2.3.3 stable in latest Joomla (3.10.2) Protostar php7.4.15
Personally I use t4_B5 template with t4_system plugin framework with bootstrap 5 and fontawesome)
(I prefer free "Signal" or paid "Threema" instead of "Whatsapp".)

Please Log in or Create an account to join the conversation.

Making custom fields optional in frontend and confirmation mail 4 years 5 months ago #24968

I like it!

Nice work, but I'm not representative either. ;)
I think we should discuss within the team and let you know...
JEM 2.3.0
Joomla 3.9.20
PHP 7.1

Please Log in or Create an account to join the conversation.

Making custom fields optional in frontend and confirmation mail 4 years 5 months ago #24969

  • surml
  • surml's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Thank you for your quick replies - its very refreshing to find an open source project with actual activity ;-)

@jojo

But I think it's for a very case.

I wouldnt say thats the only use case for this feature. Actually my solution was inspired by several posts in this forum revolving around custom fields usage, like storing internal information in them that should not be visible to website visitors.
From my perpective it brings a big plus in flexibility achieved by minimal changes to the core.

Please Log in or Create an account to join the conversation.

Making custom fields optional in frontend and confirmation mail 4 years 5 months ago #24970

I wrote:

But I think it's for a very case.

Sorry, sometimes my thoughts are too quick. I was trying to say: it's for a very special case.
If you want to share your core hack here, you're welcome and our team will have a look, if and how we can integrate it.
If not then perhaps others will be happy to use the hack.
As more users as they want it, it will be integrated into the core.
on JEM 2.3.3 stable in latest Joomla (3.10.2) Protostar php7.4.15
Personally I use t4_B5 template with t4_system plugin framework with bootstrap 5 and fontawesome)
(I prefer free "Signal" or paid "Threema" instead of "Whatsapp".)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.354 seconds

Donate

If you find JEM useful and if you use it on your site, please consider a donation to the project.

Private Messages

You are not logged in.

Follow us......