Main menu

Forum


× Help Forum English

[ROADMAP] Show custom field in the list of participants

  • tobias.lekare
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 7 mois - il y a 9 ans 7 mois #10276 par 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
Dernière édition: il y a 9 ans 7 mois par Lyr!C. Raison: [ROADMAP]

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 7 mois #10288 par Lyr!C
Réponse de Lyr!C sur le sujet Show custom field in the list of participants
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • tobias.lekare
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 7 mois #10294 par tobias.lekare
Réponse de tobias.lekare sur le sujet Show custom field in the list of participants
I'm on Joomla 3.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 7 mois #10305 par Lyr!C
Réponse de Lyr!C sur le sujet Show custom field in the list of participants
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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

  • tobias.lekare
  • Auteur du sujet
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 7 mois #10312 par tobias.lekare
Réponse de tobias.lekare sur le sujet 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.
Les utilisateur(s) suivant ont remercié: Lyr!C

Connexion ou Créer un compte pour participer à la conversation.

  • cyber2001
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 4 mois #10793 par cyber2001
Réponse de cyber2001 sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

  • koknum
  • Portrait de koknum
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 4 mois #10794 par koknum

Connexion ou Créer un compte pour participer à la conversation.

  • cyber2001
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 4 mois #10798 par cyber2001
Réponse de cyber2001 sur le sujet [ROADMAP] Show custom field in the list of participants
I am running Joomla 3x.
I do hope someone can help me with a temporarely fix.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 9 ans 4 mois - il y a 9 ans 4 mois #10799 par Lyr!C
Réponse de Lyr!C sur le sujet Show custom field in the list of participants

cyber2001 écrit: 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) .

Fichier attaché :

Dernière édition: il y a 9 ans 4 mois par Lyr!C.

Connexion ou Créer un compte pour participer à la conversation.

  • cyber2001
  • Nouveau membre
  • Nouveau membre
Plus d'informations
il y a 9 ans 4 mois #10800 par cyber2001
Réponse de cyber2001 sur le sujet [ROADMAP] Show custom field in the list of participants
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. :)

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.119 secondes

 

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new