Enqueue CSS and JS files for module

Discussion in 'Developers' Forum' started by Hans Desjarlais, Jan 23, 2022.

Tags:
  1. Hans Desjarlais

    Hans Desjarlais New Member

    I am developing a module for ISPConfig 3, I read the documentation entitled Building an Interface Module
    We have CSS and JS we need to include on the main module page. How do we add those files so they are added/enqueued in the header (for CSS) and in the footer after jQuery is loaded (for JS) specifically on the module page?
     
    Last edited: Jan 23, 2022
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  3. Hans Desjarlais

    Hans Desjarlais New Member

    @Th0m yes, answered! thx.
     

Share This Page