Profiling Competitive Results

Top  Previous  Next

Showing Competitive Results is a problem frequently encountered by sporting organizations.

As such, we have devised a view of the document library in NeatClubs.COM that is well suited to displaying a hierarchy of data.

Below is a step by step example showing how the document library can be used as a repository for competitive results.

Step 1: Create a new "Results" System Document Category

Access the System Document Type setup using "System Setup" / "Categories & Definitions" / "System Document Types" and create a System Document Type called "Results" as shown below.

clip0262

Step 2: Link a Menu Option to show Competitive Results

The "view_docs_by_categories.php" script allows you to filter documents by categories and subcategories.  This is useful for a variety or purposes including showing competitive results, profiling sponsors or managing external web-site links that fit into different categories.

To setup a menu link to call this special view_docs_by_categories.php function, select the menu setup (found near the menus themselves or under "System Setup")

clip0263

Next, create a new menu item called "Results" as shown

clip0264

The "Custom URL" line in this example is where the action is.  The entry should be of the form shown below:

http://bcgymnastics.neatclubs.com/view_docs_by_categories.php?title=Gymnastics%20Results&system_category=Results&text=Please make a selection below and click <i>SELECT</i> to view GBC meet results

 

The arguments passed to the "view_docs_by_categories.php" scripts are:

title: this is the text to appear on the generated page

text: this is HTML text to appear below the title on the generate page

system_category: This refers to a valid system category name to display. (documents in this category will be filtered by user-defined category and then by user-defined sub-categories)

Step 3: Upload or Create Results Documents

Next, when you upload or create documents, if you want them to be visible when someone clicks on the "Results" menu option, you need to create or upload a document and put it in the "Results" document system category as shown.

clip0265

Step 4: View the Results

 

The view below is entirely computer generated.  Note that the title and the text on top of the page reflect the arguments passed to the view_docs_by_categories.php script. The rows in the table below reflect the user defined category names.  The pull-downs reflect the subcategory names.

clip0266

Once you select a particular category and sub-category, you will see a presented list of documents (or links) that fit into that category and sub-category.

clip0267