Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#466 2007-10-18 14:30:34

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

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

Thanks lreynolds, it works perfectly now. That leading 0 was really starting to annoy me!

Offline

#467 2007-10-22 09:12:10

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

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

Hi all,

Did anyone have any ideas about my zem_event sort problem? I’ve tried many permutations, but it just won’t work.

Would really appreciate any help.

Offline

#468 2007-11-25 18:31:43

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,510
Website GitHub

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

I know I’m a bit late to the party with this but I’ve only just started using this awesome plugin in anger.

Regarding events with day numbers less than 10 not showing up in the mini calendar, both billberry and cdtavijit have mentioned or supplied fixes. I concur it’s to do with the missing leading ‘0’, but neither of those solutions seem to have made it into the version 0.3.5 that I downloaded (perhaps I used an old link?)

Either way, both these fixes make changes to the display of the calendar itself, thus showing the first 9 days of the month as 01, 02, 03… instead of 1, 2, 3… For some, this may be undesirable. In this case, would using PHP’s str_pad() be better, like this:

	$daynum = ($w*7) + $d;
	$dayofmonth = $daynum - $firstday;
	if (checkdate($m, $dayofmonth, $y)) {
		// this is a real day
		if (isset($days["$y-$m-".str_pad($dayofmonth, 2, "0", STR_PAD_LEFT)])) {
...

or does it impact other functionality in ways I haven’t yet discovered? It displays working hyperlinks on the mini-calendar for all dates on my test site, while retaining the single-digit days on the actual calendar itself.

Anyone with more experience with the plugin care to comment on this? Perhaps set me straight if I’ve made an oversight here.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#469 2007-11-27 19:21:54

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

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

Hello All,

It’s been a while since I used this plug-in.
I’m a bit rusty and this thread is huge.

Can you list events by category from the url?
example: http://www.mysite.com/zem_event/?c=general-events

Here’s the tag as I have it.
<txp:zem_event_list form="calendar_list" section="calendar" date_from="-3 months" limit="100" sort="zem_event_date.event_date asc"/>

I thought <zem_event_list> would respond to ?c= and just list events assigned to that cat.
I’m having trouble getting it work.

)


Tom

Offline

#470 2007-11-29 23:13:14

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

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

can confirm that this does work in the wild
http://domain.tld/section/?c=football

Offline

#471 2007-12-03 14:43:05

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

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

Thanks moslib.

Not sure why it won’t work.
I’m going to check .htaccess to see if there’s a stray re-write that’s messing up the works.

Cheers.

Tom

UPDATE

There were some mod_rewrite rules fouling up the works.
I didn’t need them anymore, and once I removed them everything starting working as expected.
That’ll learn ya. “Don’t mess with the default TXP stuff, and things will work properly.”

Last edited by renobird (2007-12-06 16:40:51)

Offline

#472 2008-01-04 22:42:37

Locutionist
Member
From: The mountains, central PA, USA
Registered: 2005-08-15
Posts: 57
Website

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

Hi folks, how can I get rid of cellpadding and cellspacing on the large calendar grid table?

Thanks,
—paula

Offline

#473 2008-01-09 05:27:16

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

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

I have events that run for about 6 weeks.

Is there a way with this plugin to show only events that are ‘current’ – i.e. ‘today’ falls within their date range … ?

And conversely show only events that are ‘future’ – i.e. zem_event_list as per normal, but removing any events that are ‘current’ … ?

Offline

#474 2008-01-11 18:49:51

vickilh
Member
Registered: 2007-10-30
Posts: 96

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

Hello,

I don’t know if I’m missing something here since other folks appear to be installing the plugins without any problem.

The instructions say to install “zem_paginate” as a Txp plugin. But when I copy/paste the zem_paginate.php code into the little box on the plugin page, and then click “Upload”, nothing happens. (I.e., it isn’t installed.)

What am I doing wrong? Thanks!! Vicki

Offline

#475 2008-01-11 19:25:12

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

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

Make sure you are trying to install the plugin text rather than the PHP file. It’s easy to find the PHP file, the paginate plugin is more difficult – you have to cruise around a little to find it.

Try this, zem_paginate

Last edited by rsilletti (2008-01-11 19:28:06)

Offline

#476 2008-01-11 19:52:16

vickilh
Member
Registered: 2007-10-30
Posts: 96

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

That worked just fine — thanks!

I had looked around but didn’t see it — where is it? Why isn’t it easier to find?

Thanks again!! Vicki

Offline

#477 2008-01-11 19:57:49

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

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

It’s in the first release, and has never required updating. Looks like it kind of got left trailing a little.

Offline

#478 2008-01-11 20:37:42

vickilh
Member
Registered: 2007-10-30
Posts: 96

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

Hi again!

I’m trying to set up a ‘large’ calendar. It uses a form called “zem_event_search”, but I don’t have this form. Was it supposed to be created (but wasn’t) ?

Thanks! Vicki

Offline

#479 2008-01-11 21:19:01

benbruce
Plugin Author
Registered: 2006-01-13
Posts: 328
Website

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

@moslib,

Could msv_if_custom_article_date work? Seems like if events are articles you might be able to use it. I’m using it successfully to achieve a similar thing (but using regular TXP articles, not events).

Offline

#480 2008-01-13 22:48:13

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

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

interesting suggestion, thank you benbruce

not sure if the fields where zem_event stores its “event_date” and “finish_date” would be available to check via the custom field attribute – but maybe that functionality could be added to the zem_event and/or msv_if_custom_article_date plugin

Offline

Board footer

Powered by FluxBB