Custom JS and CSS insert

Hi,
Can someone please provide an example regarding how to add custom CSS and JS into the PHP files.
I’ve looked at the documentation but beside the (see including JS) there is no info.

Maybe I’ve missed the part where it is specified on how to add filles into the header of the view. so I’ll thank you for a point in the good direction :smile:

BR
Bogdan

Hope @davidep or @giacomo @Stll0 could help you when they’ll come back available.

The NethGUI framework is poorly documented but I can link some code here.

Basically, you have 3 functions:

  • useFile: include a js file
  • includeCSS: include a CSS fragment
  • includeJavascript: include a JS fragment

Just an exemple:

3 Likes