Hi,
I want to create a sort of event management app (actual events, like concerts) where:
a. the core object is an "Event" with it’s properties (description, title, when and where etc.)
b. I can add/edit/remove events easily
c. Users can add/edit/remove events if I let them
d. I can show events for a certain day, week, or by tags.
How can I use modx to build my app?
I pretty much understand, by now, the meaning of templates, snippets, chunks etc,
but I guess I’m missing out on something, cause I have no idea how to go about building something of the sort.
Of course I’m not asking anyone to do my work for me,
It’s just that a roadmap would help me get on my way.
any suggestions?
you can tryout thisone:
http://modxcms.com/forums/index.php/topic,26825.0.html
its not so difficult to create your own project with it, make your chunks for views and formulars, get and save datas from/in documents or database-tables. I have it created to edit and show events in every form you want from the frontend. You can show the events as lists, tables, calendars, weeklist, daylist ............., but I use it for more than only calendar-things.
If you have problems to make it run, you can ask in the above topic.
Bruno
Quote from: omm at Sep 06, 2008, 07:36 AM
Hi,
I want to create a sort of event management app (actual events, like concerts) where:
a. the core object is an "Event" with it’s properties (description, title, when and where etc.)
b. I can add/edit/remove events easily
c. Users can add/edit/remove events if I let them
d. I can show events for a certain day, week, or by tags.
How can I use modx to build my app?
I pretty much understand, by now, the meaning of templates, snippets, chunks etc,
but I guess I’m missing out on something, cause I have no idea how to go about building something of the sort.
Of course I’m not asking anyone to do my work for me,
It’s just that a roadmap would help me get on my way.
any suggestions?
Unless you will be managing more than 5,000 events, you can create a MODx document for each event. Create a container document (check the container checkbox on the "page settings" tab) and then create each event below that by right-clicking on the container in the document tree at the left and selecting "create new document here."
Then you can use the Ditto snippet to show the events.
If the standard fields of the "create/edit document" page won’t hold all the information you need (and they probably won’t) you can add TVs (Template Variables) for the extra fields.
You might also want to consider using the NewsPublisher snippet to enter new events (i.e. create new event documents).
Thanks guys,
I’ll look into your suggestions,
I’m sure they’ll put me on the right track