Rev 5903 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14026 | lemaire | 1 | When an answer type ('_name_') is added: |
984 | bpr | 2 | |
5903 | bpr | 3 | - create a help file in the directory <span class="tt">public_html/modules/scripts/help/anstype</span> |
4 | with name <span class="tt">_name_.phtml</span> |
||
3351 | bpr | 5 | and eventually in oher language directory anstype.$lang ; in the language |
4427 | bpr | 6 | you do not know, create a help file and copy something like |
2689 | bpr | 7 | <pre> |
8 | !changeto help/anstype/_name_.phtml |
||
9 | </pre> |
||
984 | bpr | 10 | |
3383 | bpr | 11 | - add a line in the file public_html/scripts/help/$lang/reply.phtml in the variable |
2689 | bpr | 12 | typelist2 (do it in any $lang/reply.phtml, by default in english to help the translators). |
14026 | lemaire | 13 | |
14 | To add a new section in the help of Createxo: |
||
15 | - create a file _name_.phtml <span class="tt">public_html/modules/scripts/help</span> with the line |
||
16 | !read help/$lang/oefscore.phtml |
||
17 | |||
18 | - create a file _name_.phtml in the subdirectories <span class="tt">public_html/modules/scripts/help/$lang</span> for your language |
||
19 | - write in this file the text for the new section |
||
20 | |||
21 | - in the file <span class="tt">adm/createxo/lang/help.phtml.$lang</span>, add a line |
||
22 | :_name_, title_for_the_new_section |
||
23 | in order that a link title_for_the_new_section appears in the table of contents |
||
24 | of the help of Createxo at the place you want |
||
25 | |||
26 | - add _name_ in the definition of the variable helplist in the file |
||
27 | <span class="tt">public_html/modules/adm/createxo/help.phtml</span> |
||
28 | The order of items in this list defines the order of file reading. |