Personal tools
You are here: Home catch-24 Lufthansa Experts Documentation Contest Documentation Creating a New Contest
Document Actions

Creating a New Contest

by rmoskal last modified 2006-07-06 10:18

Explains how to get a new contest up on the server. The embedded links on this page point to the US site.

Contests live in the /fun/contests on the site.  Tentatively we've agreed that henceforth contest questions will be implemented as flash files containing all the questions with a link to a registration page.

To create a new contest simply copy the folder containing the existing contest.  All that needs to be done is to replace the flash animation that is embedded in the page with id game.  When the user completes the game s/he should be redirected to the ../contest_form/index_html

A new datafile needs to be specified for each contest.  We've started using the naming convention Quarter_year.csv (e.g. dq2_006.csv).  The file name is specified through a script that is only accessible through the Zope Management Interface, here  ../contest_form/add_contestant

This is done in the last line of the file in this statement:

add_entry("dq2__2006.csv", entry, mail_params, settings=test_settings)

The above file is written to the following directory:

/usr/local/apache/sites/zope-lufthansa-experts.com/log

Lastly just before publishing the new contest, make the old one private or copy it to the /hidden folder.


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: