pjs/webtools/firefox_survey
wclouser%mozilla.com 274d20017e rachel's tweaks 2006-08-13 05:22:29 +00:00
..
config session tweaks 2006-07-22 00:38:22 +00:00
controllers more rachel stuff 2006-07-28 00:07:52 +00:00
models - names are not required 2006-07-18 23:20:47 +00:00
vendors session tweaks 2006-07-22 00:38:22 +00:00
views rachel's tweaks 2006-08-13 05:22:29 +00:00
webroot minor change to remove border from headers 2006-08-11 17:07:29 +00:00
.htaccess getting personal settings out of cvs :( 2006-07-17 23:42:58 +00:00
README wording change 2006-07-21 16:24:36 +00:00
app_controller.php
app_model.php
index.php

README

Firefox Survey Readme


Description
-----------
This is a small application that accepts a name and email address after
captcha verification, and emails the entered address with a link.  It's
a pretty specific app for the Firefox Survey.


Requirements
------------
- Cake libraries installed on the server
- GD libraries installed on the server (if images don't show up, your best bet
  is to look at the configuration in the captcha lib in /vendors/captcha/)


To Install
----------
1) Copy config/database.php.default to database.php and fill out appropriate
values.

2) Copy config/defines.php.default to defines.php and fill out appropriate
values.

3) Run config/sql/init.php

4) If the app isn't installed on the root of the webserver (ie. it's in
http://server.com/folder and not just http://server.com/) you may have to add
RewriteBase rules to /.htaccess and /webroot/.htaccess


Testing (Verification everything works)
---------------------------------------
1) Load / in a browser
    * Page should have standard rustico look/feel
    * There should be a captcha image in between the 3rd and 4th input box
2) Click "Send" with all boxes empty
    * A red message should appear reminding the user to enter the captcha code.
3) Fill in all input boxes.
    * A thank you message should appear
    * An email should be sent to the entered email address
        * Should be from "Firefox User Panel"
        * Reply-to should be "nobody@mozilla.com"
        * Should have 3 html links
4) Return to / and fill in all input boxes with the same information
    * A message should appear saying you've already signed up for the survey
    * An email should be sent to the entered email address (same email as above)