Textpattern Forum

You are not logged in. Register | Login | Help

#71 2007-02-03 10:45:58

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

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

on the individual article page of an event, would you use this in the page template?
<txp:zem_article_event form="zem_event_single" />

Txp puts up a Notice that there is no article tag

When adding <txp:article pgonly=1 /> the individual page template would output the article twice

Offline

#72 2007-02-03 10:57:34

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

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

notice that the ‘label’ attribute automatically adds a colon after the text given it – customisation of that would be good – or just omitted?

—-

to add to that, ‘labeltag’ would be good ;)

Last edited by nardo (2007-02-03 11:23:54)

Offline

#73 2007-02-03 11:26:27

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

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

in the form zem_event_locations – how are the pairs used? is one a ‘name’ and the other a ‘title’ … or is it to allow for shorter ‘names’ on the write tab pulldown?

Offline

#74 2007-02-03 17:42:57

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

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

Nardo,
All good questions. I actually don’t know the answers to all these. Lets work together to find out. If you want to email me directly I’d be interested in giving you access to txp.squaredeye.com to help me share new knowledge on the plugin when it arrises. Would you be into that?

per individual articles:

<txp:article status="live" form="zem_event_new" limit="1" />

and the form:

<div class="entry">
<h3>Article Title: <txp:permlink><txp:title /></txp:permlink></h3>
<ul class="event">
<txp:zem_article_event>
<h4>Event Name: <txp:zem_event_name /></h4>
<txp:zem_event_date label="Start Date" wraptag="li" />
<txp:zem_event_finish_date label="Finish Date" wraptag="li"/>
<txp:zem_event_time label="Start Time" wraptag="li" />
<txp:zem_event_finish_time label="Finish Time" wraptag="li"  />
<li><txp:zem_event_url>Event URL</txp:zem_event_url></li>
<li>Location: <txp:zem_event_location /></li>
<li><txp:zem_event_location_url>Map</txp:zem_event_location_url></li>
<p>Short Description: <txp:zem_event_description /></p>
<li>Event contact: <txp:zem_event_email /><li>
<li>Categories: <txp:zem_event_categories /></li>
</txp:zem_article_event>
</ul>
<h3>Article body</h3>
<txp:body />
</div>

Matthew


Offline

#75 2007-02-04 06:17:07

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

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

minor bug on zem_event_search_input … when using attribute breakclass="clear" the result is <br class="clear"/>

i.e. no space before concluding “/”

Offline

#76 2007-02-04 06:23:36

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

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

Matthew, will keep going with a test implementation to get familiar with it – like u suggest, looking at the code of the plugin reveals the attributes available … getting all the event tags into the Textbook would probably be the best start – can assist with documentation but not much time right now

Last edited by nardo (2007-02-04 14:02:55)

Offline

#77 2007-02-04 13:40:45

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

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

Matthew old chap. Hi. Only me. Now I am looking at this purely from a styling point-of-view rather than functionality. In my version of the plug-in the calendar_nav tag outputs backwards, that is, it puts the “next” link first and the “previous” link second, but I notice on your “examples” page that the output is correct, so is there a newer version or have you swapped the code around?

I am also having the problem of events not being linked to the minical. I’ve deleted and recreated the articles but still no joy.

Last edited by thebombsite (2007-02-04 14:26:01)


Stuart – The BombsiteProText ThemesTextgarden

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#78 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

#79 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

#80 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

Board footer

Powered by FluxBB