Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#313 2007-04-09 13:41:15
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
All,
The issue I was having, had something to do with keeping the <txp:zem_event_calendar />
tag inside <txp:if_category name="month"></txp:if_category>
tags. This had been working at one point and now is not. This was my way of creating a site_url/events/month url scheme when someone is viewing the month using the zem_event_calendar tags.
FWIW.
Matthew
Last edited by ma_smith (2007-04-14 22:28:00)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#314 2007-04-11 18:43:21
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Hello,
Where is the css file datePicker.css located? Need to make changes in to the location of the popup.
thanks
Last edited by makason (2007-04-11 18:48:44)
Offline
#315 2007-04-11 19:30:51
- rsilletti
- Moderator
- From: Spokane WA
- Registered: 2004-04-28
- Posts: 707
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
It’s coded within the plugin following this comment
/* Date picker specific styles follow */
zem_event_datepicker_css() is the function name.
Last edited by rsilletti (2007-04-11 19:35:19)
Offline
#316 2007-04-12 09:26:48
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
ma_smith wrote:
anyone else not seeing any events on the large calendar? Interesting bug :) Anyone else hosted with dreamhost?
Hi Matthew,
I had this problem (and I’m not on dreamhost), in my case it turned out to be connected to the publish
date – unless the the article was published with the Set timestamp to now…
selected. nothing was showing. If I went back to non-showing calendar events, clicked the option and resaved, the event appeared!
While I’m typing – has anyone figured how to use event categories in the sort field, I’ve tried a few variations, but nothing is working
The other thing I’d like to do is highlight “today” in the large and mini calendar, anyone know the css I need to use for this?
Thanks.
Last edited by decoderltd (2007-04-12 09:28:03)
Offline
#317 2007-04-14 21:36:30
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
OK I just turned off the MLP pack and it removes the problems with events not showing up on the mini-calendar.
Or at least I thought it did…..added a couple of events and two showed up in the mini-calendar and two did not….its a bit weird isn’t it. It seems to still be buggy.
Code I have in the page is the same I posted earlier….
Offline
#318 2007-04-14 22:46:05
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
unless the the article was published with the Set timestamp to now… selected. nothing was showing.
Are you setting the article timestamp in the future? Is your server’s clock accurate? Do you have problems with articles not showing?
Events won’t be displayed unless the articles they are attached to are visible: that is, Status is Live or Sticky, and the Posted timestamp is <= now().
If you have some events that display and some that don’t, what are the differences between them?
Alex
Offline
#319 2007-04-15 07:03:30
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
zem wrote:
If you have some events that display and some that don’t, what are the differences between them?
In my case, no difference. Article set to live, events fields filled in etc etc. I am working on localhost via MAMP.
I added a new event in June, and it displayes properly in the zem_event_list. All details are correct and the date displays properly. It just does not display in the mini calendar.
OK, now I changed TXP to debugging status, then visit the main events page – this is the message that is shown on screen:
tag_error <txp:zem_event_name wraptag=“p” /> -> Textpattern Notice: Context error: there is no thisevent here on line 513
textpattern/lib/txplib_misc.php(512) : eval()’d code:513 trigger_error()
textpattern/lib/txplib_misc.php(512) : eval()’d code:373 zem_event_thisevent()
textpattern/publish.php:958 zem_event_name()
processTags()
textpattern/publish.php:917 preg_replace_callback()
textpattern/publish/taghandlers.php:2285 parse()
textpattern/publish.php:958 if_article_list()
processTags()
textpattern/publish.php:917 preg_replace_callback()
textpattern/publish.php:453 parse()
tag_error <txp:zem_event_name wraptag=“p” /> -> Notice: Only variable references should be returned by reference on line 514
textpattern/lib/txplib_misc.php(512) : eval()’d code:373 zem_event_thisevent()
textpattern/publish.php:958 zem_event_name()
processTags()
textpattern/publish.php:917 preg_replace_callback()
textpattern/publish/taghandlers.php:2285 parse()
textpattern/publish.php:958 if_article_list()
processTags()
textpattern/publish.php:917 preg_replace_callback()
textpattern/publish.php:453 parse()
index.php:34 textpattern()
EDIT: All the error messages above disappeared after I discovered an unclosed zem_event tag in the page source, which I copied from Mathew’s test page. Just a head’s up for anyone else seeing the same problems.
Last edited by jstubbs (2007-04-15 14:30:26)
Offline
#320 2007-04-15 07:19:07
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
BTW, just added an article in April and it displays fine in the mini calendar. Seems if the article is this month it displays in the mini cal, if not this month, then it does not display. Still testing…
Offline
#321 2007-04-15 14:35:36
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
One small bug which may or may not have been noticed…..
Edit: Not a bug, my mistake. Another improperly closed tag.
Last edited by jstubbs (2007-04-15 14:44:19)
Offline
#322 2007-04-15 22:11:33
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
Seems if the article is this month it displays in the mini cal, if not this month, then it does not display.
What exactly are the article dates that do and don’t work?
Alex
Offline
#323 2007-04-16 06:30:56
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
I have 3 articles, and 3 events attached to articles, in the month of April on my testing MAMP installation.
The other 2 articles/events are in May and June respectively. I just placed them there to test.
Both of the articles/events display fine in an zem_event_list tag. When clicking on the event, all details display correctly. Its just in the mini-calendar the two events do not display. I added a third event in April just to test it out, and it worked fine.
Offline
#324 2007-04-16 09:35:07
Re: [plugin] [ORPHAN] zem_event [flexible integrated event management]
zem wrote:
bq. unless the the article was published with the Set timestamp to now… selected. nothing was showing.
1. Are you setting the article timestamp in the future? Is your server’s clock accurate? Do you have problems with articles not showing?
2. Events won’t be displayed unless the articles they are attached to are visible: that is, Status is Live or Sticky, and the Posted timestamp is <= now().
3. If you have some events that display and some that don’t, what are the differences between them?
Hi Zem,
1. Non-appearing articles were ‘published’ at a future date as I need to input a years worth of events but didn’t need them to display on the front page (news) until closer to the event date. Guess I need to use zem_event
tags rather than article tags?
2. Articles were set to “Live”
3. The difference was the “publish” date being set to future.
The other area that’s really throwing my event listing out is being able to sort by event_category
. I’ve tried zem_event_date.event_categories asc
and zem_event_date.event_category asc
, but neither work and nothing appears at all – what should I be using?
Thanks.
Offline