Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
jj23,
Thanks for the heads up about the bug and the article title left blank. We are looking at the minicalendar issue. Until that is resolved you may want to avoid using the minicalendar.
Rsilletti,
You have outdone yourself. Thank you for taking the time to do that. That’s a real contribution to the plugin, I’ll add the link to the initial post. Bravo!
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Matthew,
I think I found the problem of the future events not showing up on the calendar— the article time stamp.
As I noted, I use the time attributes on my events article list:
< txp:article form=“Events” time=“future” sortby=“Posted” sortdir=“asc” / >
To make this work I use a future time stamp on my articles. Thus when the event time becomes past, it automatically drops off the upcoming list.
I just did an experiment where I used the current time stamp, but a future date in the events section. Lo and behold, the event showed up on the calendar (but not on my upcoming list). The problem was the time stamp.
Is there any way around this or should I just bite the bullet and re-do my pages to accommodate the new events plugin :)
Thanks!
Offline
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
the events are removed from zem_event_list when they become out dated.
If you are just using the events plugin and not a traditional article list, then there’s no need to use any time attribute at all, just use your zem_event_list as your “article list” tag and when the dates have past they will not be visible.
Matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Is there a way to let user subscribe to events? Maybe a (modified?) comment function?
It would be great to add this capability for at least two scenarios:
- Live events like conferences or courses, where the room seats are limited and you want to be sure do assign seats to registered users first.
- If events are used for exams, students may subscribe to exam by commenting.
Does it make sense? Bye
Z-
Last edited by Zanza (2007-02-08 17:24:33)
Offline
#95 2007-02-08 18:49:26
- WebKat
- Member

- Registered: 2007-01-16
- Posts: 301
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
It’s becoming tempting to uninstall this plugin and give up. I just can’t follow the documentation, and there are such strange behaviors that I can’t explain… like on the calendar, for the navigation, the way I set up the tag was like this: <txp:zem_event_calendar_nav prev="← Previous Month | " next=" | Next Month →" labeltag="strong" /> thinking that what I would get would be like this: ← Previous Month | February | Next Month → but instead what I get is | Next Month → February ← Previous Month | which makes no sense to me at all, and I can’t figure out why it does that. It also repeats the month name right below that at the top of the calendar, which I can’t figure out how to remove (I either want it removed from the nav or removed from the calendar… it looks bad to have it twice). I also can’t figure out how to format the date to say, for example, 7:30pm I can get it to say 07:30:00 and that’s about as close as I can get. I don’t want the leading zero, I need to remove the seconds, and I need to add am/pm. How do I do that?
—
WebKat
Offline
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
OpalCat,
Hang in there.
Here’s some help on the date formatting:
<txp:zem_event_date format=”%I %p” />
The formating is based on strftime()
http://us3.php.net/strftime
—
Tom
Offline
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Zanza wrote:
Is there a way to let user subscribe to events? Maybe a (modified?) comment function?
It would be great to add this capability for at least two scenarios:
- Live events like conferences or courses, where the room seats are limited and you want to be sure do assign seats to registered users first.
- If events are used for exams, students may subscribe to exam by commenting.
Why will you need a (modified) comment function?
You can do it with the current comment function. Just simple do not display the user comment on the front end and voilà!
You have a “subscribe to event” form in the shape of a comment form.
The problem may be the preview…
If you want something more “difficult”, you can try with the Postmaster plug-in for subscribing users in a separate database table. You can create one list for each event.
Also, then, you can use the Postmaster plug-in to easily contact your event subscribers so you can notify them about the event details.
Offline
#98 2007-02-08 19:11:01
- WebKat
- Member

- Registered: 2007-01-16
- Posts: 301
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
I just went to add a new event and I am getting this error (which didn’t appear when I entered previous events) Notice: Unable to save event in /home/vhosts/tucsonirishcommunity/www/textpattern/lib/txplib_misc.php(512) : eval()'d code on line 1549
—
WebKat
Offline
#99 2007-02-08 19:11:39
- WebKat
- Member

