Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#169 2007-02-23 17:26:51

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

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

renobird,
the features you’re looking for in date format would be pretty extensive, I imagine. The link is generated based on the page you are at (ie: management) so that it won’t redirect you outside that page when navigating.


Offline

#170 2007-02-23 17:35:21

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

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

Matthew,

The link is generated based on the page you are at (ie: management) so that it won’t redirect you outside that page when navigating.

That’s what I figured. (although management isn’t really a page. Right? It’s just the sub-directory of my install.)
I can always use .htaccess rewrite the URL without the management, but it will still be there in the actual <a> tag.

I’ll fool around and see what I can come up.

Thanks.

Tom

Offline

#171 2007-02-25 05:25:29

vicosdad
New Member
Registered: 2007-02-25
Posts: 1

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

I’m a textpattern newbie and I am getting this message at the bottom of my “write” screen :

Fatal error: Call to undefined function: script_js() in /home/content/x/x/x/user/html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 1692

I’ve searched everywhere but haven’t found a fix – thanks in advance!

Offline

#172 2007-02-25 06:14:34

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

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

A little more information might help, have you installed the zem_event plugin? if so, it may be you don’t have the javascript requirements in place. Files

Last edited by rsilletti (2007-02-25 06:15:51)

Offline

#173 2007-02-26 15:39:14

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

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

Request:

I’d really like to see the minical issue get fixed. We could use roughly $200+ for overall bug fixing so we can move on to more features for this plugin. If anyone is in a position to use this in a project for commercial purposes, please consider donating.

Also, if anyone is willing to take a look at how this plugin might interact with hcal or icalendar specs, I would be grateful. My plate is too full to dedicate much time to that aspect of the project at the moment.

Thanks. M


Offline

#174 2007-02-26 15:55:24

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

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

Matthew,

Contribution made. : )

For those of you who need it.
donate


Tom

Offline

#175 2007-02-26 21:03:41

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

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

renobird,
Thanks.


Offline

#176 2007-02-27 16:25:30

egyarnetsky
Member
From: Madison, Indiana
Registered: 2006-11-27
Posts: 13
Website

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

Greetings,

I have my calendar site mostly working. Thanks for y’all’s help.

One question… I’m having an interesting time with repeating events…

For example, here is an event where the body repeats over and over only with a different date.

Is there a graceful way of handling this?

My page template is using the simple < txp:zem_article_event / > tag.

The form I’m using is as such…

<h3><a href=”<txp:zem_event_permlink>” title=”<txp:zem_event_name />”> <txp:zem_event_name /></a></h3>

<div class=“post-date”><txp:zem_event_date format=”%b %e”/><br /><txp:zem_event_time format=”%I:%M %p” /></div>

<txp:if_article_list> <txp:body /> <div class=“smallcat”><txp:zem_event_categories /></div> </txp:if_article_list>

<txp:if_individual_article> <txp:body /> <div class=“smallcat”><a href=“http://www.mjcpl.org/?s=calendar”>View Monthly Events Calendar</a> / <txp:zem_event_categories link=“0”/></div> </txp:if_individual_article>

Any thoughts?

Offline

#177 2007-02-27 16:37:02

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

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

egyarnetsky,

Not sure if there is a graceful way yet. I’ve got the same issue myself.

from the first post on this thread
bq.“There is work being done to have the option of showing only single day events and the first day of any recurring event in the current span”

Sounds like work is being done to give greater control over recurring events.
maybe consider a small contribution to help things along?

Cheers,

Tom

Last edited by renobird (2007-02-27 16:38:34)

Offline

#178 2007-02-27 19:33:51

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

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

Amen. :)


Offline

#179 2007-02-28 01:13:59

michael_climactic
Member
Registered: 2007-01-19
Posts: 10

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

I’m trying to output event times in am/pm format without a leading zero on my hours (currently using %I:%M%p to get 05:00am). Does strftime() allow 1-12 hours without a leading zero on 1-9? I looked it up and one page said %#I should take off the leading zero, but it didn’t work. If strftime() can’t output am/pm without leading zeros, can anyone recommend another format to use and how to implement? Thanks so much.

Offline

#180 2007-02-28 16:19:36

vorm
New Member
Registered: 2007-02-28
Posts: 5

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

OpalCat wrote:

Had to add these lines:

# provide $m and $y 
      $prev = str_replace('$y',$y,$prev); 
      $prev = str_replace('$m',$m,$prev); 
      $next = str_replace('$y',$y,$next); 
      $next = str_replace('$m',$m,$next); 

And then the tag is like this:

<txp:zem_event_calendar_nav prev="&larr; <txp:php>echo strftime('%B', mktime(0,0,0,$m-1,1,$y));</txp:php> | " next=" | <txp:php>echo strftime('%B', mktime(0,0,0,$m+1,1,$y));</txp:php> &rarr;" labeltag="strong" />

(I had to pester a php-codin’ buddy of mine to help me with it.)

———-

This is great! Thanks for doing that, Opalcat! I was struggling with the same thing here.

One thing though, but important enough for me:
How do I get to add the year in there too?
In te duplicate situation, the one in the nav only mentions the month, while the caption underneath also mentions year. In the current one we only see month, which can become confusing.

Must admit I am not a PHP expert, i can only copy and paste bits i have been given here and there, sorry. :/

Oh, and another thing, regardless of what i try, the arrows (larr & rarr) only appear on a new line, they don’t want to sit next to the month….i am really pulling my hair out of my head here, as i cannot figure it out.

This is all about the minical btw, haven’t come to the large calendar yet.

Offline

Board footer

Powered by FluxBB