Main menu

Forum


× Help Forum English

[ROADMAP] Show custom field in the list of participants

  • tobias.lekare
  • Topic Author
  • New Member
  • New Member
More
9 years 7 months ago - 9 years 7 months ago #10276 by tobias.lekare
Hi,

I've created a custom field for the registration form called 'comment' where the user will be able to add a comment if he/she will be late to the event or would like to have special food or something. Now I would like to show that field in the list of the participants, together with the user. How could I do that?

Br, Tobias
Last edit: 9 years 7 months ago by Lyr!C. Reason: [ROADMAP]

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
9 years 7 months ago #10288 by Lyr!C
Hello,

Currently this is not possible without a hack of core code, but you need to know php to process that.

But, for information, the list of participants is meant to be changed in 3.7.x (and maybe little changes in 3.6.x).

I have just a question : are you on Joomla 2.5 or 3 ?

Best Regards,
Cyril

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

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

  • tobias.lekare
  • Topic Author
  • New Member
  • New Member
More
9 years 7 months ago #10294 by tobias.lekare
Replied by tobias.lekare on topic Show custom field in the list of participants
I'm on Joomla 3.

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
9 years 7 months ago #10305 by Lyr!C
So it's ok! ;-)

I asked because i start to think of when i will stop development for Joomla 2.5 (i will keep a stable version, but i think to stop developing new features for Joomla 2.5, maybe for iCagenda 3.7.0, as i would like to improve things in iCagenda using features available in Joomla 3 only ;-) )

Keep a eye on the ChangeLog and roadmap, to get info on changes coming this summer! ;-)

Regards,
Cyril

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

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

  • tobias.lekare
  • Topic Author
  • New Member
  • New Member
More
9 years 7 months ago #10312 by tobias.lekare
Replied by tobias.lekare on topic Show custom field in the list of participants
OK. I certainly will keep track of the progress and the roadmap. My most wanted feature actually is for the user to be able to edit and un-register to an event. And you already have that on your roadmap.

Maybe I'll look into my question myself, and try to hack the core code, to view custom field in the frontend.
The following user(s) said Thank You: Lyr!C

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

  • cyber2001
  • New Member
  • New Member
More
9 years 4 months ago #10793 by cyber2001
Replied by cyber2001 on topic Show custom field in the list of participants
Any luck in "hacking" the php core ?

I have found the file that displays the participants list, but after a few days trying i wasnt able to display the custom field in it.
Is there any temporarely way to fix this and display the custom field in the participants list ?
Which php code do i have to add to project it in icmodel.php ?

I need this feature because it is an essential part of our participants list.

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

  • koknum
  • koknum's Avatar
  • New Member
  • New Member
More
9 years 4 months ago #10794 by koknum

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

  • cyber2001
  • New Member
  • New Member
More
9 years 4 months ago #10798 by cyber2001
I am running Joomla 3x.
I do hope someone can help me with a temporarely fix.

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

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
9 years 4 months ago - 9 years 4 months ago #10799 by Lyr!C

cyber2001 wrote: Any luck in "hacking" the php core ?

I have found the file that displays the participants list, but after a few days trying i wasnt able to display the custom field in it.
Is there any temporarely way to fix this and display the custom field in the participants list ?
Which php code do i have to add to project it in icmodel.php ?

I need this feature because it is an essential part of our participants list.

Hello,

I won't give you a core hack, as in the current dev version i'm working this Summer, all the frontend is refactoried, so many things changed, improved, and in process...
But, if you have found the function (note that the file icmodel.php will be removed in 3.6.0), you see a sql Query.
There you have to add a left join with a suquery from #__icagenda_customfields_data table to get by user (parent_id) the custom fields.

Or, you can directly use in content where you want to display custom fields in the html structure, something like this :
$customfields	= icagendaCustomfields::getListNotEmpty($reguser->userid);
if ($customfields)
{
	foreach ($customfields AS $customfield)
	{
		$list_participants.= '<div class="small iC-italic-grey">';
		$list_participants.= $customfield->cf_title . ': <strong>' . $customfield->cf_value . '</strong>';
		$list_participants.= '</div>';
	}
}

Hope this helps... (not tested)

Best Regards,
Cyril

Latest version : iCagenda 3.9.8
We recommend every user to keep iCagenda updated.
Don't forget to have your Joomla!™ up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File Attachment:

Last edit: 9 years 4 months ago by Lyr!C.

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

  • cyber2001
  • New Member
  • New Member
More
9 years 4 months ago #10800 by cyber2001
Thank you,
my php knowledge isnt very good, unfortunaily.
But i will give it a try.
Can you please tell me if this feature is in the next version ? and when do you expect it to launch ?

Meanwhile i will try to think for a temporarely solution for my Problem.

I will certainly will buy a license, i have tested many components, but this one is the best. :)

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

Moderators: Lyr!C
Time to create page: 0.168 seconds

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new