Skip to main content

Simultaneous Article Display

{gCalDefine group id="grp1" maxResults="2" /} {gCalDefine calendar id="grp1.r" class="rCalendar" key="This email address is being protected from spambots. You need JavaScript enabled to view it." title="Race Calendar" href="http://nvrun.com/index.php/racing" style="color:#0080D0;" maxDays="7" /} {gCalDefine calendar id="grp1.le" class="leCalendar" key="This email address is being protected from spambots. You need JavaScript enabled to view it." title="Local Events Calendar" href="http://nvrun.com/index.php/racing" style="color:#ff00ff;" maxDays="7" /} {gCalDefine calendar id="grp1.gr" class="grCalendar" key="This email address is being protected from spambots. You need JavaScript enabled to view it." title="Group Run Calendar" href="http://nvrun.com/index.php/training/running-groups/group-runs" style="color:#000070;" maxDays="7" /} {gCalDefine calendar id="grp1.ce" class="ceCalendar" key="This email address is being protected from spambots. You need JavaScript enabled to view it." title="Club Events Calendar" href="http://nvrun.com/index.php/club" style="color:#707000;" maxDays="7" /} {gCalDefine calendar id="grp1.bf" class="bfCalendar" key="This email address is being protected from spambots. You need JavaScript enabled to view it." title="Bellefonte Calendar" href="http://nvrun.com/index.php/training/running-groups/bellefonte-road-raiders" style="color:#007000;" maxDays="7" /} {gCalDefine calendar id="grp1.lm" class="lmCalendar" key="This email address is being protected from spambots. You need JavaScript enabled to view it." title="Ladies Morning Calendar" href="http://nvrun.com/index.php/training/running-groups/ladies-early-morning" style="color:#700000;" maxDays="7" /} {gCalDefine calendar id="grp1.rr" class="rrCalendar" key="This email address is being protected from spambots. You need JavaScript enabled to view it." title="Rec. Hall Regulars Calendar" href="http://nvrun.com/index.php/training/running-groups/rec-hall-regulars" style="color:#700070;" maxDays="7" /} {gCalDefine calendar id="grp1.w" class="wCalendar" key="This email address is being protected from spambots. You need JavaScript enabled to view it." title="Wahoo Calendar" href="http://nvrun.com/index.php/training/running-groups/beginners" style="color:#007070;" maxDays="7" /} {gCalDefine category id="grp1.r."/}{gCalDefine category id="grp1.." title="All" style="color:black;"/}{gCalDefine category id="grp1.le."/}{gCalDefine category id="grp1.gr."/}{gCalDefine category id="grp1.ce."/}{gCalDefine category id="grp1.bf."/}{gCalDefine category id="grp1.lm."/}{gCalDefine category id="grp1.rr."/}{gCalDefine category id="grp1.w."/}
Race Calendar
Show:
Waiting for google calendar...
...

Quick Start: Large Tabular Multi-Calendar:

This Quick Start inserts events from several calendars at once in a large tabular format. There is a calendar drop-down so the calendar events can be filtered to show only one calendar at a time.

Usage:

  • Add the following text at the top of the article you wish to add the calendar to.

{gCalEnable false/}{sdEcho:childTagsOnly}
{sdInclude ./plugins/content/gCalMarkupV015/qs/[gCalMarkupQS-Setup]/}
{gCalDefine group id="grp1" maxResults="2" /}
{sdDefine style-table-grp1}border: 3px double gray;{/sdDefine}
{sdDefine style-rowA-grp1}background-color: #DECA95;{/sdDefine}
{sdDefine style-rowB-grp1}background-color: #FEEAB5;{/sdDefine}
{sdDefine style-month-grp1}text-align:center; font-size:larger; border-bottom:1px solid black;color:white; background-color:#135CAE{/sdDefine}
{sdComment} ======== Define each calendar ======== {/sdComment}
{sdMacro calendar grp1 r maxDays="7" /}
{sdMacro calendar grp1 le maxDays="7" /}
{sdMacro calendar grp1 gr maxDays="7" /}
{sdMacro calendar grp1 ce maxDays="7" /}
{sdMacro calendar grp1 bf maxDays="7" /}
{sdMacro calendar grp1 lm maxDays="7" /}
{sdMacro calendar grp1 rr maxDays="7" /}
{sdMacro calendar grp1 w maxDays="7" /}
{sdComment} ======== Define categories ======== {/sdComment}
{gCalDefine category id="grp1.r."/}
{gCalDefine category id="grp1.." title="All" style="color:black;"/}
{gCalDefine category id="grp1.le."/}
{gCalDefine category id="grp1.gr."/}
{gCalDefine category id="grp1.ce."/}
{gCalDefine category id="grp1.bf."/}
{gCalDefine category id="grp1.lm."/}
{gCalDefine category id="grp1.rr."/}
{gCalDefine category id="grp1.w."/}
{sdInclude [gCalMarkupQS-Navigation] /}
{sdInclude [gCalMarkupQS-Dropdown] /}
{sdInclude [gCalMarkupQS-Status] /}
{sdInclude [gCalMarkupQS-Tabular] grp1 /}
{/sdEcho}{gCalEnable true/}

  • Add the following text where you want the calendar to appear:
  • {sdMacro gCalMarkupQS-Tabular 7 grp1 "float:right; width:66%;" "Race Calendar" "color:#135CAE; font-weight:bold; font-size:1.5em;" /}

  • Note that the following line was also added to this example to limit the number of lines:
  • {gCalEnable 0/}{gCalDefine group id="grp1" maxResults="2" /}{gCalEnable 1/}

    • Last updated on .