Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#4 2005-08-05 14:03:27

LeeStewart
Archived Plugin Author
From: Boston, MA, US
Registered: 2005-07-25
Posts: 81
Website

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>
&lt;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.

&nbsp;
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

#5 2005-08-05 17:12:28

kaline
Member
From: Plymouth, MN
Registered: 2005-07-18
Posts: 38
Website

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

#9 2005-08-13 04:25:13

jdueck
Plugin Author
From: Minneapolis, MN
Registered: 2004-02-27
Posts: 147
Website

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

#10 2005-09-22 17:04:13

inst
New Member
From: Richmond, Virginia
Registered: 2004-10-11
Posts: 4
Website

Re: Good event calendar

we need a plugin thats displays an ical

Offline

#11 2005-09-23 01:21:19

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: Good event calendar

by the by, apart from future articles not showing in feeds, future articles don’t show in searches either — but it’s easy to hack that (must be, cos I managed it)

Offline

#12 2006-01-14 12:07:43

vifort
Member
From: Fter — Serville, Belgium.
Registered: 2005-08-05
Posts: 76
Website

Re: Good event calendar

Hi everyone,

I’m also interrested by a calendar in TXP.
As I work on Mac, I would be interrested by a stuff close to iCal from Apple.

I found this calendar, PHP iCalendar, which is really fine. Is it a way to integrate it in TXP instead of installing it on a subdomain?

Cheers

Vincent.

Offline

#13 2006-10-30 21:16:55

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Good event calendar

Just to throw in some thoughts …

I am using an external web calendar application from airset.com and publish it on my site via iframe. Interesting with this solution is that you can subscribe to external iCal or other public AirSet calendars. The dates will be integrated into your calendar.

Another aspect is that you can maintain your calendar data with a local Palm Desktop or MS Outlook. It would also be no problem to publish an iCal calendar and subscribe to it.

Right now I am experiencing the iframe to be very slow with Firefox2. No idea why.

AirSet also gives the possibility to subscribe via different RSS feeds. This way you can publish the calendar with an Textpattern RSS parser on your site. This will also solve the problem of past events which will vanish with the ongoing events.

Another wide spreading topic are microformats. One format is hCalendar (which is pretty much related to iCal). Check out the microformats.org wiki: hCalendar where you will also find a lot of examples.

I would either fill an article form through custom fields or use an external editor/database to create the article/vent/hCalendar source code.

BTW to integrate PHP iCalendar into Textpattern might be easy via the txp:php tag which allows you to insert raw PHP into page or article forms. Just check the tag documentation. I did not look too deep into the PHP iCalendar possibilities …

Question: Maybe someone else has good experiences with integrating external calendar applications into Textpattern?

Last edited by merz1 (2006-10-30 21:18:19)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

Board footer

Powered by FluxBB