The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (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
Adding new pages
#4
Yes, userspice manages pages with .php extensions, although you can just rename your html files to a .php extension. You can also rename css and js files to php and put their content in style or script tags. Just note that for userspice to truly control a page, you need a require_once to the init.php file and that securePage line that's in every userspice file.
  Reply


Messages In This Thread
Adding new pages - by Ahmed - 03-22-2017, 03:40 PM
Adding new pages - by dan - 03-22-2017, 04:29 PM
Adding new pages - by Ahmed - 03-23-2017, 07:42 AM
Adding new pages - by mudmin - 03-23-2017, 09:51 AM
Adding new pages - by Ahmed - 03-23-2017, 12:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)