| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| dir:mods [2019/01/15 00:02] – digital man | dir:mods [2025/04/08 18:18] (current) – [See Also] Add tags digital man |
|---|
| ====== mods directory ====== | ====== mods directory ====== |
| The ''mods'' directory is intended to contain MODified-stock or 3rd party (i.e. not from [[:dev:CVS]]) JavaScript modules (''.js'' files) or Baja modules (''.bin'' with ''.src'') which will not be overwritten during Synchronet updates/upgrades. | The ''mods'' directory is intended to contain MODified-stock or 3rd party (i.e. not from [[:dev:Git]]) JavaScript modules (''.js'' files) or Baja modules (''.bin'' with ''.src'') (or as of Synchronet v3.21, text/menu files) which will not be overwritten during Synchronet updates/upgrades. |
| |
| If a file exists in both the ''[[dir:exec]]'' directory and the ''mods'' directory, the version in the ''mods'' directory will be loaded and executed rather than the version in the ''exec'' directory. | If a file exists in both the ''[[dir:exec]]'' directory and the ''mods'' directory, the version in the ''mods'' directory will be loaded and executed rather than the version in the ''exec'' directory. |
| | |
| | In Synchronet v3.21+, if a file exists in both the ''[[dir:text]]'' directory and the ''mods/text'' directory, the version in the ''mods/text'' directory will be displayed rather than the version in the ''text'' directory. Same is true of the ''[[dir:text]]/menu'' (and ''mods/text/menu'') directories. |
| |
| The path to the ''mods'' directory is configured in [[util:SCFG]]->System->Advanced Options. | The path to the ''mods'' directory is configured in [[util:SCFG]]->System->Advanced Options. |
| The ''mods/load'' directory is intended to contain MODified stock JavaScript library files from the ''[[dir:exec]]/load'' directory. | The ''mods/load'' directory is intended to contain MODified stock JavaScript library files from the ''[[dir:exec]]/load'' directory. |
| |
| | ==== text ==== |
| | |
| | The ''mods/text'' directory (and its sub-directories, e.g. ''menu'') is intended to contain MODified stock text/menu files from the ''[[dir:text]]'' directory (and its sub-directories). This feature was added in Synchronet v3.21. |
| ===== See Also ===== | ===== See Also ===== |
| |
| * [[dir:|Directory structure]] | * [[dir:|Directory structure]] |
| * ''[[exec]]'' directory | * ''[[exec]]'' directory |
| | * ''[[text]]'' directory |
| | * ''[[config:text_files]]'' |
| | * ''[[custom:menu_files]]'' |
| |
| | {{tag>customization text_file menu ansi}} |
| |
| |