Subversion Repositories wimsdev

Rev

Rev 3999 | Rev 7703 | 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. <tt class="wims_fname">Zone/category/name.lang</tt>
  6. This is translated to
  7. <tt class="wims_fname">Zone~category~name.lang</tt>
  8. when the module is under development.
  9.  
  10. <ul>
  11. <li><tt class="wims_fname">Zone</tt>: 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. <tt class="wims_fname">Lang</tt>
  15. corresponds to language-learning materials,
  16. <tt class="wims_fname">tool</tt>
  17. contains various online tools,
  18. <tt class="wims_fname">local</tt>
  19. are modules that will only be used on the local server,
  20. <tt class="wims_fname">test</tt>
  21. is a non-publishable testing zone in which you can put anything you like.
  22.  
  23. </li><li><tt class="wims_fname">category</tt>: 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><tt class="wims_fname">name</tt>: any word of your choice, preferably between 4 and 12 lower-case characters.
  33.  
  34. </li><li><tt class="wims_fname">lang</tt>: 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.