- Posts: 70
- Thank you received: 1
Including the name of the event in the Registrants List
- abarrow
- Topic Author
- Offline
- Senior Member
-
Less
More
3 years 4 months ago #148525
by abarrow
Including the name of the event in the Registrants List was created by abarrow
Hi,
Is there any way to include the name of the event in the Registrants List title? I'm happy to modify a little PHP if I have to.
Andy
Is there any way to include the name of the event in the Registrants List title? I'm happy to modify a little PHP if I have to.
Andy
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 years 4 months ago #148534
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Including the name of the event in the Registrants List
Hi Andy
That page display registrants list of an event, so we do not display the name of event there. If you want to have name displayed, there are two options:
1. Go to Events Booking -> Translation, find the language item EB_REGISTRANT_LIST, change it, include [EVENT_TITLE] tag to have event title displayed in the heading
2. Or if you want to have it displayed for every record, you can edit code in the file com_eventbooking/site/themes/default/registrantlist/default.php . Just use this code to display event title:
Once the modification is done, move that modified file to PATH_TO_TEMPLATE/html/com_eventbooking/registrantlist folder so that the change won't be lost when you update to future releases of the extension
Regards,
Tuan
That page display registrants list of an event, so we do not display the name of event there. If you want to have name displayed, there are two options:
1. Go to Events Booking -> Translation, find the language item EB_REGISTRANT_LIST, change it, include [EVENT_TITLE] tag to have event title displayed in the heading
2. Or if you want to have it displayed for every record, you can edit code in the file com_eventbooking/site/themes/default/registrantlist/default.php . Just use this code to display event title:
Code:
echo $this->event->title;
Once the modification is done, move that modified file to PATH_TO_TEMPLATE/html/com_eventbooking/registrantlist folder so that the change won't be lost when you update to future releases of the extension
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- abarrow
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 70
- Thank you received: 1
3 years 4 months ago #148538
by abarrow
Replied by abarrow on topic Including the name of the event in the Registrants List
Works perfectly, thanks.
While I was there, I added another translation called REGISTRANTCOUNT_TITLE and used that variable instead of the "NUM" that is now hard coded in default.php for the first column of the registrant list. I wanted to use the "#" character as the title of that column, as it takes up less space and I think looks better.
Thanks again.
Andy
While I was there, I added another translation called REGISTRANTCOUNT_TITLE and used that variable instead of the "NUM" that is now hard coded in default.php for the first column of the registrant list. I wanted to use the "#" character as the title of that column, as it takes up less space and I think looks better.
Thanks again.
Andy
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
3 years 4 months ago #148540
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Including the name of the event in the Registrants List
OK Andy. I'm glad you were able to make it works for you perfectly
Tuan
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.