Linking javascript with templates
Alexis HAUSER <[email protected]> Thu, 15 Mar 2018 09:57:01 +0100 (CET)
| Newsgroups | gmane.comp.otrs.devel |
|---|---|
| Message-ID | <1450344090.13874719.1521104221365.JavaMail.zimbra@imt-atlantique.fr> |
--===============8461200001957100552== Content-Type: multipart/alternative; boundary="=_4be69467-792d-4ecc-a465-5ea675e9c443" --=_4be69467-792d-4ecc-a465-5ea675e9c443 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, I would like to add some javascript from Agent interface to Customer interface. In css, you only have to use the class names of HTML templates to choose what you do. But how do you tell OTRS, "I want to load this javascript file for this page"... I don't see the same class name from OTRS templates in javascript files... Any clue ? Best regards Alexis --=_4be69467-792d-4ecc-a465-5ea675e9c443 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: arial, helvetica, sans-serif; font-s= ize: 12pt; color: #000000"><div>Hi,<br></div><div><br data-mce-bogus=3D"1">= </div><div>I would like to add some javascript from Agent interface to Cust= omer interface.<br></div><div><br data-mce-bogus=3D"1"></div><div>In css, y= ou only have to use the class names of HTML templates to choose what you do= .<br data-mce-bogus=3D"1"></div><div><br data-mce-bogus=3D"1"></div><div>Bu= t how do you tell OTRS, "I want to load this javascript file for this page"= ... <br></div><div>I don't see the same class name from OTRS templates in j= avascript files...<br data-mce-bogus=3D"1"></div><div><br data-mce-bogus=3D= "1"></div><div>Any clue ?<br data-mce-bogus=3D"1"></div><div><br data-mce-b= ogus=3D"1"></div><div><br data-mce-bogus=3D"1"></div><div>Best regards<br d= ata-mce-bogus=3D"1"></div><div>Alexis<br data-mce-bogus=3D"1"></div><div><b= r data-mce-bogus=3D"1"></div></div></body></html> --=_4be69467-792d-4ecc-a465-5ea675e9c443-- --===============8461200001957100552== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/mailman/listinfo/dev --===============8461200001957100552==--