Re: Plugin Compositions : attacher une feuille de style [Résolu]

jeanmarie <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
Le 10/07/2020 à 22:43, Stephane Santon a écrit :
> Finalement, pas pu le mettre dans inclure/head car il ne reçoit pas #ENV.

2 possibilités

  * le mettre dans un fichier inc-theme-head.html à la racine de ton
    squelettes/plugin, il sera automatiquement inclue dans le head (cf
    https://zone.spip.org/trac/spip-zone/browser/spip-zone/_squelettes_/spipr-dist/trunk/inclure/head.html#L43
    )
  * utiliser /head_js/dist.html qui est inclut par Z-core (cf
    https://zone.spip.org/trac/spip-zone/browser/spip-zone/_plugins_/z-core/trunk/structure.html#L23
    )

                 jean marie
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.