This document describes how to use the URL parameters in the Regatta Management Solutions calendar page to create bookmark-able links that customize the look and content of the calendar.

The basic page url is www.regattaman.com/calendar.php.

FILTERS
The following url parameters can be appended to the main link to get a filtered list of event displayed, all parameters should follow normal URL syntax eg. follow a ? and delimiter by an  &.
Example:
www.regattaman.com/calendar.php?yr=2015&type=OD 
will give you all One Design races in 2015.

Filter Types

Filter
Parameter
Examples
Notes
Year
yr
yr=2015
yr must be a single 4 digit year, if not specified default to the current year.
Event Type
type
type=OD
type=OD|Jr
Allowable types are:
  • HCP - handicap races
  • OD - One Design races
  • PUR- Pursuit Races
  • Jr- Junior Races
  • Soc- Social Events
To select multiple types separate them with the Pipe Symbol | .
When
when
when=Day
when=Day|Eve
Allowable when values are:
  • Day - Day Races
  • Eve - Evening Races
  • OvrNt - Overnight Races
To select multiple when values separate them with the Pipe Symbol |.
Status
stat
stat=future
stat=future|regopen
Allowable when values are:
  • results - Past Events with Results available
  • past - Past Events
  • future - Future Events
  • regopen - Future Events with registration available
To select multiple status values separate them with the Pipe Symbol |.
Organizer
orgs
orgs=1
orgs=1|2|27|70
The orgs parameter uses the unique org id number in the RMS system to identify each org of interest. Use this Organization vs Id list to determine the id numbers of the organizers you are interested in. To create a list of multiple organizers separate the numbers with the Pipe Symbol |.
Region
reg
reg=MBSA
reg=MBSA-N|GMORA-W
The reg parameter uses the unique region abbreviation in the RMS system to identify each region of interest.  Use this Region list to determine the abbreviations of the regions you are interested in. To create a list of multiple regions separate the abbreviations with the Pipe Symbol |.
Some regions also have sub regions. (eg. for MBSA there are two sub regions  North and South).  If you look a the list of regions you will see MBSA-N and MBSA-S giving you the ability to filter by sub region as well.
Distance
dist
clat
clon
clat=42.230414&clon=-70.823567&dist=50
The distance filter requires 3 parameters. 
  • clat - the latitude of the center of the search area.
  • clon - the longitude of the center of the search area.
  • dist - the radius of the search circle in miles.

If you don't specify a clat and clon, the system will attempt locate the current user either by his location stored in his skipper profile or by his browser Geo-location if available.


priv



DISPLAY PARAMETERS
There are also several parameters that specify how the calendar page itself is displayed.  These can be very useful when integrating your calendar into a existing website.
Function Parameter Examples Notes
Display
Wrapper
ext
ext=N
ext=Y
Setting the 'ext' parameter to Y will suppress the normal Top and bottom wrapper.  This is useful for when you are including our content into your existing pages.
If the ext parameter is not specified it will default to "Y"

logo

logo=Y
logo=N
logo=1

  • If "Y", a logo will appear in the page.
  • if "N", it will supress the displaying of a logo.
  • If you wish a specific organization logo to appear, set the parameter to your organization's number. Use this Organization vs Id list to determine the approp. number.
    ** If the logo variable is not specified, the default is dependent on the value of the display wrapper(ext):    if ext=N, the logo will display, if ext="Y" the logo will not display.




© Copyright: Regatta Management Solutions