XOOPS  2.6.0
theme_onload.php
Go to the documentation of this file.
1 <?php
2 /* this script is include before blocks and modules loading
3  * so you can add all script and css needed
4  */
6 // replace the jquery ui theme config option with theme based asset definition
7 $xoops->theme()->setNamedAsset('jqueryuicss', 'media/jquery/ui/themes/smoothness/jquery-ui.css');
8 $xoops->theme()->setNamedAsset('bootstrap', 'media/bootstrap/js/bootstrap.min.js');
9 $xoops->theme()->addBaseScriptAssets(array('@jquery', '@bootstrap'));
10 
11 $xoops->theme()->addBaseStylesheetAssets(array(
12  'xoops.css',
13  'media/bootstrap/css/bootstrap.css',
14  'themes/default/media/bootstrap/css/xoops.bootstrap.css',
15  'themes/default/css/style.css',
16 ));
static getInstance()
Definition: Xoops.php:160
$xoops
Definition: theme_onload.php:5