- Posts: 157
- Thank you received: 4
[Solved] Hide some useless fields in waiting list?
- Baptiste
- Topic Author
- Offline
- Premium Member
-
Less
More
8 years 5 months ago - 8 years 5 months ago #105046
by Baptiste
[Solved] Hide some useless fields in waiting list? was created by Baptiste
Hi!
I discover that when a user use the waiting list form, the same fields as for registration form are needed. However, some fields are useless in waiting list (for me, at least, like paiement method, or other datas that i need only if user is really registered to the event).
So i tried to disable or hide this fields in waitinglist (even hiding them in css) but i didn't find anyway to do that, as the waiting list form is the same as the event register form.
What can you advice me?
Thank you very much
Baptiste
I discover that when a user use the waiting list form, the same fields as for registration form are needed. However, some fields are useless in waiting list (for me, at least, like paiement method, or other datas that i need only if user is really registered to the event).
So i tried to disable or hide this fields in waitinglist (even hiding them in css) but i didn't find anyway to do that, as the waiting list form is the same as the event register form.
What can you advice me?
Thank you very much
Baptiste
Last edit: 8 years 5 months ago by Baptiste. Reason: Solved
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 5 months ago #105049
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to hide some useless fields in waiting list?
Hi Baptiste
I guess in the next minor release, we can add a class to the container of registration form, something like eb-waitinglist-form so that you can use css to hide the fields you don't want
Give me one week to work on it and make it available in next minor releases
Regards,
Tuan
I guess in the next minor release, we can add a class to the container of registration form, something like eb-waitinglist-form so that you can use css to hide the fields you don't want
Give me one week to work on it and make it available in next minor releases
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Baptiste
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 157
- Thank you received: 4
8 years 5 months ago #105051
by Baptiste
Replied by Baptiste on topic How to hide some useless fields in waiting list?
Hi Tuan,
Thank you for your quick answer. unfortunatly, i use the 2.12 version (in the time, i saw that it was really to difficult to update versions if there are some php hacks (no override possible sometimes)).
Do you know a alternative that i can use?
Thank you!
Thank you for your quick answer. unfortunatly, i use the 2.12 version (in the time, i saw that it was really to difficult to update versions if there are some php hacks (no override possible sometimes)).
Do you know a alternative that i can use?
Thank you!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 5 months ago #105062
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to hide some useless fields in waiting list?
Hi Baptiste
In this case, I am afraid of you will have to do the modification yourself. When I have code implemented, I will upload the file which I modify here and give a short instruction how I did it, then I think you can do it yourself
Tuan
In this case, I am afraid of you will have to do the modification yourself. When I have code implemented, I will upload the file which I modify here and give a short instruction how I did it, then I think you can do it yourself
Tuan
Please Log in or Create an account to join the conversation.
- Baptiste
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 157
- Thank you received: 4
8 years 5 months ago #105078
by Baptiste
Replied by Baptiste on topic How to hide some useless fields in waiting list?
Hi Tuan,
Yes that will be ok like that, thank you!
Have a good day!
Yes that will be ok like that, thank you!
Have a good day!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 5 months ago #105079
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to hide some useless fields in waiting list?
Hi
You can follow the instructions below to get it works:
1. Open the file components/com_eventbooking/view/register/tmpl/default.php
2. Find this line of code:
3. Change it to:
Then the page will has additional class eb-waitinglist-individual-registration-form to allow you to add additional styling if needed
If you use group registration, then change to another file is needed:
4. Open the file components/com_eventbooking/view/register/tmpl/group.php
5. Find this line of code:
6. Change it to:
Then the page will has additional class eb-waitinglist-group-registration-form to allow you to add additional styling if needed
Hope this helps and you can do the change yourself
Tuan
You can follow the instructions below to get it works:
1. Open the file components/com_eventbooking/view/register/tmpl/default.php
2. Find this line of code:
Code:
<div id="eb-individual-registration-page" class="eb-container">
3. Change it to:
Code:
<div id="eb-individual-registration-page" class="eb-container<?php echo $this->waitingList ? ' eb-waitinglist-individual-registration-form' : '';?>">
Then the page will has additional class eb-waitinglist-individual-registration-form to allow you to add additional styling if needed
If you use group registration, then change to another file is needed:
4. Open the file components/com_eventbooking/view/register/tmpl/group.php
5. Find this line of code:
Code:
<div id="eb-group-registration-form" class="eb-container">
6. Change it to:
Code:
<div id="eb-group-registration-form" class="eb-container<?php echo $this->waitingList ? ' eb-waitinglist-group-registration-form' : '';?>">
Then the page will has additional class eb-waitinglist-group-registration-form to allow you to add additional styling if needed
Hope this helps and you can do the change yourself
Tuan
The following user(s) said Thank You: Baptiste
Please Log in or Create an account to join the conversation.
- Baptiste
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 157
- Thank you received: 4
8 years 5 months ago #105081
by Baptiste
Replied by Baptiste on topic How to hide some useless fields in waiting list?
Hi Tuan,
Thank you for your quick (you said "give me a week"!), kind, and very useful answer : that's exactly what i needed, it works perfectly.
That's a pleasure to work with you,
Have a good end of week,
Baptiste
Thank you for your quick (you said "give me a week"!), kind, and very useful answer : that's exactly what i needed, it works perfectly.
That's a pleasure to work with you,
Have a good end of week,
Baptiste
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
8 years 5 months ago #105083
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic How to hide some useless fields in waiting list?
Great, Happy to hear that. Just for the information, if someone needs it, this change is updated to download package on server, so if you need it, just access to My Downloads menu item, download the extension, upgrade it to your site and it will work as expected
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Donal
- Offline
- Elite Member
-
Less
More
- Posts: 240
- Thank you received: 17
8 years 5 months ago #105098
by Donal
Hi Baptiste,
I need something similar. Can you post an example CSS to hide an element on the waiting list?
Thanks,
Donal
Replied by Donal on topic How to hide some useless fields in waiting list?
Baptiste wrote: that's exactly what i needed, it works perfectly.
Baptiste
Hi Baptiste,
I need something similar. Can you post an example CSS to hide an element on the waiting list?
Thanks,
Donal
Please Log in or Create an account to join the conversation.
- Baptiste
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 157
- Thank you received: 4
8 years 5 months ago #105099
by Baptiste
Replied by Baptiste on topic How to hide some useless fields in waiting list?
Hi Donal,
After modifying the file the file components/com_eventbooking/view/register/tmpl/default.php as Tuan said, here is what i had in my css file :
.eb-waitinglist-individual-registration-form #field_cheque1, .eb-waitinglist-individual-registration-form, #field_cheque2.eb-waitinglist-individual-registration-form #field_virement {
display:none !important;
}
hope it helps
After modifying the file the file components/com_eventbooking/view/register/tmpl/default.php as Tuan said, here is what i had in my css file :
.eb-waitinglist-individual-registration-form #field_cheque1, .eb-waitinglist-individual-registration-form, #field_cheque2.eb-waitinglist-individual-registration-form #field_virement {
display:none !important;
}
hope it helps
The following user(s) said Thank You: Donal
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.