Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

smf_eventarticle

This is a small evolution of the great rss_suparchive plugin by Rob Sable allowing you to view events/articles/etc. in archive list form using the rss_suparchive options, however this plugin only shows items from the current timestamp and on into the future, instead of using the default TXP way of only displaying articles from now into the past.

I created this plugin to work with Marshall Potter’s mdp_calendar plugin for my Events Listings on my website, GuidetotheCity.biz.

To create the calendar page on my site I simply added mdp_calendar and placed smf_eventarticle with the following attributes:

<smf_eventarticle form="events_single" section="calendar" dateformat="F Y" showsubdate="1" limit="20" />

If you look in the code (which I’ll continue to fine tune since there is a bit of redundancy in there), you’ll notice the all important change within the SQL query:

FROM: Posted < now()

TO: Posted >= now()

Update: in the meantime, this functionality has been added to rss_suparchive

Article Request Count:

Archived [?]: incorporated into rss_suparchive

Initially released:
2005-02-22
Posted here:
24 Mar 2005
Article modified:
12 Jun 2008

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern