Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2005-08-04 18:21:39
- mikkeX
- Archived Plugin Author
- Registered: 2004-02-26
- Posts: 74
Good event calendar
I am looking for a good event calendar – where I could set start date and end date for events, and easily inluded in a textpattern site. Any suggestions?
Offline
#2 2005-08-04 20:40:54
- alexandra
- Member
- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: Good event calendar
I just came across this post where Lee did set up an event calendar. Don´t know if you ment such a kind of calendar?
Offline
#3 2005-08-05 07:20:50
- mikkeX
- Archived Plugin Author
- Registered: 2004-02-26
- Posts: 74
Re: Good event calendar
Thanks, but that is not what I am after.
I want an easy text based event calender Like
Events in August
- 8 – Congress – End date: 10/8 2005
- 10 – Fair in Flen – End date: 11/8 2005
And when the event is finished i disapears from the calender.
I tried to use Textpattern, but I would have to hack the code to do it, so I did not bother.
Offline
Re: Good event calendar
Actually, mikkeX – it’s pretty easy to set up something like that in Textpattern. And you won’t need any plugins or hacks.
If you create a new Section called “calendar”, then a form to display things in a “date – title” form, you can add articles and use the title as the name of the event. Set the time of the post to be the time the event takes place and then place a line like this on your page:
<pre>
<txp:article_custom form=“date_title” time=“future” section=“calendar” />
</pre>
One problem with this method is you can’t give an event a range, like starts Jan 2, 2006 and ends Jan 15, 2006. I’d use a custom field for that.
I hadn’t realized there was another Lee when I registered with Textpattern. Maybe I should change my username…
[Lee]
Monkeys could have written a better post..
Offline
Re: Good event calendar
Yup…I just did the same thing for my sister’s site. I made each event an article, assigned it to my schedule section and the event category (probably overkill). Then I used the tag that LeeStewart showed above. It works great. Like Lee said, I haven’t figured out a way to do it for a range of dates, but I haven’t spent much time on it, either. The best part is that the old events disappear and my sister can add new ones on her own without involving me.
Last edited by kaline (2005-08-05 17:13:47)
Offline
#6 2005-08-06 07:25:24
- mikkeX
- Archived Plugin Author
- Registered: 2004-02-26
- Posts: 74
Re: Good event calendar
Thanks for the tips, but…
My event calender is depended on to have a range between dates, and that it disapears when it is all over.
Offline
#7 2005-08-07 05:45:35
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: Good event calendar
mikkex – you could make the date of the article the ‘last date’ of the event
then use a custom field to provide the ‘start date’ (or in fact the ‘date range’)
so the ‘article posted date’ is just used to make the event ‘disappear’ – but for public display purposes, you use your custom field
has a few problems (sorting, for instance, may be an issue with multiple events) – but will probably work well enough
Offline
#8 2005-08-07 06:28:50
- mikkeX
- Archived Plugin Author
- Registered: 2004-02-26
- Posts: 74
Re: Good event calendar
I ended up writing an outside calender myself which had what I wanted. Anyhow, thanks everybody.
Offline
Re: Good event calendar
nardo is the man of the hour for his avatar of a guy in a speedo sitting on a toilet. that is just wonderful.
Offline
Re: Good event calendar
we need a plugin thats displays an ical
Offline