Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#571 2008-05-03 14:37:45
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
hi again,
i cant figure out why the word event: is always included in the title by default?
thanks
kevin
its a bad hen that wont scratch itself.
photogallery
Offline
#572 2008-05-06 13:20:17
- alannie
- Member

- From: Minnesota, USA
- Registered: 2005-09-15
- Posts: 150
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
robhert wrote:
If you want to show only
non-eventsarticles what you have to do is:
Set your non-events in a section, example:non-events
So if you want to show only non-events, write this:
<txp:chh_article limit="10" listform="form-non-events" section="non-events" />
Thanks, Robhert. I was hoping I wouldn’t have to put them in different sections, but I guess that is the only way. Appreciate your response.
Offline
#573 2008-05-06 13:22:58
- alannie
- Member

- From: Minnesota, USA
- Registered: 2005-09-15
- Posts: 150
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
robhert wrote:
have you tried:
exclude="category name(s)"
If only it were that simple to exclude a category from a calendar or list. “exclude” isn’t a defined attribute for either function. Anyone know enough PHP to write it in?
Offline
#574 2008-05-15 21:56:59
- dave halliday
- Member
- Registered: 2008-02-29
- Posts: 16
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Textpattern newbie here.
I got zem_event_v0.3.5 .txt to upload just fine but when I go to upload Zem_paginate.php, I get a Badly formed or empty plugin code. error.
How can I get a nnnn.TXT version of this code?
Offline
#575 2008-05-15 22:10:44
- dave halliday
- Member
- Registered: 2008-02-29
- Posts: 16
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
dave halliday wrote:
Textpattern newbie here. I got zem_event_v0.3.5 .txt to upload just fine but when I go to upload Zem_paginate.php, I get a Badly formed or empty plugin code. error. How can I get a nnnn.TXT version of this code?
Never mind — got it.
Thanks!
Dave
Offline
#576 2008-05-25 16:28:40
- Aenna
- Member

