You are not logged in.
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
<txp:article pgonly=1 /> the individual page template would output the article twice
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)
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?
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>
minor bug on
zem_event_search_input … when using attribute
breakclass="clear" the result is
i.e. no space before concluding “/”
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)
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)
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.
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>';
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)
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!