Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-02 20:54:20

Mr.B
New Member
Registered: 2004-07-29
Posts: 4

Event date question

Hi,

I´m new to Textpattern and I´m trying to “taste” the most of it´s versatility before implementing it on my university website.
Since on my university website we deal with “events” (ex: a congress or seminar that need to be announce) I´m trying to figure out if Textpattern can deal with a post that have a specific occurence period. Say a Physics Lecture “From 5 to 9 of February” or something like that.

Can anyone tell me if it´s possible to have a post date like this one?

Sorry for my bad english and thanks any advance.

Regards,
B.

Offline

#2 2006-02-02 22:14:33

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Event date question

Not a post date, but you can very well use custom fields for the start date and the end date, and sort by these.

Offline

#3 2006-02-02 22:31:28

Mr.B
New Member
Registered: 2004-07-29
Posts: 4

Re: Event date question

> doggiez wrote:
> Not a post date, but you can very well use custom fields for the start date and the end date, and sort by these.

Hi Doggiez,

Thanks for the quick reply.
Well, if it works it´s good enough for me :-). We have a custom solution just for the news and events at:
http://www.ist.utl.pt/
… it´s a bit smarter, since it displays on top the event that is close (in time) the actual day.

Take for example, two different conferences: one about mathematics (22 – 25 February) and the other about chemistry ( 12 – 20 of June). The first one will appear on top because 22 February is more close to the actual day (2 February) then the later.
Can it be done with “custom fields”?

Thanks again.

Best regards,
B.

Offline

#4 2006-02-02 23:07:23

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Event date question

Yes of course (if I understand you correctly). You would have to sort by the custom field that contains the start date, and set the sort order to ascending. Only thing is, don’t know if you are using that now, there is no such thing as an expiration date to set for an article (so that it will disappear after the end date). You would have to delete past events manually.

Come to think of it, you wouldn’t. You could set it to display only future events (articles), this uses the posted date. As soon as the posted date = today, the event disappears from the list.

So, what you want can be done easily.

Offline

#5 2006-02-02 23:24:16

Vitor M. Costa
Member
From: Portugal - Vila Real
Registered: 2006-01-22
Posts: 14
Website

Re: Event date question

You should try this plugin i think that’s what you need ;)

Last edited by Vitor M. Costa (2006-02-02 23:25:05)

Offline

#6 2006-02-02 23:39:34

Mr.B
New Member
Registered: 2004-07-29
Posts: 4

Re: Event date question

> Vitor M. Costa wrote:
> You should try this plugin i think that’s what you need ;)

Thanks to both.
Incredible polited people here. Glad I came and wrote down my doubts. Thanks!!! :-)

Vitor, it seems that jmc_eventmanager can help me. Gonna try that out! ;-)

Best regards,
Bruno

Offline

#7 2006-02-03 02:16:55

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

Re: Event date question

just a version of doggiez suggestion… use the article post date as the LAST date of your event, and a custom field as the START date (leave it empty if the event is only one day)

then u can use the article or article_custom tag with time=“future” and events will drop off the list when past

so, what doggiez said, but just saving u one field : )

Offline

#8 2006-02-03 14:16:09

Mr.B
New Member
Registered: 2004-07-29
Posts: 4

Re: Event date question

Well thought ;-)

Thanks, mate!

Best regards,
B.

Offline

#9 2006-02-03 15:13:04

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Event date question

nardo wrote:

just a version of doggiez suggestion… use the article post date as the LAST date of your event, and a custom field as the START date (leave it empty if the event is only one day)

then u can use the article or article_custom tag with time=“future” and events will drop off the list when past

so, what doggiez said, but just saving u one field : )

I thought of that, but it means that the event will disappear on the last day of the event, not after

Offline

#10 2006-02-03 23:37:13

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

Re: Event date question

good catch, Doggiez… usually I put the time at 11pm or something, so that works for me, but time can be tricky so your suggestion may be safest

Offline

Board footer

Powered by FluxBB