Creating Links To Dynamic Pages

Information here is of interest to those clubs who already have their own web site and want to provide links to dynamic pages from our site. If your site was made from our template site, you don't have to read this.

Links To Result Pages

Browsing of results starts from result index pages. These pages can be organized in a number of ways, so you have some choice there to pick what you think is the most suitable for your club's profile of events, frequency of them and general preferences. The following paragraphs explain these options.

Separate Index Pages For Single- And Multi-Session Events

The results are accessed from the two main index pages: one lists single session events and another one lists multi session events. These index pages contain links to individual result pages. For the discussion on single- and multi-session events check this page.

A link to the single session events index page has two parameters: the club code, that is assigned to your club by us when you sign up, and the number of results' links to be listed per page. The latter parameter is optional and if you don't specify it, a default value is used. The exact format of links follows.

Single session results index:

https://www.bridge-club.org/bcorg/results/singleIndex?club=code&rowno=howMany

A link to the multi session events index page has two parameters: the club code, the same as for single session events, and the latest period in days for which to show results on the initial page. Multi session results index:

https://www.bridge-club.org/bcorg/results/multiIndex?club=code&obsoleteDays=howMany

For example, the code assigned to the sample bridge club, Castalia bridge club, is castal. Let's say we want to show single session results so that 14 lines of links appear per page, and to show multi session events index to include, on the initial index page, events that have completed not later than 90 days ago. Then we should have the following links:

https://www.bridge-club.org/bcorg/results/singleIndex?club=castal&rowno=14

https://www.bridge-club.org/bcorg/results/multiIndex?club=castal&obsoleteDays=90

Check it out!

All-In-One Results Index Page

In this index page, all the results appear on one index page. They are ordered from the most recent on top, and then page backwards and forwards through time-ordered sequence of events. A link to this index page has two parameters: the club code, that is assigned to your club by us when you sign up, and the number of different days with results to be listed per page. The latter parameter is optional and if you don't specify it, a default value is used. The exact format of links follows.

https://www.bridge-club.org/bcorg/results/mergeIndex?club=code&rowno=howMany

For example, the code assigned to the sample bridge club, Castalia bridge club, is castal. Let's say we want to show results so that 20 of links appear per page. Then we should have the following link:

https://www.bridge-club.org/bcorg/results/mergeIndex?club=castal&rowno=20

Calendar-Based Index Pages

The links are of the form:

Per day of a week:

https://www.bridge-club.org/bcorg/results/byWeekdayIndex?club=code&dow=dayofweek

where dayofweek is one of mon, tue, wed, thu, fri, sat, sun.

Weekly:

https://www.bridge-club.org/bcorg/user/weeklyIndex.faces?club=code

Monthly:

https://www.bridge-club.org/bcorg/user/calendarIndex.faces?club=code

Result Groups Index

This page displays all the result groups (eg. larger tournaments consisting of several pairs and teams competitions) with links to pages that display each individual group of results. The index page link has the following form:

https://www.bridge-club.org/bcorg/results/groupIndex?club=code&rowno=howMany

A link to the result groups index page has two parameters: the club code, the same as in index pages mentioned earlier, and the number of groups' links to be listed per page. The latter parameter is optional and if you don't specify it, a default value is used.

Result Archive

This page provides a links to club's archived results. The link is of the form:

https://www.bridge-club.org/bcorg/user/archive.faces?club=code

Calendar Links

There are several pages that we provide in regard to the club's calendar of events, which you enter via admin interface. These pages dynamically list the club events that are scheduled for the near future. Obsolete events automatically disappear from the list. When enabled, these pages may also provide competition entry via web.

You need to use web admin to add definitions of special events (competitions, lessons, etc). For integrated calendar, using the same web admin, you need to add information about your regular sessions.

Integrated Calendar

This page shows, in one place, both regular sessions and special events. Users can choose one of the following viewing modes: monthly, weekly and list. The list mode is the only mode that does not display regular sessions. In modes that do show regular sessions, users can individually switch on and off the display of regular sessions.

The time span covered by monthly and weekly views is between now and the latest session entered for any special event. If no special events are entered, then this page will display only the current month or week, filled with entries corresponding to regular sessions. The page address is:

https://www.bridge-club.org/bcorg/user/allEvents.faces?club=code

This page also provides a special link that allows importing the whole calendar, both regular sessions and special events, into other devices, like computers and mobile phones. For special events, if configured during event setup via web admin, one or two reminders are also generated. For both regular sessions and special events, a 2 hour reminder is generated before the start of the session.

Upcoming Events

This page lists events scheduled to start in the defined period of time. There are two parameters: the club code and the period in days. The page address is:

https://www.bridge-club.org/bcorg/user/upcomingEvents.faces?club=code&daysInAdvance=howMany

For example, for Castalia bridge club (code: castal), we want to show events that are to be held in the next 90 days; then we should have the following link:

https://www.bridge-club.org/bcorg/user/upcomingEvents.faces?club=castal&d...

Congresses

This page lists congresses scheduled to happen in the defined period of time. There are two parameters: the club code and the period in days. The page address is:

https://www.bridge-club.org/bcorg/user/congress.faces?club=code&daysInAdvance=howMany

The meaning of parameters code and daysInAdvance is as before.

These Days...

This page lists all the events sessions scheduled to happen in the defined period of time, including events that span several weeks/months (for such events, only those sessions that occur within the specified period of time are shown). There are two parameters: the club code and the period in days. The page address is:

https://www.bridge-club.org/bcorg/user/theseDays.faces?club=code&daysInAdvance=howMany

The meaning of parameters code and daysInAdvance is as before.

Matchmaker

The entry page to club's partnership/matchmaking facility (for details, visit here)
also has one parameter: the club code. The link is of the form:

https://www.bridge-club.org/bcorg/user/matchmaker/matchmaker.faces?club=code