What are Shortcodes in Crew Manager and how are they used?

Contains user manuals, frequently asked questions & responses. This is a read only forum.
Locked
User avatar
admin
Site Admin
Posts: 16
Joined: Fri Dec 28, 2018 11:51 am

What are Shortcodes in Crew Manager and how are they used?

Post by admin » Sat Feb 02, 2019 9:16 am

Shortcodes are the equivalent of Macros or Shortcuts that execute tasks in WordPress. These are built in the Crew Manager program so that a user may perform tasks of various complexity. They may be as simple as substituting text for the shortcode, or generating an entire page with custom lists. Shortcodes are generally entered on WordPress Pages & Posts. The good thing about shortcodes is that a shortcode may be placed on a page without a user knowing how to do software programming. The codes may be created with complex software to generate the desired results. Users are insulated from having to enter complex software and introducing potential errors that may bring down the website.

A shortcode is entered in a post or page enclosed by square brackets. For example - [boat] is a Crew Manager shortcode that returns the boat type and name of the boat (e.g. [boat] displays J/109 Vento Solare).

The list below provides shortcodes that are available to use in Crew Manager. These may be inserted in a sidebar widget, post or page to customize content. The list at the bottom contains shortcodes that Crew Manager uses to generate pages or sections of pages.

These shortcodes are available to Skippers to use on any pages, posts or events.
  • [boat] - displays the boat name in text as saved in the WordPress site name (e.g. J/109 Leading Edge)
  • [boaturl] - displays the boat name with the site URL link as saved in the WordPress site name (e.g. J/109 Leading Edge)
  • [cdt] - prefixes ai1ec content with the [cdt][/cdt] shortcode to display XX days until event
  • [date] - displays the current date text in format which looks like Sun January 19th, 2019
  • [eventdate] - displays the ai1ec event date as a formatted date which looks like Mon March 18th @ 9:00AM
  • [expiration] - displays the subscription expiration date for a Crew Manager site
  • [rawurl] - displays the url of a Crew Manager site as text (e.g. http://frb.crew-mgr.com/ )
  • [sitelist] - displays formatted list of Crew Manager subdomain sites by name with link in list format
  • [siteurl] - displays the url of a Crew Manager site as a link (e.g. http://frb.crew-mgr.com/ )
  • [skipperemail] - displays the Skipper's name with email address formatted as mailto link
  • [wpadminemail] - Inserts the site WordPress administrator email address formatted as mailto link
These shortcodes are used by Crew Manager to generate the various pages.
  • [assignments] - Typed on a page to allow logged in crew to view availability, positions & assignments by event for all crew
  • [availability] - Typed on a page to allow logged in crew to set availability for current year events (all events listed)
  • [checksubdomain] - provides a box to enter desired subdomain name to check if it is available
  • [crew] - displays crew lists on ai1ec events, allows setting availability if logged in and provides a Cancel Event Immediately button for the Skipper
  • [participant] - matrix report people x position number of time in position during a selectable year
  • [regatta-registration] - Typed on a page to display regatta registration and fees paid status ordered chronologically
  • [results] - Typed on a page to display race results ordered chronologically
  • [roster] - Typed on a page to allow logged in crew to view crew roster on a page with name, email and phone
  • [shirts] - Typed on a page to allow skipper to view and print shirt and jacket sizes for selected group of crew. Size info is stored in each users profile.
  • [skipperassignments] - Typed on a page similar to [assignments] with ability of admin to set availability, positions & assignments by event for all crew
  • [skippercrewadmin] - Typed on a page similar to [availability] with ability of admin to select crew and make assignments
  • [skippersendemail] - Typed on a page to allow a logged in skipper to send emails using a dropdown to selected group recipients
  • [weight] - Typed on a page to allow skipper to view an event weight report with sailor classification with World Sailing database lookup. Info is stored in each users profile.
Crew Manager Administrator
Image

Locked