×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Add fields to show on the Participants page

Add fields to show on the Participants page 10 years 7 months ago #25707

  • Bill Draver
  • Bill Draver's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 43
  • Thank you received: 0
I've checked the Matukio topics and found your comment about adding specific fields to a CSV report but I want the custom bookingfields to show on the "Participants" page. Currently only the First and Last name appear on the page. I've attached a screenshot .Thanks!
Attachments:

Add fields to show on the Participants page 10 years 7 months ago #25708

  • Helmut Warter
  • Helmut Warter's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 138
  • Karma: 2
  • Thank you received: 4
I am also waiting for this function since I use the new booking form. I think to years are over, but no solution only answers that it is very difficult, I cannot believe it.
Regards
Helmut

Add fields to show on the Participants page 10 years 7 months ago #25717

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Bill & Helmut,

as Helmut stated this only possible for the "old" eventspecific fields (except you start changing the code, there is a basic guide in the forum.).

I am also waiting for this function since I use the new booking form. I think to years are over, but no solution only answers that it is very difficult, I cannot believe it.


There are three / four reasons we haven't implemented this:

- It is very difficult (Because we would have to change the database table design of the new fields.. and with that all old bookings!)
- The whole participants page in the frontend is going to be rewritten and replaced (By a clean version like in the backend!)
- The whole event specific field system too.. (To a userfriendly and modern non | driven syntax!)

So before starting adding new features these two steps need to be done.. Last one is started with Matukio 3.1 and will be finished in Matukio 3.2 and then we are going to have a new participants page including options to show every field there too..

Best regards,

Yves
The following user(s) said Thank You: Bill Draver

Add fields to show on the Participants page 10 years 6 months ago #25775

  • redcogitans
  • redcogitans's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi Yves,

You mentioned a basic guide about changing code in the forum, I was looking for that, but without look.
Could you help me with this?

Thanks,
Franjo

Add fields to show on the Participants page 10 years 6 months ago #25838

  • redcogitans
  • redcogitans's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hello all,

Could you help me to find out where such guide is in this forum? maybe is in german?
Any suggestion would be appreciate.

Thanks,

Add fields to show on the Participants page 10 years 6 months ago #25844

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Here is a quick guide from a ticket - also posted it in german sometime ago, but also didn't find it in the forums (too many topics - not sure what the title was).

so file you need to edit:

components/com_matukio/views/participants/tmpl/default.php

Somewhere in the foreach booking loop

foreach ($this->rows as $row)
{

you have to get the new booking fields for this booking - take a look at

administrator/components/com_matukio/helpers/util_templates.php

how to get them e.g.:

// New booking form fields
$fields = MatukioHelperUtilsBooking::getBookingFields();
$fieldvals = explode(";", $booking->newfields);

$value = array();

foreach ($fieldvals as $val)
{

etc.. you need the whole part - take a look at the firstname / lastname example to choose your own fields

e.g. if ($field->field_name == "fieldyouwant")

your output


Best regards,

Yves
  • Page:
  • 1
Time to create page: 0.118 seconds