Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#265 2007-03-30 23:20:34

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

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

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.

That’s one of the potential features I discussed with Matthew for the next release. It’s still a possibility, as there’s some time remaining in the budget. You might like to discuss it with Matthew. Alternatively, you can contact me directly for custom development work.


Alex

Offline

#266 2007-03-31 08:30:57

sanmarco
Member
From: austria
Registered: 2007-03-22
Posts: 31
Website

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

hi@

i have following problem when i try to save an event::

Notice: Unable to save event in /mnt/jd1/05/866/00000012/htdocs/blog/textpattern/lib/txplib_misc.php(512) : eval()’d code on line 1549

may somebody have some idea how to solve it?

thanks a lot
sanmarco

Offline

#267 2007-03-31 11:47:59

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

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

Sorry, yall, I was holding out for Patrick to throw it up on Google Code, but he’s as busy as anybody I know, and so I’ll put up the new plugin at txp.squaredeye.com for now. Sorry for the delay, dealing with a 7wk old’s sleep schedule will knock you out like no one’s business.

The file is updated (Zem_Event vs. .31 is now available)

The file will soom be available in PHP and Compiled form on the Google Code page.
:)

M

EDIT Unless I’m mistaken, the next/prev still display incorrectly, that was supposed have been dealt with along with the following.

  • Minor whitespace changes and fixes
  • Fix mini_cal section attribute
  • Fix phantom event preload bug
  • Add fieldset toggle
  • Display an error message when event tags are used in the wrong context
  • Fix a possible cause of duplicate column errors during installation
  • zem_event_calendar_nav improvements
    • Switch next/prev order, add ‘reverse’ attribute (0 or 1)
    • Add ‘step’ attribute (‘month’ or ‘year’)
    • Add ‘label’ attribute
    • Support strftime() parameters in ‘next’, ‘prev’, ‘label’ attributes
    • More sensible date attribute behaviour, e.g. [txp:zem_event_calendar_nav date=“next month” /]

I’m following up with Alex :)

Last edited by ma_smith (2007-03-31 12:02:39)


Offline

#268 2007-03-31 12:40:21

jmk
Member
Registered: 2006-09-04
Posts: 49

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

@sanmarco:

that happend to me too. did you set a category?

Last edited by jmk (2007-03-31 12:41:14)

Offline

#269 2007-03-31 12:49:34

jmk
Member
Registered: 2006-09-04
Posts: 49

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

i was just reading some old posts, and wanted to add a wish to the wish list:

add custom repetition dates.

that would bring some structure in my article page. i could then have a list of my different concert descriptions, and set _in there _the dates of them happening. because right now, all the concerts are “flooding” my article page – rather annoying!

ps: and thanks very much for the update (also for including my idea :) )

Last edited by jmk (2007-03-31 12:51:48)

Offline

#270 2007-03-31 14:09:58

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

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

Event Creation error

Using the updated version – when saving an event I receive the following message:

“Warning: Invalid argument supplied for foreach() in /mydomain/textpattern/lib/txplib_misc.php(512) : eval()’d code on line 1853”

I think it is different that the one decoderltd reported – I am using the time format Matt suggested to decoderltd, and the line referenced is different than decoderltd’s.

fwiw

Mike

Offline

Board footer

Powered by FluxBB