Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#436 2007-08-23 01:34:46

moslib
Member
Registered: 2005-08-11
Posts: 39

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

also, with Txp 4.0.5, what’s the current thinking about the jquery requirement? is it safe to point to the jquery bundled with Textpattern (and if so – how do you do it?) … or is it acceptable to have two jquery files in the install?

Offline

#437 2007-08-23 02:09:40

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

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

zem_event
zem_paginate
Should give you the most current plugin code.

Offline

#438 2007-08-23 04:53:17

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,426
Website GitHub Mastodon

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

moslib wrote:

… or is it acceptable to have two jquery files in the install?

It is perfectly acceptable. jQuery protects itself from being include more than once, so the first instance of the script will be used. Which one of those is the “first” instance depends on the source code order in the backend’s HTML.

Offline

#439 2007-08-28 12:23:28

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

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

Hi,

I would like to link from Location to Map URL.
But if I use this <txp:zem_event_location_url><txp:zem_event_location /></txp:zem_event_location_url> than I can see Location only if the Map URL is set.

Is there any way how to show Location as plain text if there is no Map URL and show Location as link if the Map URL is set?

Thanks for help
Svacinka

Offline

#440 2007-08-28 23:31:59

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

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

you could use the chh_if_data plugin here, I think

Offline

#441 2007-08-29 06:39:18

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

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

Thank you, chh_if_data plugin looks very useful.

Offline

#442 2007-08-29 09:09:02

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

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

Hi Nardo,

I’ve tried the chh_if_data plugin with zem_event, but it doesn’t seem to work – is it restricted to the core TXP tags?

Offline

#443 2007-08-29 23:02:03

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

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

oh yeah you are right decoderltd – seem to remember hitting this snag… something about the plugin doing two passes… maybe it would work on some of the simpler attributes of zem_event? svacinka – let us know if chh_if_data works for you in this instance!

Offline

#444 2007-08-30 10:17:40

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

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

I use chh_if_data with no problem even for zem_event:

<txp:chh_if_data> <txp:zem_event_location_url><txp:zem_event_location /></txp:zem_event_location_url>
<txp:else /> <txp:zem_event_location />
</txp:chh_if_data>

Offline

#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

Board footer

Powered by FluxBB