Skip to content

Archive Trac dn prefix

madscatt edited this page Jun 20, 2026 · 1 revision

Dn Prefix

Legacy Trac archive page imported from dn_prefix. Source: https://genapp.rocks/wiki/wiki/dn_prefix. Review age, links, and examples before treating as current.

special prefix control for editing forms etc

  • background
    • this was created for license requests directed to module specific directed approvals
    • e.g. CHARMM - Note: not up to date
    • now we are going to use this for registry email validation & i am putting together some notes here to do this

prefix

  • to enable special module specific versions of language.json assembly input files, add "prefix":"enable" to the assembly steps, e.g.
                   ,{
                    "frequency"  : "menu:modules:id",
                    "output"     : "ajax/__menu:id__/__menu:modules:id__.php",
                    "prefix"     : "enable",
                    "inputs"     : [
                                    { "base.php" : "once" }
                                   ]
                   }
  • this will "enable" the module prefix specification
  • enable in the module.json with the top level attribute "prefix" : "prefixtag", e.g.
    ,"prefix"        : "license"
  • this will change the input to file base.php to license-base.php
  • this requires the manual creation of license-base.php in the genapp language source tree

email registry

  • created modules/sys_register_backend.php to generate backend code with "prefix" : "register"
  • added sys_register_backend to modules/configbase.json
  • wrote registry-base.php

Clone this wiki locally