Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#73 2007-02-04 06:17:07
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
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
#74 2007-02-04 06:23:36
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
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
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
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
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>';
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
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)
- I am Squared Eye and I
am launchinghave launched Pattern Tap
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
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
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