Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#445 2007-08-30 10:46:41

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

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

Hi Svacinka,

You’re absolutely right, it does work as you indicated – that’ll make my layouts much neater!

However, where I’d really like it to work is on the <txp:zem_event_list> tag. For example, I don’t want the header (label) to show if there are no events list…

<txp:chh_if_data>
<txp:zem_event_list limit="3" label="Next matches" category="Leagues" labeltag="h3" wraptag="ul" break="li" form="cltc_eventMatch_display" />
</txp:chh_if_data>

…in this case it continues to display the label even though there was no content.

Offline

#446 2007-08-30 13:26:06

svacinka
New Member
From: Prague, Czech Republic
Registered: 2007-08-28
Posts: 4
Website

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

Hi decoderltd ,

I think this could work as you wish:

<txp:chh_if_data>
<h3>Next matches</h3><txp:zem_event_list limit=“3” category=“Leagues” wraptag=“ul” break=“li” form=“cltc_eventMatch_display” />
</txp:chh_if_data>

Svacinka

Offline

#447 2007-08-30 16:38:41

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

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

Thanks Svacinka, that’s a good workaround. Everything’s behaving as it should now.

Offline

#448 2007-09-06 20:04:55

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

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

Hello All,

I just started trying to use the recurring event feature.

Anyone using this?

I seem to get some weird results.

When I list events like so:
<txp:zem_event_list form="calendar_list" date_from="now" date_to="+1 month" category="general-events" limit="500" sort="zem_event_date.event_date asc"/>

Recurring events don’t seem to respond to the sort order. Once the list hits the first day of a recurring event it lists all the remaining days for that event. So if I mix recurring and none recurring events everything gets all mixed up.

Any guidance would be much appreciated.

UPDATE

OK. So I poked around with PHPmyAdmin a bit…and it looks like the recurring events are still treated as one entry.
So, I’m assuming the issue is that when it get’s to a recurring event it lists all the dates for that event as if it were one entry, and then moves on to the next event.

That explains why recurring events don’t seem to respond to the sort order. I guess they do, but just for the first date of the event.

If this is truly how recurring events work…it would be pretty difficult to use them to build any real calendar solution.


Tom

Last edited by renobird (2007-09-06 21:10:33)

Offline

#449 2007-09-09 21:14:30

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

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

Where are my events stored and how can I edit them? Are they supposed to show up in the default articles tab and list?

Never Mind, I just wasn’t giving the article a title.

Next Question. Do I need to use an txp:article tag in my page to properly display an event, or can I just the examples at squared eye?

Last edited by mattmikulla (2007-09-09 21:47:31)


Art Rogue – Fine Art Photography

Offline

#450 2007-09-10 00:15:59

rsilletti
Moderator
From: Spokane WA
Registered: 2004-04-28
Posts: 707

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

Events, by design, are normally associated to an article. If you use event tags that are intended for use in an article form, you will need specific article data, and therefore an article tag – lists on the other hand are not dependent on this. It depends on the usage.
This may be a little out of date, but it may help make sense of things for you. zem_event tags

Last edited by rsilletti (2007-09-10 00:19:26)

Offline

#451 2007-09-11 09:07:31

kevinmcdougall
Member
Registered: 2007-02-08
Posts: 55

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

zem_event is a fantastic TXP plugin! Though I do find it a bit tricky at times.

I’m having trouble with the zem_event_list tag, I’m using it in two locations on the page, once as a sidebar showing a selection of events, and once in the main body to display a list of events within the currently browsed section/category.

Problem is that the pagination for one seems to overide the other. The sidebar is displaying a selection of 4 events without any pagination being displayed, while the main body displays a paginated list, but the pagination being displayed refers to the sidebar list and not the main body ie. I know there are only 2 events in a particular section and category, yet the pagination being displayed refers to all events as filtered by the criteria in the sidebar.

Anyone know how to overcome this?

Offline

#452 2007-09-13 18:37:51

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

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

I am trying to format zem_event_time and I have read over http://php.net/strftime but still can’t get what I want.

For example, I want my time to be: 8:30 not 08:30 . Better yet 8:30 PM.

Can you tell zem_event_time to just output what is placed in the start and finish times as text?


Art Rogue – Fine Art Photography

Offline

#453 2007-09-16 13:02:04

sisushka
Member
Registered: 2007-07-30
Posts: 14

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

Hello,

I hope you could help me.
I’m having problems with highlighting the upcoming events as well as the past ones in a minicalendar. I used the mini-calnedar example from demo site, I specified the class full in my css but it doesn’t change anything.

Have you any ideas what might have caused it?

Thanks in advance.

- S.

Offline

#454 2007-09-17 01:23:06

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

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

matt – what server you on?

on windows server I use format="%#I:%M%p" successfully to get 8:30pm

see this comment regarding the “#” flag:
http://au.php.net/manual/en/function.strftime.php#46315

Offline

#455 2007-09-17 02:16:38

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

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

I’m on Media Temple.


Art Rogue – Fine Art Photography

Offline

#456 2007-09-17 02:48:42

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

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

give that a go & report back!

Offline

Board footer

Powered by FluxBB