Subversion Repositories wimsdev

Rev

Rev 4001 | Rev 10558 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !read adm/title.phtml 2\
  2. Addressing convention of WIMS modules
  3.  
  4. Activity modules should have an address of type
  5. <span class="tt wims_fname">Zone/category/name.lang</span>
  6. This is translated to
  7. <span class="tt wims_fname">Zone~category~name.lang</span>
  8. when the module is under development.
  9.  
  10. <ul>
  11. <li><span class="tt wims_fname">Zone</span>: this is limited to the allowed zones of the system. Among them,
  12. those with a upper-case letter followed by a number are zones corresponding
  13. to academic levels,
  14. <span class="tt wims_fname">Lang</span>
  15. corresponds to language-learning materials,
  16. <span class="tt wims_fname">tool</span>
  17. contains various online tools,
  18. <span class="tt wims_fname">local</span>
  19. are modules that will only be used on the local server,
  20. <span class="tt wims_fname">test</span>
  21. is a non-publishable testing zone in which you can put anything you like.
  22.  
  23. </li><li><span class="tt wims_fname">category</span>: this could be any word of your choice, but when you submit
  24. the module for publication, it will be accepted only if the category is
  25. known to the system.
  26. <p>
  27. Please look at the categories of existing modules for the possibilities.
  28. In case of doubt, please write to the
  29. !mailurl $sysadmin publication coordinator
  30. .
  31.  
  32. </li><li><span class="tt wims_fname">name</span>: any word of your choice, preferably between 4 and 12 lower-case characters.
  33.  
  34. </li><li><span class="tt wims_fname">lang</span>: The two-character language code of the module. Must be within the languages
  35. supported by the site ($wims_site_languages), and should be equal to the language defined in the
  36. module's INDEX file.
  37. </li></ul>
  38.  
  39. <p>
  40. Some known categories: (non-exhaustive)
  41. !read wimshome/public_html/bases/sys/categories.phtml
  42.