Development

/plugins/iwPollPlugin/README

You must first sign up to be able to contribute.

root/plugins/iwPollPlugin/README

Revision 29873, 0.9 kB (checked in by Infoworks, 3 years ago)

adding some instructions in the README file

Line 
1 1/ Add the tables to your databases, by propel:build-model, build-forms, build-sql and insert-sql commands.
2 2/ Load the questionnaire test by propel:data-load
3 3/ Modify your routing.yml by copying the content of routing.sample.yml in your routing.yml of application.
4
5 Test by :
6 http://yourserver/qcm/1
7 if the load data creates the number 1 questionnaire
8
9 To add your module :
10 - set some questionnaire (poll, question, levels answers and answer ponderation) by running the http://yourserver/qcm_admin/ or by editing YAML files in data/fixtures/
11     - in this second case, reload data by CLI (propel:data-load)
12
13 - launch the task : poll:create <app> <module>
14 - create (in the template/ directory of the module) a partial by level of results for the user, named after the levelCode you have chosen for your questionnaire :
15     i.e. :
16         _groupA.php
17         _groupB.php
18         _groupC.php
19 - then you can run your URL http://yourserver/moduleName/1
Note: See TracBrowser for help on using the browser.