Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2007-02-05 04:21:42

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

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

Stu, ol chap. Its good to see you around here :)
The prev next thing is my fault. I told Alex to do it the other way without thinking.
Its an easy fix, you can reverse the order in the PHP see my example below:

I’ll submit this as a patch to Alex.

Also, everyone, note the additions of bugs, feature requests, and wikipages to the initial post. Feature requests are for pay, and should only be seen as otherwise if someone wishes to submit after initial approval/consideration patch (so that the patch work is not wasted :)

per the problem with the minical, I’ll see if I can get Alex to weigh in on what’s happening there.
Matthew

on line 928 or so

# next link
	$out[] = '<a rel="next" class="'.$nextclass.'" href="'.pagelinkurl(array(
		'date' => $next_m,
		's'    =>@$pretext['s'],
		'c'    =>@$pretext['c'],
		'q'    =>@$pretext['q'],
	)).'">'.$next.'</a>';

	# month name
	$out[] = doTag(strftime('%B', mktime(0,0,0,$m,1,$y)), $labeltag, $class);

	# prev link
	$out[] = '<a rel="prev" class="'.$prevclass.'" href="'.pagelinkurl(array(
		'date' => $prev_m,
		's'    =>@$pretext['s'],
		'c'    =>@$pretext['c'],
		'q'    =>@$pretext['q'],
	)).'">'.$prev.'</a>';

Offline

#77 2007-02-05 04:40:17

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

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

Also, note that I added a Download link for all my notes from support tickets and emails in a ROUGH format. These need editing, but its a place to start.

Last edited by ma_smith (2007-02-05 04:40:40)


Offline

#78 2007-02-05 14:08:30

jj23
New Member
Registered: 2007-01-02
Posts: 6

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

Hi,

I’ve got a quick question. Would be great if someone could help.

How do I change the location list in the plugin (add new or delete existing)?
I’ve tried to edit the plugin but with no result. Don’t know what I’m doing wrong.

Thanks in advance for help!

Offline

#79 2007-02-05 14:11:33

gdtroiano
Archived Plugin Author
From: Highland Park, NJ
Registered: 2005-01-29
Posts: 59
Website

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

The plugin should’ve automatically created a form called “zem_event_locations.” Edit the locations there.

Offline

#80 2007-02-05 14:55:24

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

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

Try changing the form “zem_event_locations”, what you are probably changing in the PHP code is the install script.

Offline

#81 2007-02-05 18:07:04

jj23
New Member
Registered: 2007-01-02
Posts: 6

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

Yes, I tried to edit the plugin’s code. That wasn’t too smart of me…

Anyway, many thanks!

Offline

#82 2007-02-05 21:42:57

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

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

I’m having a problem displaying future events.

On our current events section I’m using RSS_superarchive to generate a list of upcoming events.

When you click on a category at left, the upcoming events are displayed using the txp:article tag using the [time=“future”] attribute.

It works, but everyone wants a “calendar”

Thus, for starters, I’d like to use the large calendar to replace what I’m currently doing with the RSS_superarchive.

This is what I have so far just patching in tags and styles from txp.squaredeye…

However, our events will only show up on the large calendar in two instances.

1) When the event becomes past tense.
2) When the event is repeating.

My question… How do I display one-time future events?

Thanks!

Here are the tags I’m using on the large calendar (minus the divs surrounding them)…

<txp:zem_event_calendar_nav class=“minical_nav”/>
<txp:zem_event_calendar />
<txp:output_form form=“zem_event_search” />

Offline

#83 2007-02-06 02:53:20

WebKat
Member
Registered: 2007-01-16
Posts: 301

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

I had to (temporarily) disable the script on the site I’m testing it on because when I would go to the Write tab to enter a new article, it would have the event form down at the bottom (not a problem in and of itself) and that would be filled with all the data from the event I entered the day before. It was like the plugin assigned those as default values to all of the fields. It was too much trouble to have to go clear out every single field before posting a new article (we’re in the process of moving all of the content from the old site into the new Txp powered test site).

I would love to figure out why that was happening and fix it so that I can continue fiddling with it and hopefully get it displaying the way I want.



WebKat

Offline

#84 2007-02-06 03:12:32

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

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

OpalCat – earlier in this thread it’s suggested you clear all the fields & click publish … no article will be saved because there’s nothing in the article … now go back to the write tab (or reload the write screen) and you should be fine

this workaround did it for me

Offline

#85 2007-02-06 03:33:17

WebKat
Member
Registered: 2007-01-16
Posts: 301

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

Will I have to do that every time? Or is it a one-time fix?



WebKat

Offline

#86 2007-02-06 03:53:09

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

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

one-time hopefully

Offline

#87 2007-02-06 04:43:57

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

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

egyarnetsky wrote:

My question… How do I display one-time future events?

Egyarnetsky, to be honest, I have no idea :) Essentially, future events are what most users want from a calendar like this and that’s what I have going. What sorts of dates are you putting into your fields? Can you list the data for each field next to its label? What do you have set for the date posted for the article?


Offline

#88 2007-02-06 05:56:05

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

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

Matt – For the sake of giving folks just getting their first look at zem_event a starting point, this may
help Textbook zem_event

Any feedback for improvements would be welcome as well.

Offline

#89 2007-02-06 11:14:15

jj23
New Member
Registered: 2007-01-02
Posts: 6

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

ma_smith wrote:

Some of you have written about fields being autocompleted. Alex and I are both reluctant to believe that this is due to the plugin, though anything is possible, and would suggest you do several things as we try to track this down.

In my case the fields were autocompleted only after publishing an article without a title. Maybe this helps in finding the bug…

best,
jj

Offline

#90 2007-02-06 11:24:10

jj23
New Member
Registered: 2007-01-02
Posts: 6

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

I need help again.

Don’t know what’s wrong but my mini calendar does not display events that should appear in the first (sometimes second) week of every month (row of calendar table). Other past and comming events are being showed.

zem_event_list displays all of them.

Any help would be appreciated

best,
jj

Offline

Board footer

Powered by FluxBB