Multiple users using json

315 views
Skip to first unread message

Apurv Gupta

unread,
Aug 14, 2011, 12:03:30 AM8/14/11
to jquery week calendar
Hi,
I am not very good in coding.
First of all thanks for such a wonderful plugin.
I was wondering how can i get the users using json.
This is having only an option of array.
Is it any how possible to get the users from json like we did in
events.
Please please help me out.
I am almost done with my project just stuck with this small thing
only.
Thanks..:)

Apurv Gupta

unread,
Aug 14, 2011, 9:01:15 AM8/14/11
to jquery week calendar
Hey guyzz..Please reply i am really in a need of this answer.
Hope you will understand..:)

Julien MUETTON

unread,
Aug 14, 2011, 12:22:18 PM8/14/11
to jquery-wee...@googlegroups.com
Well, you have to implement the user name and id related options to fit your model and then provide user data that fit your model, I really can't do more.

cheers,

Julien.

Apurv Gupta

unread,
Aug 14, 2011, 1:51:42 PM8/14/11
to jquery week calendar
Thanks julien but if you could give me an example of this..
I could not understand what you are trying to say at all.
Thanks a lot for helping..:)

Aug 14, 9:22 pm, Julien MUETTON <the.moue...@gmail.com> wrote:
> Well, you have to implement the user name and id related options to fit your
> model and then provide user data that fit your model, I really can't do
> more.
>
> cheers,
>
> Julien.
>

Apurv Gupta

unread,
Aug 14, 2011, 3:13:29 PM8/14/11
to jquery week calendar
Thanks my problem is solved..
-------------------closed-------------------------

Pete

unread,
Sep 10, 2015, 9:36:36 AM9/10/15
to jquery week calendar
Hi,

Would you mind sharing how you solved this problem? i also need this functionality on the week calendar.

thanks

NoobCoder

unread,
Jan 11, 2016, 11:26:21 PM1/11/16
to jquery week calendar
Hi can you share to me how you solved the problem on multi user in json file on jquery week calendar?

thanks

Joop Stringer

unread,
Jan 27, 2016, 11:23:10 AM1/27/16
to jquery week calendar
I created a (extended) json string like this:

{"events":[{"id":8232,"UID":null,"userId":4,"mdwid":4,"mdwinitials":"JA","mdwname":"joop Stringer2","contphone":"0651256956","contemail":"joop.s...@gmail.com","product":"Eerste Intake","text":"Joop Stringer","title":"Eerste Intake","datum":"woensdag, 27-01-2016","start":"01/27/2016 11:45","end":"01/27/2016 12:15","duur":30,"textColor":"#FFF","isrecur":false,"parent":null,"status":"PLANNED   ","FullName":"Joop Stringer","Telephone":null,"Note":null,"Gender":null,"contactID":0,"productID":0,"Category":null,"categoryID":0,"DatumTijdVan":"\/Date(-62135596800000)\/","DatumTijdTot":"\/Date(-62135596800000)\/","isrecurr":false,"color":"#F133FF","practioner":null,"isfactuur":false,"free":false},{"id":8238,"UID":null,"userId":4,"mdwid":4,"mdwinitials":"JA","mdwname":"joop Stringer2","contphone":"0651256956","contemail":"joop.s...@gmail.com","product":"Eerste Intake","text":"Joop Stringer","title":"Eerste Intake","datum":"woensdag, 27-01-2016","start":"01/27/2016 12:45","end":"01/27/2016 13:15","duur":30,"textColor":"#FFF","isrecur":false,"parent":null,"status":"PLANNED   ","FullName":"Joop Stringer","Telephone":null,"Note":null,"Gender":null,"contactID":0,"productID":0,"Category":null,"categoryID":0,"DatumTijdVan":"\/Date(-62135596800000)\/","DatumTijdTot":"\/Date(-62135596800000)\/","isrecurr":false,"color":"#F133FF","practioner":null,"isfactuur":false,"free":false}],"freebusys":[{"userId":16,"start":"01/25/2016 09:00","end":"01/25/2016 17:00","free":true},{"userId":16,"start":"01/25/2016 12:00","end":"01/25/2016 14:00","free":false},{"userId":16,"start":"01/26/2016 09:00","end":"01/26/2016 17:00","free":true},{"userId":16,"start":"01/27/2016 09:00","end":"01/27/2016 17:00","free":true},{"userId":16,"start":"01/28/2016 09:00","end":"01/28/2016 17:00","free":true},{"userId":16,"start":"01/29/2016 09:00","end":"01/29/2016 17:00","free":true}]}

And I have a json string with the users and their ID's

Op zondag 14 augustus 2011 06:03:30 UTC+2 schreef Apurv Gupta:

NoobCoder

unread,
Feb 5, 2016, 11:05:15 PM2/5/16
to jquery week calendar
Hi, do you know how to json encode users and display it to calendar? how i do it doesnt work


On Wednesday, January 27, 2016 at 8:23:10 AM UTC-8, Joop Stringer wrote:
I created a (extended) json string like this:

{"events":[{"id":8232,"UID":null,"userId":4,"mdwid":4,"mdwinitials":"JA","mdwname":"joop Stringer2","contphone":"0651256956","contemail":"joop.stri...@gmail.com","product":"Eerste Intake","text":"Joop Stringer","title":"Eerste Intake","datum":"woensdag, 27-01-2016","start":"01/27/2016 11:45","end":"01/27/2016 12:15","duur":30,"textColor":"#FFF","isrecur":false,"parent":null,"status":"PLANNED   ","FullName":"Joop Stringer","Telephone":null,"Note":null,"Gender":null,"contactID":0,"productID":0,"Category":null,"categoryID":0,"DatumTijdVan":"\/Date(-62135596800000)\/","DatumTijdTot":"\/Date(-62135596800000)\/","isrecurr":false,"color":"#F133FF","practioner":null,"isfactuur":false,"free":false},{"id":8238,"UID":null,"userId":4,"mdwid":4,"mdwinitials":"JA","mdwname":"joop Stringer2","contphone":"0651256956","contemail":"joop.stri...@gmail.com","product":"Eerste Intake","text":"Joop Stringer","title":"Eerste Intake","datum":"woensdag, 27-01-2016","start":"01/27/2016 12:45","end":"01/27/2016 13:15","duur":30,"textColor":"#FFF","isrecur":false,"parent":null,"status":"PLANNED   ","FullName":"Joop Stringer","Telephone":null,"Note":null,"Gender":null,"contactID":0,"productID":0,"Category":null,"categoryID":0,"DatumTijdVan":"\/Date(-62135596800000)\/","DatumTijdTot":"\/Date(-62135596800000)\/","isrecurr":false,"color":"#F133FF","practioner":null,"isfactuur":false,"free":false}],"freebusys":[{"userId":16,"start":"01/25/2016 09:00","end":"01/25/2016 17:00","free":true},{"userId":16,"start":"01/25/2016 12:00","end":"01/25/2016 14:00","free":false},{"userId":16,"start":"01/26/2016 09:00","end":"01/26/2016 17:00","free":true},{"userId":16,"start":"01/27/2016 09:00","end":"01/27/2016 17:00","free":true},{"userId":16,"start":"01/28/2016 09:00","end":"01/28/2016 17:00","free":true},{"userId":16,"start":"01/29/2016 09:00","end":"01/29/2016 17:00","free":true}]}

And I have a json string with the users and their ID's
Reply all
Reply to author
Forward
0 new messages