Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#253 2007-03-23 03:53:49

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

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

An initial auto_delete capable plugin patch is applied here auto_delete , this is a php script (not compiled) and it should be used with care. This plugin is untested as yet and does delete the contents of the database by design, and without a prompt. Any testing and feedback would be appreciated but I wouldn’t use this on a production site until it is tested.

Offline

#254 2007-03-23 10:12:09

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

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

rsilletti,
well done.

All,
I’ve written with Alex and he suggests the bugs should be fixed by the weekend’s end. (Good news eh?)

:)

Matthew


Offline

#255 2007-03-23 19:09:57

two7s_clash
Member
From: VA
Registered: 2007-02-13
Posts: 15

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

matt-
yes, would be nice to show mini-cals for other months than the current. Most likely the previous and forthcoming. Shoot, so I guess this is impossible currently? Should I even play around any more on this? I’ve got tons of events and was hoping to provide a quick glance for coming months in said format…

Thx.


Existing is plagiarism.

Offline

#256 2007-03-25 22:35:40

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

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

Great news on the bug fixes Matthew.

I’ve set-up zem_event on a pro bona site we work with, and apart from the publish and event date conflict I put up on the issues page, it’s working very well. I’ve entered about 50 events and compared to the custom_field workaround I used last year it’s so much easier (and quicker).

One problem I am having is with the sort option, my code is
<table>
<txp:zem_event_list limit="999" form="cltc_event_table" label="Forthcoming Fixtures and Events" labeltag="h3" wraptag="" sort="zem_event_date.event_categories asc,Category1 asc,zem_event_date.event_date asc,zem_event_date.event_time asc" />
</table>

It works fine until I entered the zem_event_date.event_categories asc line, then everything goes blank! I guessed the code from what I could find in Textbook – i.e. the line zem_event_date.event_***** appears to end with the attribute (time, date, etc).

Any advice welcomed.

edit: zem_event_date.event_category asc not working either. Will keep experimenting…

Last edited by decoderltd (2007-03-26 09:36:16)

Offline

#257 2007-03-25 22:38:36

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

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

two7s,
play play play… we could all use your experience on the plugin

decoderltd,
I don’t know how to help you there, haven’t messed with sorting. Try some other avenues and let me know what you come up with.


Offline

#258 2007-03-26 07:23:40

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

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

decoderltd wrote:


sort="zem_event_date.event_categories asc,Category1 asc,zem_event_date.event_date asc,zem_event_date.event_time asc" />

This seems weird to me… Not textpattern-like and it is not what I guess from the Textbook

Did you test sort="asc" instead ?

Edit : no sort="asc" doesn’t work neither.

Textbook wrote:

sort: This attribute’s value will be used as a SQL order by clause and can thus contain every table row of the textpattern database table followed by SQL sort order indications asc and desc respectively.

I think we need SQL skills here.

Last edited by Niconemo (2007-03-26 07:31:23)


Nico

Offline

#259 2007-03-27 01:35:22

two7s_clash
Member
From: VA
Registered: 2007-02-13
Posts: 15

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

Hi -

I created an new function, zem_event_mini_calendar_offset, which allows you to ouput a calendar offset by x fro the current months. I also edited zem_event_calendar_nav so the names of the months are linked to pages where only events from that month are displayed ( yes, this is the “normal” layout, except for when the user hits the calendar landing page – there all the upcoming events are listed. )

So, right now I’ve got a mini cal flanked by the previous and coming month, which change as you use the mini cal nav. All very well and good, but the events I’ve listed don’t seem to be appearing on my mini cals, the one exception being an event in April, but then it only appears when April is the current month, not the the previous or coming… http://test.strategicglobalsolutions.com/calendar/?date=2007-04
(Don’t laugh, I love you.)

Disregarding the extra stuff I’ve added, is there at least a way to make sure my events appear on the primary, kid-tested mother-approved mini cal? Any one gone down this alley?


Existing is plagiarism.

Offline

#260 2007-03-28 05:09:42

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

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

Just fyi: in most places that accept a date, you can use relative dates like <txp:zem_event_mini_calendar date="next month" /> or <txp:zem_event_mini_calendar date="+6 weeks" />. General syntax info here.


Alex

Offline

#261 2007-03-28 11:16:16

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

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

Alex has just sent me the updated plugin with a bunch of bug fixes. I’ll be updating the first post, google code, and txp.squaredeye.com later today. Would someone be willing to add the relative date notes that Alex made above this post to the WIKI. Thanks.


Offline

#262 2007-03-30 03:03:06

two7s_clash
Member
From: VA
Registered: 2007-02-13
Posts: 15

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

Except both my use of:
<txp:zem_event_mini_calendar class=“offset” class_event=“full” class_empty=“empty” date=“next month” />
and
<txp:zem_event_mini_calendar class=“offset” class_event=“full” class_empty=“empty” date=“last month” />

both output a March mini-cal display….

Last edited by two7s_clash (2007-03-30 03:27:07)


Existing is plagiarism.

Offline

#263 2007-03-30 07:50:48

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

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

Matthew,

Have you updated the download file with the bug fixes?
The version numbers haven’t changed and I don’t see any difference in the file sizes…

Cheers


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#264 2007-03-30 14:11:53

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

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

Matthew…Looking forward to the update. : )

Anyone out there interesting in working on a particluar feature request ?
I’m in desperate need of the having the location drop down changed to a text field.

My client needs to be able to enter a variety of event locations…and they are not too keen on updating the form for each location.
I’m not sure how difficult this is, but I would be super stoked if somone would take a look.

Maybe someone has already made this change and would be kind enough to share?

Thanks

Tom

Offline

Board footer

Powered by FluxBB