Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#325 2007-04-16 09:36:18

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

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

Hi Zem,

zem wrote:

1. Are you setting the article timestamp in the future? Is your server’s clock accurate? Do you have problems with articles not showing?

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?

2. Events won’t be displayed unless the articles they are attached to are visible: that is, Status is Live or Sticky, and the Posted timestamp is <= now().

Articles were set to “Live”

3. If you have some events that display and some that don’t, what are the differences between them?

The difference was the “publish” date being set to future.

The other area that’s really throwing my event listing out is being able to sort by event_category. I’ve tried zem_event_date.event_categories asc and zem_event_date.event_category asc, but neither work and nothing appears at all – what should I be using?

Thanks.

Last edited by decoderltd (2007-04-16 09:38:57)

Offline

#326 2007-04-16 12:39:53

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

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

decoderltd,
At this point the event_categories are used only as labels, and might be helpful for colorizing certain events based on those categories should you implement some CSS for them to do so. Isn’t that correct Alex?


Offline

#327 2007-04-19 16:09:33

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

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

Thanks for your reply Matthew, it would be handy to have categories available as a sort option.

On another question, do you know how I can highlight ‘today’ in the calendar? If possible I’d also like to apply a different class to past events/dates. Thanks.

Offline

#328 2007-04-20 01:20:01

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

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

decoderltd,
I don’t have the time at the moment to check, but I think thought that there was a class you could assign for “today”. If not, I would think it wouldn’t be hard to add to the plugin. Perhaps you could develop a set of formal requests as “addition requests” for the plugin and see if anyone bites?

Matthew


Offline

#329 2007-04-20 03:12:21

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

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

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.


Alex

Offline

#330 2007-04-23 07:45:07

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

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

jstubbs wrote:

Both of the articles/events display fine in an zem_event_list tag. When clicking on the event, all details display correctly. Its just in the mini-calendar the two events do not display. I added a third event in April just to test it out, and it worked fine.

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’d like to know if its a question of paying for a fix or whether its being worked on. Whatever it is, I’d like to know as a client wants this for a site and it would be good to have an idea what is the next step required to get it fixed.

Last edited by jstubbs (2007-04-23 07:46:17)

Offline

#331 2007-04-23 16:39:36

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

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

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

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

Would any developer be willing to take on Renobird’s request?


Offline

#334 2007-04-24 14:03:32

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

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

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

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

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

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

Board footer

Powered by FluxBB