Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bjarne Fyrstenborg 1282 posts 3994 karma points MVP 8x c-trib
    Aug 12, 2011 @ 19:04
    Bjarne Fyrstenborg
    0

    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

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Aug 12, 2011 @ 21:01
    Dirk De Grave
    2

    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

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Aug 12, 2011 @ 21:13
    Tom Fulton
    2

    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

  • Bjarne Fyrstenborg 1282 posts 3994 karma points MVP 8x c-trib
    Aug 12, 2011 @ 21:24
    Bjarne Fyrstenborg
    0

    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

  • Bjarne Fyrstenborg 1282 posts 3994 karma points MVP 8x c-trib
    Aug 12, 2011 @ 21:36
    Bjarne Fyrstenborg
    0

    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

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Aug 12, 2011 @ 21:38
    Tom Fulton
    0

    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

  • Bjarne Fyrstenborg 1282 posts 3994 karma points MVP 8x c-trib
    Aug 12, 2011 @ 21:53
    Bjarne Fyrstenborg
    0

    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

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Aug 12, 2011 @ 21:55
    Dirk De Grave
    0

    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

  • Bjarne Fyrstenborg 1282 posts 3994 karma points MVP 8x c-trib
    Aug 12, 2011 @ 22:05
    Bjarne Fyrstenborg
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft