Main menu

Forum


× Help Forum English

[ROADMAP] Show custom field in the list of participants

  • tobias.lekare
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 7 Mesi fa - 9 Anni 7 Mesi fa #10276 da 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
Ultima Modifica 9 Anni 7 Mesi fa da Lyr!C. Motivo: [ROADMAP]

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
9 Anni 7 Mesi fa #10288 da 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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • tobias.lekare
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 7 Mesi fa #10294 da tobias.lekare
Risposta da tobias.lekare al topic Show custom field in the list of participants
I'm on Joomla 3.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
9 Anni 7 Mesi fa #10305 da 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 allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • tobias.lekare
  • Autore della discussione
  • New Member
  • New Member
Di più
9 Anni 7 Mesi fa #10312 da tobias.lekare
Risposta da tobias.lekare al 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.
Ringraziano per il messaggio: Lyr!C

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • cyber2001
  • New Member
  • New Member
Di più
9 Anni 4 Mesi fa #10793 da cyber2001
Risposta da cyber2001 al 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.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • koknum
  • Avatar di koknum
  • New Member
  • New Member
Di più
9 Anni 4 Mesi fa #10794 da koknum

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • cyber2001
  • New Member
  • New Member
Di più
9 Anni 4 Mesi fa #10798 da cyber2001
I am running Joomla 3x.
I do hope someone can help me with a temporarely fix.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
9 Anni 4 Mesi fa - 9 Anni 4 Mesi fa #10799 da Lyr!C

cyber2001 ha scritto: 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 allegato:

Ultima Modifica 9 Anni 4 Mesi fa da Lyr!C.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • cyber2001
  • New Member
  • New Member
Di più
9 Anni 4 Mesi fa #10800 da 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. :)

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.226 secondi

 

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new