- Posts: 21
- Thank you received: 0
Delete first_name "Group:" on csv file
- doblzou
- Topic Author
- Offline
- Junior Member
-
Less
More
13 years 4 days ago #25039
by doblzou
Delete first_name "Group:" on csv file was created by doblzou
Hi,
how can I delete the word ":Group" on the CSV file when I exported the registrants.
Look at teh screenshot.
Thank you.
how can I delete the word ":Group" on the CSV file when I exported the registrants.
Look at teh screenshot.
Thank you.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 4 days ago #25060
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Delete first_name "Group:" on csv file
Hi
This will require some modification to the code. Look at the file administrator/components/com_eventbooking/controller.php, find the function csv_export. Inside that function, find the code below :
Change it to :
$results_arr[]=$r->first_name;
After that, it should work as expected.
Tuan
This will require some modification to the code. Look at the file administrator/components/com_eventbooking/controller.php, find the function csv_export. Inside that function, find the code below :
Code:
$results_arr[]=$r->first_name.' '.JText::_('EB_GROUP').$groupNames[$r->group_id] ;
Change it to :
$results_arr[]=$r->first_name;
After that, it should work as expected.
Tuan
Please Log in or Create an account to join the conversation.
- doblzou
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
13 years 4 days ago #25063
by doblzou
Replied by doblzou on topic Re: Delete first_name "Group:" on csv file
Thank you it work now 
And sorry for the double post.
And sorry for the double post.
Please Log in or Create an account to join the conversation.
- doblzou
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
12 years 9 months ago #29181
by doblzou
Replied by doblzou on topic Re: Delete first_name "Group:" on csv file
Hi, I did an update of EB 1.5.3 and the word "Group" appears again and yet I remade the same change as you had said but it does not change anything (I delete the cache)
Thank you for your help.
here is my code line 679 of controller.php
if ($r->is_group_billing)
$results_arr[]=$r->first_name ;
elseif ($r->group_id > 0)
$results_arr[]=$r->first_name ;
else
$results_arr[]=$r->first_name ;
Thank you for your help.
here is my code line 679 of controller.php
if ($r->is_group_billing)
$results_arr[]=$r->first_name ;
elseif ($r->group_id > 0)
$results_arr[]=$r->first_name ;
else
$results_arr[]=$r->first_name ;
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 9 months ago #29231
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Delete first_name "Group:" on csv file
Hi
I am sure that it is just something missing in your code. Please try to spend time to find out it to save me sometime. If you cannot get it work, please submit a support ticket on tomorrow and I will help you.
Regards,
Tuan
I am sure that it is just something missing in your code. Please try to spend time to find out it to save me sometime. If you cannot get it work, please submit a support ticket on tomorrow and I will help you.
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- doblzou
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
12 years 9 months ago #29443
by doblzou
Replied by doblzou on topic Re: Delete first_name "Group:" on csv file
HiTuan,
I forgot to tell you that this applies only on the front end and not the backend that it works perfectly.
I would delete the word group provide csv file export function on the front end also.
thank you.
I forgot to tell you that this applies only on the front end and not the backend that it works perfectly.
I would delete the word group provide csv file export function on the front end also.
thank you.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 9 months ago #29471
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Delete first_name "Group:" on csv file
Then you can do the same for front-end function. The file is components/com_eventbooking/controller.php. The function is still csv_export (almost the same with back-end function).
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- doblzou
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
12 years 9 months ago #29481
by doblzou
Replied by doblzou on topic Re: Delete first_name "Group:" on csv file
Perfect, thank you 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.