Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2004-08-01 06:58:43
- jeeves
- Member
- Registered: 2004-06-14
- Posts: 31
Getting started with greenrift's UpcomingEventList
I am beginning to wonder if I installed <a href=“http://greenrift.textdrive.com/projects/2/upcoming-event-list”>UpcomingEventList v0.3</a> correctly because the instructions that appeared after I installed it seem to be missing a few basics.
<strong>Does anyone know what tag I would add to the page code to add a list of upcoming event?
And how can make the plug in display articles (events) from just one category?</strong>
I did upload “mdp_lib.php” to my <code>/textpattern/lib</code> directory like the Greenlift’s page mentioned. Still, I have not been able to find enough information to use this plugin. Apparently I am the only one who has not been able to figure this out.
Last edited by jeeves (2004-08-01 07:06:43)
Offline
#2 2004-08-01 10:15:40
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: Getting started with greenrift's UpcomingEventList
you know that if u go to the admin/plugins page… click on mdp_UpcomingEventList…
u can scroll down the page, past the code itself, and see some parameters… ?
this is the way I’ve got the tag working:
<code><txp:mdp_UpcomingEventList section=“event” extrainfo=“3” dateformat=“l j F” /></code>
you’d replace section=“ying” with category=“yang”
Offline
#3 2004-08-01 22:04:24
- jeeves
- Member
- Registered: 2004-06-14
- Posts: 31
Re: Getting started with greenrift's UpcomingEventList
Thanks, I have it working now.
One minor issue though:
<b>How do I get this plugin to stamp events with the local time rather than the time zone the server is located in?</b>
For example, when I create an event for 5PM it shows up as 8PM on my event page.
Last edited by jeeves (2004-08-01 22:05:49)
Offline
#4 2004-08-01 22:12:47
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: Getting started with greenrift's UpcomingEventList
go to admin/preferences, then look for Time Offset…
“If your web host is in a different time zone than where you live, use this to adjust displayed times to reflect your local time rather than that of the server.”
Offline
#5 2004-08-01 22:27:53
- jeeves
- Member
- Registered: 2004-06-14
- Posts: 31
Re: Getting started with greenrift's UpcomingEventList
That’s what is so odd, I had already done that.
My server is in the Eastern time zone, I’m in the Pacific, so I set the “Time offset” on the preferences page to “-3”.
But I am guessing the plugin is overidding this somehow.
Offline
#6 2006-01-24 18:21:52
- luthier
- Member
- Registered: 2004-12-07
- Posts: 16
Re: Getting started with greenrift's UpcomingEventList
This plugin keeps giving me errors. Can’t get it to work.
First it gave me:
A problem occured while loading the plugin: mdp_UpcomingEventList -> Warning: Unknown(/mysite/textpattern/lib/mdp_lib.php): failed to open stream: No such file or directory on line 2
A problem occured while loading the plugin: mdp_UpcomingEventList -> Warning: (null)(): Failed opening ‘/mysite/textpattern/lib/mdp_lib.php’ for inclusion (include_path=’.:/Applications/MAMP/bin/php4/lib/php’) on line 2
so I commented out line 2 as such:
<code>//include_once txpath.’/lib/mdp_lib.php’;</code>
Then it gave me:
Fatal error: Call to undefined function: fixoptions() in /mysite/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 8
Does this thing work?
Offline
#7 2006-01-24 21:40:10
- luthier
- Member
- Registered: 2004-12-07
- Posts: 16
Re: Getting started with greenrift's UpcomingEventList
scratch that, just use <code><txp:rss_suparchive timeframe=“FUTURE” /></code>
Last edited by luthier (2006-01-24 21:40:33)
Offline
Re: Getting started with greenrift's UpcomingEventList
luthier wrote:
scratch that, just use <code><txp:rss_suparchive timeframe=“FUTURE” /></code>
You know, txp:article_custom supports time="future"
(and so does txp:article, for that matter).
Offline