- Registered: 2008-01-03
- Posts: 15
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
The Event happens every two days.
is it possible to show only the events from now to future with <txp:zem_article_event />?
<txp:zem_event_date format=”%d.%m.%y” /> plus date_from=“today” is not possible.
Offline
#577 2008-05-27 14:05:13
- mark.adams82
- Member
- Registered: 2008-05-27
- Posts: 14
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Hello,
I need to be able to display two calendars in the ‘minical’ style that appear on different pages and are modified by different categories.
From what I can see, it doesnt look as if jmc_events supports the output of a calendar, and zem_events cannot be used to modify more than one events calendar.
All I require is that days that appear on each of the calendars can be given an event class to change the appearance of any given day.
Any help would be greatly appreciated.
Offline
#578 2008-06-26 14:53:08
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Hi everyone,
As you’ll see here, I’m using zem_event to list a series of matches for a club site. I need to display the matches in event category blocks, but using the code below the categories are spliting due to not being able to use zem_event_category in the zem_event_list sort tag.
My current code is:
<table>
<txp:zem_event_list limit="999" form="cltc_event_table" section="calendar" label="Forthcoming Fixtures and Events" labeltag="h3" wraptag="" sort="Category1 asc,zem_event_date.event_date asc,zem_event_date.event_time asc" />
</table>
…and the form (cltc_event_table) is:
<txp:if_different>
<tr>
<th colspan="4" class="blank"></th>
</tr>
<tr>
<th colspan="4" class="primary"><txp:zem_event_categories link="0" /></th>
</tr>
<tr>
<th scope="col" abbr="Date">Date</th>
<th scope="col" abbr="Event">Event</th>
<th scope="col" abbr="Location">Location</th>
<th scope="col" abbr="Time">Time</th>
</tr>
</txp:if_different>
<txp:if_different>
<tr>
<txp:chh_if_data>
<th colspan="4" class="secondary"><txp:category1 title="1" /></th>
</txp:chh_if_data>
</tr>
</txp:if_different>
<txp:if_different>
<tr>
<td><txp:zem_event_date format="%a, %b %d, %Y" class="" wraptag="" />
<txp:zem_event_finish_date label="to" wraptag="ul" break="br" format="%a, %b %d, %y" /></td>
<td><txp:permlink><txp:zem_event_name /></txp:permlink></td>
<td><txp:zem_event_location /></td>
<td><txp:zem_event_time format="%l:%M%P" wraptag="" /></td>
</tr>
</txp:if_different>
I’m getting desperate to fix this problem so any help would really appreciated – even if it’s to say that it can’t be done!
Thanks.
Offline
#579 2008-07-29 12:06:03
- pepebe
- Member
- From: Mannheim, Germany
- Registered: 2005-02-07
- Posts: 74
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Regarding problems with zem_event_mini_calendar and the days between 1 and 9 i propose the following solution:
Within zem_event_v0.3.5 go to line 1009.
There you will find the following lines:
——
# display each cell in the calendar, 7 × 5 grid for ($w=0; $w<$numrows; $w++) { $day_row = array(); for ($d=1; $d<=7; $d++) { $daynum = ($w*7) + $d; $dayofmonth = $daynum – $firstday;
if (checkdate($m, $dayofmonth, $y)) { // this is a real day
if (isset($days[“$y-$m-$dayofmonth”])) {——
Ignore the first few lines and concentrate on the last one:
if (isset($days[“$y-$m-$dayofmonth”])) {Delete it and add the following two lines instead:
$dom=date(“d”,mktime(0,0,0,$m,$dayofmonth,$y));
if (isset($days[“$y-$m-$dom”])) {
This sems to work for me and I hope, that it will work for others too.
Regards,
pepebe
Last edited by pepebe (2008-07-29 19:24:50)
Offline
#580 2008-07-29 12:46:07
- pepebe
- Member
- From: Mannheim, Germany
- Registered: 2005-02-07
- Posts: 74
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
I just noticed that I failed to praise this project and it’s contributers. I’m sorry.
THIS IS A GREAT PIECE OF WORK!!!
In my opinion a proper calendar is one the most important features textpattern needs (apart from a css-based table free backend…) so please let’s continue to improve this precious piece of work.
After working for a few hours with zem_event, I noticed that there are some issues that as far as I can tell cannot be handled by zem_event but would come in handy for many people:
Cancelled Events:
How can I tell visitors that a certain recurring event will be cancelled on a specific day?
Enhanced Recurring Events:
Though there are options for events recurring every x days or weeks, there should be an option for events recurring on specific days. For example from monday to friday or Wedneday and Friday. This is a fairly common thing and should be adressed in the future.
Weekly Calendar:
Something like zem_event_calendar, but condensed to a specific week.
Talking about a Monthly or Weekly Calendar: Some handle to show or hide certain details for events would be nice. Something along the lines of
<txp:zem_event_calendar name=“1” time=“1” finish_time=“1” />
would be great.
As a standard name and time could be set to 1=show while all other event details could be set to 0=don’t show.
Greetings,
pepebe
P.S. I have noticed that requests and contributions in this thread have dwindled in last months. Are there still people out there interested in bringing this baby home?
Last edited by pepebe (2008-07-29 13:06:24)
Offline
#581 2008-07-29 13:11:59
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Hi Pepebe,
I use zem_event on a couple of sites; it is really the only option I have found for a calendar within Textpattern. I have tried using a google calendar instead, but it just doesn’t give enough flexibility in the displaying of events. It would be wonderful wonderful wonderful if a knowledgeable coder took responsibility for this plugin, and I for one am always willing to contribute cash for a useful plugin!
-Nora Brown
Offline
#582 2008-07-29 15:09:34
- pepebe
- Member
- From: Mannheim, Germany
- Registered: 2005-02-07
- Posts: 74
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Hi Nora,
I think it woult be a good idea to let us know what kind of flexibility you want to see with zem_event. Perhaps this will stir up some activity ;)
Talking about cash. In the past I failed to “sell” textpattern to several clients because of the lack of a proper event management. Right now I have two clients interested in such a feature. Because I have a very tight schedule, I have to turn away from txp toward other options. Sure there are workarrounds and tweaks, but this is not the way I work and most of all “Time is money”.
Txp is perhaps the most versatile software out there, but it it still fails to meet the most basic standards in some areas. As I mentioned before, the backend is a mess. Of course there are ways to address those issues, but again, hacks are out of question. I don’t have the time to rewrite a backend after a new release…
Do you have any php skill to contribute to our cause?
I for one am working on a weekly calendar right now. Anyone willing to help?
Greetings, pepebe
Last edited by pepebe (2008-07-29 15:55:56)
Offline
#583 2008-07-31 10:07:48
- infrarosso
- New Member
- Registered: 2007-10-15
- Posts: 6
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
hi all! i’m using zem_event since some time and i find it great. i swear hat whenever i’d start to earn something with my website i’ll donate something for sure. Bytheway: i’d like to do something like “today is (date) and there are (n) events and (m) are in the event category (category)
Is there any way to do something like that (even modifing source code, of course).
Every help is more then welcome.
Giovanni
Offline
#584 2008-08-01 05:03:26
- pepebe
- Member
- From: Mannheim, Germany
- Registered: 2005-02-07
- Posts: 74
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
hi infrarosso,
well, I don’t think we have to tweak the zem_event sourcecode for that kind of problem, yet on the other side it we could write a zem_event_counter function. Until then a few lines of php in your template should achieve what you need.
I don’t have the time to come up with a solution today, but if you can wait a few days, i’ll brew something up over the weekend.
Regards,
pepebe
Offline
#585 2008-08-01 07:39:01
- infrarosso
- New Member
- Registered: 2007-10-15
- Posts: 6
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
hi pepebe,
First of all thank you very much for the quick answer. Then of course i can wait and whenever i would be able to solve it earlyer i’ll post here for sure.
Thx again,
Giovanni
Offline