Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#337 2007-04-26 01:03:30

renobird
Member
From: Gainesville, Florida
Registered: 2005-03-02
Posts: 786
Website

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

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

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

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

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

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]

Patrick. Thx :)


Offline

#342 2007-05-01 10:24:45

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

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

Anton
Plugin Author
From: Alingsås, Sweden
Registered: 2004-11-16
Posts: 138
Website

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

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

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

#346 2007-05-02 23:43:35

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]

how can u see what changes have been made since the plugin went to google code?

thanks hakjoon

Last edited by nardo (2007-05-03 01:10:26)

Offline

#347 2007-05-03 00:40:54

hakjoon
Member
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]

Goggle code currently doesn’t have a timeline view, you have to use an SVN client and view the log.


Shoving is the answer – pusher robot

Offline

#348 2007-05-11 06:27:46

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]

Not to be pushy, but any updates on the bug I encountered in my previous posts? (if its a bug..) I think a client wants this calendar (next week), so if necessary I can pay something to get it working.

Offline

Board footer

Powered by FluxBB