Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#331 2007-04-23 16:39:36
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Matthew,
I’d like to add a feature request for <zem_event_email />
Make it function more like <zem_event_url />
<txp:zem_event_email /> or
<txp:zem_event_email> Link Text </txp:zem_event_email>
If it’s used as a container then it would create a mailto: on the link text.
I’m currently using the tag like this:
<a href="mailto:<txp:zem_event_email />">Email</a>
However, if there’s no entry for contact email the Link Text still gets output, but with an empty mailto:
Maybe there’s another way around this already?
Thoughts?
—
Tom
Offline
#332 2007-04-24 01:32:31
- two7s_clash
- Member

- From: VA
- Registered: 2007-02-13
- Posts: 15
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Dreamhostees — for what it’s worth, I’m using the latest version of the plug-in and the “big” calendar shows all dates fine, but the mincal doesn’t show any at all, even the current month.
Let me know if anyone want to compare notes/settings/blasphemous incantations to the elder gods.
Ciao.
Existing is plagiarism.
Offline
#333 2007-04-24 13:54:16
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Would any developer be willing to take on Renobird’s request?
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#334 2007-04-24 14:03:32
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
I’ll take a stab at Renobird’s request. Should be fairly straight forward.
Shoving is the answer – pusher robot
Offline
#335 2007-04-24 14:25:26
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Patrick,
Thanks my man…you’ve saved more on more than one occasion. : )
Cheers!
—
Tom
Offline
#336 2007-04-25 23:50:11
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Tom,
I just checked version 0.34 into the Google Code repo. This has <zem_event_email /> modified how you wanted. A new archive was sent to Matthew so he can update txp.squaredeye but if you don’t want to wait you can pull it out of the repo (you’ll need a google login of some type. Gmail works).
Shoving is the answer – pusher robot
Offline
#337 2007-04-26 01:03:30
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Hakjoon,
Excellent! : )
I’ll download and test it as soon as I get to the office tomorrow.
Cheers Mate,
Tom
Offline
#338 2007-04-26 02:18:33
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Zem, is there any update on this bug (if it is a bug) – articles/events outside the current month displaying correctly in the event list but not the mini calendar?
I haven’t yet seen a report that I can confirm as a zem_event bug. Of the problems mentioned here so far:
- One was caused by the MLP
- One was caused by articles published in the future
- One was caused by a misunderstanding about how categories work
- One was caused by modifications to Textpattern itself
If there is a bug, or some behaviour that ought to be changed to make something easier, I don’t know what it is. I’ve tested everything thoroughly here and it works perfectly in every case I’ve tried.
If there are other ways of using the plugin that make things not work or behave differently, you’ll have to show me what they are: a minimal example, steps to reproduce.
Last edited by zem (2007-04-26 02:22:14)
Alex
Offline
#339 2007-04-26 03:19:06
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
0.34 is up on Textpattern Squared
Shoving is the answer – pusher robot
Offline
#340 2007-04-27 07:02:05
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
zem wrote:
I haven’t yet seen a report that I can confirm as a zem_event bug. Of the problems mentioned here so far:
- One was caused by the MLP
- One was caused by articles published in the future
- One was caused by a misunderstanding about how categories work
- One was caused by modifications to Textpattern itself
If there is a bug, or some behaviour that ought to be changed to make something easier, I don’t know what it is. I’ve tested everything thoroughly here and it works perfectly in every case I’ve tried.
If there are other ways of using the plugin that make things not work or behave differently, you’ll have to show me what they are: a minimal example, steps to reproduce.
Hi Zem, let me explain a bit more:
1. I use MAMP on OSX for testing this plugin
2. I disabled MLP, which was indeed causing problems before with zem_event
3. All articles and events attached to articles are set to Live status
4. I have one event I added from the 4th June to the 10th June. The event displays fine in the event list, just not in the mini-cal
5. If I change the above event to a recurring event, to repeat 6 days until the 10th June, the event DOES display in the mini-cal
6. With the event now a recurring event, I get 2 events listed in the event list, instead of one
7. All events are set to the Tournaments 2007 category, as noted in the page source below
Here is the page source:
<div id=“content”>
<txp:if_individual_article>
<h3><txp:title /></h3>
<ul>
<txp:zem_article_event>
<h4>Tournament: <txp:zem_event_name /></h4>
<txp:zem_event_date label=“Start Date” wraptag=“li” />
<txp:zem_event_finish_date label=“Finish Date” wraptag=“li”/>
<li><txp:zem_event_url>Event URL</txp:zem_event_url></li>
<li>Location: <txp:zem_event_location /></li>
<li><txp:zem_event_location_url>Map</txp:zem_event_location_url></li>
<li>Event contact: <txp:zem_event_email /></li>
</ul>
<txp:zem_event_description />
</txp:zem_article_event>
<txp:body />
</txp:if_individual_article>
<txp:if_article_list>
<txp:article limit=“1” status=“sticky” />
<h2>List of Tournaments 2007:</h2>
<txp:zem_event_list wraptag=“ul” break=“li” category=“tournaments-2007” />
</txp:if_article_list>
</div>
<div id=“subcontent”>
<h2>Tournaments 2007</h2>
<txp:zem_event_list wraptag=“p” break=“br” />
<txp:output_form form=“mini_calendar” />
<txp:output_form form=“searchbar” />
<txp:output_form form=“useful_links” />
</div>
The forms I use are basically the same as when the plugin was installed, I edited only a space or a BR here and there.
Hope this helps. Thanks Alex.
Last edited by jstubbs (2007-04-27 07:05:20)
Offline
#341 2007-04-27 11:14:04
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Patrick. Thx :)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#342 2007-05-01 10:24:45
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
zem wrote:
Non-appearing articles were ‘published’ at a future date as I need to input a years worth of events but didn’t need them to display on the front page (news) until closer to the event date. Guess I need to use zem_event tags rather than article tags?
You’ll probably discover other problems too. zem_event is designed to only display events that are attached to live, visible articles. Future articles aren’t usually visible, so zem_event doesn’t display those events.
I’d suggest a different approach to keeping those articles off the front page.
Sorting by category is difficult (and perhaps meaningless) because events can belong to multiple categories.
Thanks for your reply Alex, sorting by category is difficult – at the moment I have set-up a custom field which allows an event article to ignore the front page/news whilst showing as a calendar event. I just have to remember to change it back nearer the event time!
Last edited by decoderltd (2007-05-01 10:25:21)
Offline
#343 2007-05-01 11:39:19
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Is sorting by location easier? I have yet to understand how :( I’d love to have location-specific event listings..
Offline
#344 2007-05-01 23:47:04
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
jstubbs: what does your mini_cal tag look like?
Are there any errors or warnings in debug mode?
Alex
Offline
#345 2007-05-02 20:23:47
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Hi Zem, I have the following in a form called mini_calendar:
<h2>Calendar</h2>
<txp:zem_event_calendar_nav class=“minical_nav” />
<txp:zem_event_mini_calendar class=“minical” class_event=“full” class_empty=“empty” section=“tournaments” />
I have already set TXP to debugging mode – I don’t get any errors or notices when going through the mini-cal using the backwards and forwards arrows for changing the month.
However I do get an error when I click on the event link, which brings up the individual article:
Notice: Page template tournaments does not contain a txp:article tag in /Applications/MAMP/htdocs/latest/textpattern/publish.php on line 462
But if you look at my page source in my previous post, you will see that I am not calling the article in the <txp:if_individual_article> tag – only the events, so I am not sure if this is anything to do with the mini-cal itself.
Hope I was reasonably clear! Thanks for the help!
Offline