Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#286 2007-04-03 18:24:03
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
As far as I know, events are directly tied to articles. They are associated. Alex might be able to explain this better, but I believe it would be strange to have it in its own tab in one sense, since it relies on the article fields.
Perhaps there could exist a checkbox:
[ ] associate an event with this article?
if checked, the event fields open.
also, if checked an association (label) occurs on the articles tab where one can sort by events (whether there is one or not).
That would be my thought. Also, the location field will not be hardcoded for long. It was not hardcoded for the majority of the development and then in the last few releases it became so, which makes me think that it was another clients desire for that to happen? (assuming other Team Textpattern clients) were using the calendar plugin?
M
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#287 2007-04-03 20:19:03
- rsilletti
- Moderator

- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Hakjoon – The zem_event_calendar table contains an event id “id” and an article “article_id” The event id ties zem_event_date to zem_event_calendar and article_id ties textpattern to zem_event_calendar. The categories are stored in txp_category with an category type of event. If I could make clear sense of zem_event_category’s purpose in life, I’d feel comfortable in saying that moving the source of category entries shouldn’t clash with anything; but I haven’t been able to make sense of it so far?
Offline
#288 2007-04-04 00:03:59
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
If I could make clear sense of zem_event_category’s purpose in life
It’s a many-to-many relationship table that maps calendar events to categories.
Events are currently tied 1:1 with articles. It was done that way, and the event UI placed on the article write page, to keep the development costs down. The table design is intended to allow other mappings in future, but the current display tags assume a 1:1 event:article mapping.
The category and location code was funded by another client, and developed to their spec.
Last edited by zem (2007-04-04 00:07:56)
Alex
Offline
#289 2007-04-04 02:53:18
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Rick,
The handling of zem_event categories would have to be different then the default categories, because as zem pointed out it’s a many to many relationship unlike the article -> category relationship.
I was thinking it would just make the most sense to all categories together. Plus the proper handling is already there so it’s just a matter of making the events and steps match up.
Shoving is the answer – pusher robot
Offline
#290 2007-04-04 03:00:05
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Google code repository updated with latest 0.32 release from zem.
Shoving is the answer – pusher robot
Offline
#291 2007-04-04 13:59:06
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Version 0.33 is available
This version should show the changes with the Location field. It is a matter of deleting the zem_event_location form (or renaming it zem_event_location_off as I did) in order for the field to become a text field. This way it is now flexible and can be formatted either way. Good idea Alex :)
Also, Alex, thanks for the explanation above.d
Lastly. Currently development funds are zeroed. At this point, if anyone is interested in new functionality, there are two routes to go:
- You can personally approach Team Textpattern about funding development for new features. Upon development of those features, you can choose to share them with the publich version of the plugin as a gift, ransom, or any other model you believe is appropriate.
- You can find developers in the forum or elsewhere that might be interested in working on this plugin for fun, funds, or fungus. Again, feel free to share the outcome with the community in any fashion you see fit.
Thanks all.
Matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#292 2007-04-04 14:04:37
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Sweeeet!
—
Tom
Offline
#293 2007-04-04 16:31:06
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
I know this should be easy to figure out, but I can’t seem to make it happen.
I’m a bit confused on how to make the minical nav work.
EXAMPLE
Say I have some events on April 7th.
The URL generated in the minical is: http://www.mysite.com/?date=2007-04-07
How do I pass that date to zem_event_list so it knows to show only events on that day?
Using mod_rewrite for clean urls…not sure if that’s relevant.
I’m sure this is trivial, but I just can’t seem to see it.
—
Tom
Offline
#294 2007-04-04 21:37:35
- johnnie
- Member
- Registered: 2007-03-10
- Posts: 58
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
First of all: what a beautiful plugin. Many thanks to the programmers and contributors.
Since I am using the <txp:zem_event_calendar_nav /> to display the current month, how do I hide the month that is displayed on top by <txp:zem_event_calendar /> ? And how do I hide the ‘event:’ prefix that is inserted before the event title in the calendar?
Last edited by johnnie (2007-04-04 21:40:47)
Offline
#295 2007-04-05 09:39:09
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Johnnie,
I believe the Month display you mean is a table <caption>, so perhaps it can be hidden using some css.
You can change the calendar entries (and remove the ‘event:’ line) by amending the zem_event_cal_entry form.
Last edited by decoderltd (2007-04-05 09:48:42)
Offline
#296 2007-04-05 23:30:57
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Regarding ‘?date=…’ URLs: the event list and calendar tags should be sensitive to that URL parameter, unless the tag attributes specify a particular date or date range.
Alex
Offline
#297 2007-04-06 00:26:02
- johnnie
- Member
- Registered: 2007-03-10
- Posts: 58
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
decoderltd wrote:
Johnnie,
I believe the Month display you mean is a table<caption>, so perhaps it can be hidden using some css.
You can change the calendar entries (and remove the ‘event:’ line) by amending thezem_event_cal_entryform.
I have considered hiding it using display: none (it is in fact the workaround I’m using right now), but I am wary of tripping a hidden-text (spam) alarm on a pedantic search engine bot. I hereby suggest an attribute in which one can disable (or change) the caption, so one doesn’t have to hack his / her way in CSS to hide double month names when using a nav :)
And thanks about the other point: I wasn’t even aware of the form’s existence ;)
Last edited by johnnie (2007-04-06 00:28:09)
Offline
#298 2007-04-06 01:00:53
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Zem Wrote
Regarding ‘?date=…’ URLs: the event list and calendar tags should be sensitive to that URL parameter, unless the tag attributes specify a particular date or date range.
Thanks Zem!
I suspected as much, but can’t get it to work. I may have a rewrite scheme in my .htaccess that’s messing it up.
I’ll try it in a test page and see if I can get a very basic setup working.
—
Tom
Offline
#299 2007-04-06 03:45:21
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
johnnie wrote:
I have considered hiding it using display: none (it is in fact the workaround I’m using right now), but I am wary of tripping a hidden-text (spam) alarm on a pedantic search engine bot.
For hiding months’ names? I couldn’t care less. People hide whole site menus with display:none (Suckerfish for example), so any particular search engine banning sites for hiding such unmonetizable texts like “April” or “March” will be out of business soon, IMHO.
Offline
#300 2007-04-06 14:38:22
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Are the mini-cal problems fixed? Wondering, because in my case I have the same problems as before.
The prev/next arrows are fine, but the events don’t show up in the mini-cal.
I have this in the page:
<h2>Mini Calendar</h2>
<txp:zem_event_calendar_nav class=“minical_nav” />
<txp:zem_event_mini_calendar class=“minical” class_event=“full” class_empty=“empty” section=“mysection” />
Outputs the mini-cal fine, just no events. Tried deleting articles/events, then adding new ones, no difference.
Style sheet:
/*=MINICALENDAR
———————————————-*/
.minical {
clear: both;
width: 100%;}
.minical td {
padding: 1px 3px 4px;
text-align: center;
}
.minical td a {font-weight: bold;}
.minical .full{
background: #EFEFEF;
border: 1px solid #DDD}
.minical caption {
font-size: 18px;
}
.minical_nav {text-align: center;}
.minical_nav a.next,
.minical_nav h3,
.minical_nav a.prev{
font-size: 25px;
display: inline;
}
#sidebar .minical_nav h3 {
font-size: 15px;
margin: 0;}
#sidebar .minical_nav a.next,
#sidebar .minical_nav a.prev {font-size: 20px}
And finally, I also don’t see the jquery datepicker in the article write screen. As in, I can’t see the small icon to click. If I mouseover, I can click on it, and it opens fine, but the icon or image representing the datepicker does not display in either Safari or FF.
Are we supposed to link to the JS files in the head of the page?
Flushed cache too.
??!
Offline