Now I need to let members/employees to subscribe for events where they can work.. I think it should be something like a gridview listing the events, where the user is allowed to check the events he can work.
So I think I need to create another table in database, which store the event id/node id and an id for the member (I guess there might be an id for members created in backend I can use)..
This way it should be possible to create a table (e.g. in a new custom section), where the editors/company owners can see which members have subscribes for the different events.
Am I on right track to create this feature? Is there a better way or some other input?
Sounds like a plan, altho think creating a custom section seems a bit overkill for just listing events and people/members having subscribed to those events. I guess a dashboard control should be enough.
If you're using a v4.7+ version, you can even configure your dashboard control so only specific people can see the dashboard control.
Good luck with it and let us know how you've proceeded.
You could also have a look at the Relations API in Umbraco. If your custom table was just going to have MemberID/NodeID, you can forego a custom table in favor of the Relations API, which allows you to link two nodes together.
Here's some info on the Relations API to get started:
Thanks for your suggestion.. I am using v. 4.7.x and you're right it in this case might be better with just a dashboard control.. do you have a link to some dokumentation about setting up the dashboard control? I have only worked with adding custom sections and trees previously, but I only need a couple of pages, where adding tabs should be enough.
Thanks for the links to more info.. I have something to work with now .. I think it shouldn't be a problem to get properties as well, e.g. properties for the event (event name, date, time, location.. etc.) and something similar for members (name, e-mail and perhaps other contact information).
Glad it helps. It won't be a problem to get the properties as long as you have the ID - you can retrieve the object and do anything you want with it :)
As far as the dashboard control there's really nothing special - you just create a normal usercontrol and add it into /config/Dashboard.config
It sounds easy to use the dashboard control then :) First I had looked at some of the packages for the event signup, but there seem only to be calendars with events.. When creating a event list/calendar on a website, I think many often need some kind of sign up for the events.. I would be nice if there were a package for this..
But looked at the bright side, I probably learn more about customizing of Umbraco :)
Contour should be your friend in case you need to register for an event... Have a look at its features here. Reasonable price for a great piece of software
Subscribe for events
Hi..
I have an event calendar, from the Business Website Starter Pack , I use on a website for a security company.
Now I need to let members/employees to subscribe for events where they can work.. I think it should be something like a gridview listing the events, where the user is allowed to check the events he can work.
So I think I need to create another table in database, which store the event id/node id and an id for the member (I guess there might be an id for members created in backend I can use)..
This way it should be possible to create a table (e.g. in a new custom section), where the editors/company owners can see which members have subscribes for the different events.
Am I on right track to create this feature? Is there a better way or some other input?
Bjarne
Sounds like a plan, altho think creating a custom section seems a bit overkill for just listing events and people/members having subscribed to those events. I guess a dashboard control should be enough.
If you're using a v4.7+ version, you can even configure your dashboard control so only specific people can see the dashboard control.
Good luck with it and let us know how you've proceeded.
Cheers,
/Dirk
Hi Bjarne,
You could also have a look at the Relations API in Umbraco. If your custom table was just going to have MemberID/NodeID, you can forego a custom table in favor of the Relations API, which allows you to link two nodes together.
Here's some info on the Relations API to get started:
-Tom
Hi Dirk..
Thanks for your suggestion..
I am using v. 4.7.x and you're right it in this case might be better with just a dashboard control.. do you have a link to some dokumentation about setting up the dashboard control? I have only worked with adding custom sections and trees previously, but I only need a couple of pages, where adding tabs should be enough.
Bjarne
Hi Tom..
Thanks for the links to more info.. I have something to work with now ..
I think it shouldn't be a problem to get properties as well, e.g. properties for the event (event name, date, time, location.. etc.) and something similar for members (name, e-mail and perhaps other contact information).
Well I guess it is just learning by doing :)
Bjarne
Glad it helps. It won't be a problem to get the properties as long as you have the ID - you can retrieve the object and do anything you want with it :)
As far as the dashboard control there's really nothing special - you just create a normal usercontrol and add it into /config/Dashboard.config
-Tom
It sounds easy to use the dashboard control then :)
First I had looked at some of the packages for the event signup, but there seem only to be calendars with events.. When creating a event list/calendar on a website, I think many often need some kind of sign up for the events.. I would be nice if there were a package for this..
But looked at the bright side, I probably learn more about customizing of Umbraco :)
Bjarne
Contour should be your friend in case you need to register for an event... Have a look at its features here. Reasonable price for a great piece of software
Cheers,
/Dirk
I have heard a lot of good things about Contour too, but I think I'll give it a try with customizing the events have created..
But I will certainly have a look at Contour for some of the future projects..
Bjarne
is working on a reply...