02-25-2017, 04:06 PM
Sorry if this has been covered elsewhere...
I'm trying to access the $settings->site_offline element without including the headers and navigation php files because these mess up my page layouts (I don't use bootstrap but other HTML5/CSS templates).
Basically I want to isolate the php code to obtain the $settings array without invoking any US PHP files that will try and paint the screen...
I started to try and follow the various files, but ended up totally lost in the repeated "include"-ing of PHP code in the various helper libraries.
Is there a minimum set of PHP functions/methods that I can access without any presentation stuff being done? I love the UserSpice access model, I just don't want to always have the Bootstrap look and feel. I'm confident the bits are there, but some pointers to which to use would be great!
Thanks
I'm trying to access the $settings->site_offline element without including the headers and navigation php files because these mess up my page layouts (I don't use bootstrap but other HTML5/CSS templates).
Basically I want to isolate the php code to obtain the $settings array without invoking any US PHP files that will try and paint the screen...
I started to try and follow the various files, but ended up totally lost in the repeated "include"-ing of PHP code in the various helper libraries.
Is there a minimum set of PHP functions/methods that I can access without any presentation stuff being done? I love the UserSpice access model, I just don't want to always have the Bootstrap look and feel. I'm confident the bits are there, but some pointers to which to use would be great!
Thanks