Show extra field?

  • Devin Vail
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #72181 by Devin Vail
Show extra field? was created by Devin Vail
Hi!

How can i show one of the extra fields in a module? I've modified the "history" module to show only the rows i need, and i want one additional row which will pull data from the extra fields xml file (fields.xml).

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

  • Devin Vail
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago - 9 years 5 months ago #72190 by Devin Vail
Replied by Devin Vail on topic Show extra field?
I'm using this code:
Code:
<?php if ($this->config->event_custom_field) { foreach($this->paramData as $param) { if ($param['value']) {?> <tr> <td> <strong><?php echo $param['title']; ?></strong> </td> <td> <?php echo $param['value'] ; ?> </td> </tr> <?php } } } ?>

That's the way it's shown the extra field in "/view/event/tmpl/default.php", but putting the code into the module view "/view/history/tmpl/default.php" shows nothing on the front end. What might be the problem?
Last edit: 9 years 5 months ago by Devin Vail.

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

More
9 years 5 months ago #72202 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Show extra field?
Hi Devin

Unfortunately, it is not simple like that. There will be more difficult code which need to added to show custom fields of the event in registration history

You can submit a support ticket sending us super admin account of your site so that I can ask my developer to modify the code to show these information for you.

As code modification to meet individual customer need is not in scope of our support, we can only do it for you this time. In the future, if you need more modification like this, we will have to consider charging you for doing the modification

Regards,

Tuan

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

  • Devin Vail
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #72230 by Devin Vail
Replied by Devin Vail on topic Show extra field?
Thanks for the reply, i've created new ticket.

It might be useful to add the support in the next version of EB the users to be able to output the extra fields value on different places, just my 2 cents.

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

Moderators: Tuan Pham Ngoc