Hiding one of the default fields

  • John Davies
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 3 months ago #107987 by John Davies
Hiding one of the default fields was created by John Davies
Hi, I'm using Events Booking to register individuals for pleasure flights. They initially register for a day/time block (say 6th Jan 10:00-12:00) and are then later informed of their exact flight time.

I do this using the mass mail feature, however, I have to send each one individually with the time inserted as the mass mail does not have access to any of the custom fields.

To speed this process up I have now shown the Organisation field on the registration page (even though I don't need it). I can then put the individual's flight time into this field an use it in a mass mail.

Is there an easy way to stop the Organisation field being displayed when the user registers? Or is there a way of getting custom fields included in the mass mail feature?

Thanks in advance.

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

More
8 years 3 months ago #108001 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hiding one of the default fields
Hi

Both will need some customization to the code. Could you please send me the screenshot which you are using to send mass mail so that I can understand exactly the way you are using to send emails to registrants and guide you with the customization?

Tuan

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

  • John Davies
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 3 months ago #108024 by John Davies
Replied by John Davies on topic Hiding one of the default fields
Hi Tuan,

Thanks for your prompt reply. I've attached a screenshot.

Regards, John.

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

More
8 years 3 months ago #108038 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hiding one of the default fields
OK. So what custom fields you want to use in the email? Please let me know so that I can help with editing the code

Regards,

Tuan

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

  • John Davies
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #108065 by John Davies
Replied by John Davies on topic Hiding one of the default fields
My aim would be to create a custom text field (say called FlightTime) that would not be shown on the booking form, but could be completed by us and then included in an email.

Alternatively, using the Organization field is fine (as my clients are just members of the public) and this is already available to the email script. Just a way of not showing this field on the signup form would suffice (and I guess this could be done via CSS).

Thanks, John.

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

More
8 years 2 months ago #108066 by Leon Treff
Replied by Leon Treff on topic Hiding one of the default fields
Hello,
maybe you can achieve your goal if you set the parameter "Level for consultation" of your custom field to a higher level than Public, i.e. Special or Super Users, then it should not visible to the users registering for the event.

I hope me guess is correct, because I did not test it.

Sincerely,
Leon

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

More
8 years 2 months ago #108079 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hiding one of the default fields
Hello John

1. Edit the organization field, set Access Level to Special as Leon mentioned

2. Get this file, unzip it, upload to administrator/components/com_eventbooking/model folder of your site.

Then you can use [ORGANIZATION] tag to send data of that field to your users

Regards,

Tuan

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

  • John Davies
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #108096 by John Davies
Replied by John Davies on topic Hiding one of the default fields
Sorry if I'm being a bit of a dunce, but where can I change the access level to the Organization field? Is it somewhere in phpadmin?

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

More
8 years 2 months ago #108101 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Hiding one of the default fields
Hello John

Go to Events Booking -> Custom Fields, click on the custom field to edit and you will see the option to change access level from there

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc