Rev 5903 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5903 | Rev 14026 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | When an answer type ('_name_') is added |
1 | When an answer type ('_name_') is added: |
2 | 2 | ||
3 | - create a help file in the directory <span class="tt">public_html/modules/scripts/help/anstype</span> |
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> |
4 | with name <span class="tt">_name_.phtml</span> |
5 | and eventually in oher language directory anstype.$lang ; in the language |
5 | and eventually in oher language directory anstype.$lang ; in the language |
6 | you do not know, create a help file and copy something like |
6 | you do not know, create a help file and copy something like |
Line 8... | Line 8... | ||
8 | !changeto help/anstype/_name_.phtml |
8 | !changeto help/anstype/_name_.phtml |
9 | </pre> |
9 | </pre> |
10 | 10 | ||
11 | - add a line in the file public_html/scripts/help/$lang/reply.phtml in the variable |
11 | - add a line in the file public_html/scripts/help/$lang/reply.phtml in the variable |
12 | typelist2 (do it in any $lang/reply.phtml, by default in english to help the translators). |
12 | typelist2 (do it in any $lang/reply.phtml, by default in english to help the translators). |
- | 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. |