- AdvSearch
- cookieJar
- getYoutube
- aliasid
- AddHeaderfiles
- AjaxUpload
- amazonSES mailing list
- Analytics
- Archivist
- Articles
- Babel
- BannerX
- BannerY
- Batcher
- bdListings
- boilerX
- BreadCrumb
- Breadcrumbs
- BxrExtra
- cachebuster
- CamperManagement
- Church Events Calendar
- Cliche
- ClientConfig
- CMPGenerator
- Collections
- ContextRouter
- CookieList
- CronManager
- cssSweet
- CustomUrls
- Databackup
- Discuss
- DitsNews
- Eletters
- EventManager
- eventsCalendar2
- EventsX
- ExerPlan
- fastField
- FileDownload R
- FileLister
- FirstChildRedirect
- Flexibility
- ForcedPasswdChange
- FormIt
- FormIt2db
- FormitFastPack
- FormSave
- FoundationX
- FX2themebase
- Gallery
- GatewayManager
- gCal
- getDate
- getFeed
- getPage
- getRelated
- getResourceField
- getResources
- getUrlParam
- getRTImages
- getVimeo
- GoogleSiteMap
- GridClassKey
- HandyMan
- Hits
- HitsPage
- HybridAuth
- If
- Image+
- imageHERE
- ImageStyles
- ImportX
- LexRating
- Lingua
- Login
- Loginza
- mChimpX
- MetaX
- mhPayPal
-
MIGX
- MIGX.Backend-Usage
- MIGX.Data-Entry
- MIGX.Frontend-Usage
-
MIGX.Tutorials
- MIGX.Fancybox-images with seperate placeholders in Richtext-Content
- MIGX.Simple opening hours table
- Using resource-specific mediasource and multifile-uploader with MIGX
- MIGX.Varying layout-boxes
- Creating Selectable and Sortable lists for MIGX
- MIGX.sortable resourcelist
- Using resource-specific mediasource and multifile-uploader with MIGX
- MIGX.Using Grid Inline Editing
- MIGXdb
- MinifyX
- miniShop
- modActiveDirectory
- ModDef
- modExtra
- modMobile
- modSwiftMailer
- mxCalendar
- mxExtendedMenu
- mxFormBuilder
- mxHasTvs
- MoneyBird
- ObfuscateEmail-Revo
- PackMan
- PageBreaker
- Peoples
- PHP Tidy (plugin)
- phpThumbOf
- Polls
- POI Manager
- QuickCrumbs
- Quip
- Rampart
- Redirector
- renderResources
- ResourceWatcher
- RezImgCrop
- Rowboat
- sekFancyBox
- sekFormTools
- sekSiteTools
-
sekUserGalleries
- sekUserGalleries.album.items.helper
- sekUserGalleries.album.items.manage
- sekUserGalleries.album.manage
- sekUserGalleries.album.view
- sekUserGalleries.browse.galleries
- sekUserGalleries.directory
- sekUserGalleries.image.information
- sekUserGalleries.search
- sekUserGalleries.users.gallery.manage
- sekUserGalleries.users.gallery.view
- selfLink
- Shopkeeper
- siblingNav
- SimpleSearch
- SiteEditor
- sitemapFriend
- Slideshow Manager
- sLink
- SmartOptimizer
- SmartTag
- StatCache
- SocialLogin
- SocialSuite
- spieFeed
- StaticSaver
- StoreLocator
- SubscribeMe
- SyntaxChecker
- Tagger
- TaggingAtoZ
- tagLister
- TinyMCE
- Upload to Users CMP
- VersionX
- virtuNewsletter
- VisionCart
- Wayfinder
- xFPC
mxCalendar.Examples
This is a user-contributed Extra. If you find issues or would like more info or help, please contact the author.
Revolution
Listing Events
Generic List of Upcoming Events
Display a generic list of events from all calendars and all categories with clickable modal window view.
- Resource ID 49 used for example only (replace with your ajaxResource's ID).
- Omit "&modalView and &ajaxResourceId" parameters for a standard detail view.
- Add duplicated chunks and additional parameters for customized output (more variations and examples coming soon).
[[!mxcalendar? &eventListlimit=`8` &displayType=`list` &ajaxResourceId=`49` &modalView=`1` &dir=`ASC`]]
- Add parameters to display further ahead (default is +4 weeks)
- Omit or alter "&eventListLimit" for more list items (default is 5 list items)
&elStartDate=`now` &elEndDate=`+16 weeks`
Generic List of Past Events
mxCalendar can also display past events. The three parameters you want to look at are:
&elDirectinal=`past` - This tells mxCalendar to pull back all calendar events that happened in past thus less than the date supplied in the elStartDate field
&elStartDate=`now` - Same as with regular events sets a starting point to filter date range for results
&dir=`DESC` - Returns events in the order from most recent to oldest
Example:
(duplicate the tplListItem and tplListWrap chunks, rename, save, and insert into the mxCalendar snippet call as shown below)
[[!mxcalendar? &displayType=`list` &elDirectional=`past` &isLocked=`1` &resourceId=`71` &tplListHeading=`` &tplListItem=`tplListItemNewChunk` &calendarFilter=`2` &elStartDate=`now` &tplListWrap=`tplListWrapNewChunk` &dir=`DESC`]]
Suggest an edit to this page on GitHub (Requires GitHub account. Opens a new window/tab).