Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#529 2008-03-04 14:44:14
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Hello again!
My mind is wide open, so I’ve found a solution for this:
<txp:zem_event_date label="Day" class="style for the day" wraptag="" format="%d" />
<txp:zem_event_date label="Month" class="style for the month" wraptag="" format="%B" />
Regards,
Robhert.
Offline
#530 2008-03-04 14:48:36
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
How much work do you guys think it would be to add the ability to edit individual dates after you’ve set a recurring list? Also be able to tick individual week days for recurring events? So you could set an event to repeat only Mon-Fri.
Does anyone else want to see these features?
Offline
#531 2008-03-04 15:06:32
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
In fact it just needs to following added to the list.
Does not repeat
Daily
Every weekday (Mon-Fri)
Every Mon., Wed., and Fri.
Every Tues., and Thurs.
Weekly (allows tick boxes perhaps)
Monthly (Repeat By: day of the month day of the week)
Yearly
Inspired by Google.
Offline
#532 2008-03-05 23:25:52
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
I have a problem, ok, you are right, one more:
This is my code: <txp:zem_event_list limit="15" form="event_now" break="br" />
I’m using ob1_pagination too, so when I click on a link of the pagination bar, in the next page I can’t see my Events’ list.
What am I doing wrong?
Thanks in Advance.
Offline
#533 2008-03-06 02:16:07
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Well, I remove limit="15"
and now this work fine. But with no limit, the articles will overflow!
I don’t know what does limit
so when I go to second or whatever page of my site by navigation (ob1_pagination) I don’t see the <txp:zem_event_list />
working… any idea?
Regards,
Robhert.
Offline
#534 2008-03-07 11:20:21
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Does anyone have a list of all the possibilities for relative dates?
I don’t understand how people know you need to type stuff like date_from=“current day” or date_from=“6+ weeks”.
How what I display a list of just the current weeks events?
Last edited by FireFusion (2008-03-07 11:23:00)
Offline
#535 2008-03-07 23:55:03
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Could be the output formatted as an hCalendar microformat?
I’ve just been working on hcalendar output for zem_calendar. Right now, in a page I have <dl class="events"><txp:article form="event" /></dl>
, and in the event form I have:
<div class="vevent">
<dt class="summary"><txp:title /></dt>
<dd>
<txp:zem_article_event>
<div class="datetime">
<abbr class="dtstart" title="<txp:zem_event_date label="" wraptag="" format="%Y%m%d" />T<txp:zem_event_time label="" wraptag="" format="%H%M" />-0500"><txp:zem_event_date label="" wraptag="" format="%A, %B %e" /></abbr><br />
<txp:zem_event_time label="From" wraptag="" format="%I:%M %p" />
<abbr class="dtend" title="<txp:zem_event_finish_date label="" wraptag="" format="%Y%m%d" />T<txp:zem_event_finish_time label="" wraptag="" format="%H%M" />-0500"><txp:zem_event_finish_time label="to" wraptag="" format="%I:%M %p" /></abbr></div>
Location: <txp:zem_event_location class="location" wraptag="span" />
<txp:zem_event_description wraptag="p" class="description" />
</txp:zem_article_event>
</dd>
</div>
which works fairly well, and outputs the following html:
<dl class="events">
<div class="vevent">
<dt class="summary">Book Publication Party</dt>
<dd>
<div class="datetime">
<abbr class="dtstart" title="20080403T1700-0500">Thursday, April 3</abbr><br />
From: 05:00 PM
<abbr class="dtend" title="20080403T1900-0500">to: 07:00 PM</abbr></div>
Location: <span class="location">Arch Street Teen Center</span>
<p class="description">Join Icy Frantz and Nina Weld as they announce the publication of their book, <cite>Sargeant’s Heaven</cite>. Bring the whole family! book signing, children’s activities, refreshments. </p>
</dd>
</div>
</dl>
I know some would disagree with using a dl, but I’m experimenting here and that’s really not the point anyway. Just trying to get some feedback on this code – is there any way to do it without hard-coding the timezone in the title
attribute? Also, almost everything looks great in Tails:
Thursday, April 03, 2008 – Friday, April 04, 2008
Summary: Book Publication Party
Start Date/Time: Thursday, April 03, 2008 17:00
End Date/Time: Friday, April 04, 2008 19:00
Location: Arch Street Teen Center
Description: Join Icy Frantz and Nina Weld as they announce the publication of their book, Sargeant’s Heaven. Bring the whole family! book signing, children’s activities, refreshments.
But why does is change the end date, which is April 3 in the html (20080403T1900-0500
) to April 4? Kind of weird. Well, I sure do hope that hcalendar markup is worth all the extra effort. I’m pretty sure my clients won’t know the difference.
Any advice or feedback appreciated.
Offline
#536 2008-03-08 00:12:17
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
As a footnote, I’d definitely be willing to contribute cash and some time with documentation if someone stepped up and took control of this plugin. It’s working okay for me right now, in 4.0.6, but I have the zem_event_paginate.php file or whatever it is just sitting there with no idea what to do with it! Also, 4.0.6 comes with JQuery, so the filepath could simply be changed in the plugin. I think? There’s high demand for a good event plugin, so I’m sure you could see a decent cash reward…
Offline
#537 2008-03-08 04:25:26
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
nabrown78 – zem_paginate.txt would be the plugin text you would use, zem_paginate.php is the source php, it provides a set of older/newer tags for pagination like TXP’s core tags older/newer.
Offline
#538 2008-03-08 04:29:39
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
rsilletti can you explain to me How to use zem_pagination? Thanks in advance
.
Offline
#539 2008-03-08 04:47:49
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
robhert – zem-paginate contains two functions or tags, zem_older & zem_newer. These two tags work the same as TXP’s older/newer tags, Textbook would give you a good definition of how those work and they look to me to be interchangeable. The purpose of them is to provide paging links for an article list. This – newer may help to clarify things. Exactly how these may be used in the context of this plugin is up to the user of the plugin, but I believe this plugin also has a function called zem_paginate which calculates pagination independently of publish.php, at that point someone who actually uses this plugin and these tags may be able to help you more than I can.
Offline
#540 2008-03-08 05:05:41
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Hi Rick,
Yes this is what I would have guessed, but in my download (from the very first post in this thread, I have only: datePicker.js, jquery.js, searchform.txt, zem_event_v0.3.5.txt, zem_event.php, and zem_paginate.php. IE, no zem_paginate.txt. Should I be downloading the code from elsewhere?
Thanks,
Nora
Offline