The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where and how to add javascript i need on every page?
#1
Hello,

I'm trying to port a project without usermanagement into userspice.
In the project are different folders with different pages. I added those folders to the array with monitored folders and so far so good.
Now i try to put some generic javascript files on a location and reference them from every page.
I choose the js folder under the users folder to put the generic.js. When i try to link this file from the footer.php it seems it is not working... Before digging any deeper i would like to know what is the recomanded way to do this kind of stuff. where to put the generic javascripts i see jquery and bootstrap are linked to the net. and how to reference them from different folders?

Thx

Jeroen
  Reply


Messages In This Thread
Where and how to add javascript i need on every page? - by JeroenVD - 03-02-2017, 03:12 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)