help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
[HOWTO] Show persons on the waiting list, in Event view
Re: [HOWTO] Show persons on the waiting list, in Event view
7 years 5 months ago
look at:
JEM 2.2.1 and View Non-attending/invited/waitings in view event #23798
1 month 1 week ago
JEM 2.2.1 and View Non-attending/invited/waitings in view event #23798
1 month 1 week ago
Please Log in or Create an account to join the conversation.
Re: [HOWTO] Show persons on the waiting list, in Event view
7 years 5 months ago
Jojo12, thank you so far, I'll try it once I get it. Now I have too little time ...
Please Log in or Create an account to join the conversation.
Re: [HOWTO] Show persons on the waiting list, in Event view
7 years 5 months ago
Albs, jojo12 thank you.
Finally, I modified the default.attendees.php file according to your advice and I made it a bit easier and it looks like it works in my mind:
From line about 115:
I have one more question and I'm asking for advice on how to edit this code.
I would like every user to be shown, including his comment, which he entered during registration. In my case, I would need other users to see the comments. How do I do that?
Finally, I modified the default.attendees.php file according to your advice and I made it a bit easier and it looks like it works in my mind:
From line about 115:
Code:
// no communitycomponent is set so only show the username
if ($register->status == 1)
echo '<p><span style="color: green;" />' . $register->name . ' - Účastník akce</p>';
if ($register->status == -1)
echo '<p><span style="color: red;" />' . $register->name . ' - Nezúčastní se</p>';
if ($register->status == 0)
echo '<p><span style="color: blue;" />' . $register->name . ' - Dostal pozvánku, ale nevyjádřil se.</p>';
if ($register->status == 2)
echo '<p><span style="color: orange;" />' . $register->name . ' - Náhradník </p>' ;
endif;
endforeach;
// end loop through attendees
I have one more question and I'm asking for advice on how to edit this code.
I would like every user to be shown, including his comment, which he entered during registration. In my case, I would need other users to see the comments. How do I do that?
Please Log in or Create an account to join the conversation.
Re: [HOWTO] Show persons on the waiting list, in Event view
7 years 5 months ago - 7 years 5 months ago
Hi Jojo12,
Thanks for the response - I noticed the code in the model in 2.2.1 (which I'm using), but the query in model file for Event filters out the people who are on the waiting list... hence the change.
Thanks!
Thanks for the response - I noticed the code in the model in 2.2.1 (which I'm using), but the query in model file for Event filters out the people who are on the waiting list... hence the change.
Thanks!
Last edit: 7 years 5 months ago by albs.
Please Log in or Create an account to join the conversation.
Re: [HOWTO] Show persons on the waiting list, in Event view
7 years 5 months ago - 7 years 5 months ago
No that's not true, but you need to change in defaut_attendees.php:
where 'XXX' can be 'all' for all together ot 'invited', 'not_attending', 'attending', 'waiting' for users with such state.
like that each admin can decide what kind he needs for his groups!
Code:
// loop through attendees
foreach ($this->regs['all'] as $register) :
where 'XXX' can be 'all' for all together ot 'invited', 'not_attending', 'attending', 'waiting' for users with such state.
like that each admin can decide what kind he needs for his groups!
Last edit: 7 years 5 months ago by jojo12.
Please Log in or Create an account to join the conversation.
Time to create page: 0.473 seconds