- Registered: 2007-01-16
- Posts: 301
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
renobird: thanks for the tip!
—
WebKat
Offline
#100 2007-02-08 23:20:43
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
maniqui wrote:
Zanza wrote:
Is there a way to let user subscribe to events? Maybe a (modified?) comment function?
Why will you need a (modified) comment function? You can do it with the current comment function. Just simple do not display the user comment on the front end and voilà! You have a “subscribe to event” form in the shape of a comment form.
The problem may be the preview…
Yes, the problem may be the preview. And the fact that you can’t have the normal comments for the event PLUS a subscribing form. More than this, it seems like a natural “extension” of an event plugin to have a subscribing capability.
If you want something more “difficult”, you can try with the Postmaster plug-in for subscribing users in a separate database table. You can create one list for each event.
This may be a solution. But the Postmaster has the problem of no customizing mails sent to the users (problem due to ZCR plugin on which it relies). Other than this, if I don’t need to send email, I have to create lists for nothing… a bit clumsy, but viable.
The subscribing issue could be useful in a third scenario, that has nothing to do with zem_event (reason why I also thought of a separate plugin): for online petitions.
But petitions, they could actually be addressed by Postmaster, I suppose.
Need to do some try about it, anyway, to explore existing possibilities. No point to have a plugin for things that can already be accomplished… Thank for your ideas!
Z-
Offline
#101 2007-02-08 23:44:08
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Opalcat – re: having month appear twice (from calendar and calendar nav tags) … have a look at the generated source code from your web page – use CSS to hide the one you want hidden (display:none) … you can do quite a bit of customisation of the look of it with CSS
Last edited by nardo (2007-02-09 23:35:43)
Offline
#102 2007-02-08 23:48:24
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Offline
#103 2007-02-10 00:50:15
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
this is a powerful plugin for any content that is restricted by date – and you could have several content types that benefit from this functionality on a site – e.g. events; employment ads; meeting dates with associated agenda & minutes files; public notices that appear at certain intervals or for a limited time
at the moment zem_event_list ouputs ALL ‘event articles’
feature suggestion – ability to filter ‘event articles’ by section … e.g. <txp:zem_event_list section="employment" form="zem_employment_display" /> or <txp:zem_event_list this_section=1 form="zem_employment_display" />
—
right now you can call ‘event articles’ within a section from the txp:article tag which filters for the current section -
in /employment page template: <txp:article form="zem_employment_article">
form zem_employment_article contains <txp:zem_article_event> general zem_event tags to format the employment ad </txp:zem_article_event>
just employment ads are output
—
another workaround might be to give all employment ads an event category of employment then use <txp:zem_event_list category="employment" form="zem_employment_display" />
but this adds employment to the category list on the ‘events’ page
—
so far so good, but
- on the site’s ‘events’ section, the calendar shows employment ads alongside events – maybe calendar tags could also take the section attribute
- search results also show ‘article events’ from all sections (employment ads alongside events) but if
zem_event_listhad a section attribute, that’d allow you to show only ‘employment event articles’ when providing a search tool for that area
Offline
#104 2007-02-10 02:42:27
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
hi nardo.
I haven’t tested this plug-in yet, and I’m not sure if what I’m going to say is right or not:
maybe you can do some magic with txp_if_article_section like:
<txp:if_article_section>
here the tags
<txp:else />
</txp:if_article_section>
Last edited by maniqui (2007-02-10 03:39:09)
Offline
#105 2007-02-10 03:26:22
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
that’s a good idea – had some problems with that tag in a form called from zem_event_list, have to investigate further … but realised that for search results, could just use an article tag + searchall=0 to ensure listed events are from the current section
drawback with using the txp:article tag… doesn’t sort the events as well as zem_event_list – sorting on ‘posted’ rather than event time
Offline