ホーム >> RSSセンター >> Squad and Bikin themes converted to XOOPS

RSSセンター

  メイン  |  簡易ヘッドライン  

link XOOPS.org XOOPS.org (_FriPMKSTEthKSTR0516)

feed Squad and Bikin themes converted to XOOPS (_TuePMKSTEthKSTR0223)
I've converted two one-page Bootstrap themes to XOOPS: Squad and Bikin from http://bootstraptaste.com/

Original
Image

Original Image

It was more or less an experiment, so I am releasing them as "Alpha", and feel free to fork and improve them.

You can use the existing parts of the "one-page" theme, and you can add links to XOOPS modules in the Top Menu.

We definitely need to look for ways to simplify such conversions to XOOPS, since there are many very cool themes around!

Download:
- Bikin
- Squad


NOTE : these themes are free, but the authors require to keep their Copyright notice in the footer, unless you pay a fee. Please respect that!

NOTE 2: You will need to add in the function "eventCoreHeaderAddmeta" in \modules\system\preloads\core.php this code below:

if ( defined ( "XOOPS_STARTPAGE_REDIRECTED" ) || (isset( $GLOBALS [ 'xoopsOption' ][ 'template_main' ]) &&  $GLOBALS [ 'xoopsOption' ][ 'template_main' ] ===  'db:system_homepage.html' )) {
            if (
is_object ( $GLOBALS [ 'xoopsTpl' ])) {
                
$GLOBALS [ 'xoopsTpl' ]-> assign ( 'homepage' true );
            }
        }


so the whole function looks then like this:

public function  eventCoreHeaderAddmeta ( $args )
    {
        if (
defined ( "XOOPS_STARTPAGE_REDIRECTED" ) || (isset( $GLOBALS [ 'xoopsOption' ][ 'template_main' ]) &&  $GLOBALS [ 'xoopsOption' ][ 'template_main' ] ===  'db:system_homepage.tpl' )) {
            if (
is_object ( $GLOBALS [ 'xoopsTpl' ])) {
                
$GLOBALS [ 'xoopsTpl' ]-> assign ( 'homepage' true );
            }
        }

        if (!empty(
$_SESSION [ 'redirect_message' ])) {
            
$GLOBALS [ 'xoTheme' ]-> addStylesheet ( 'xoops.css' );
            
$GLOBALS [ 'xoTheme' ]-> addScript ( 'browse.php?Frameworks/jquery/jquery.js' );
            
$GLOBALS [ 'xoTheme' ]-> addScript ( 'browse.php?Frameworks/jquery/plugins/jquery.jgrowl.js' );
            
$GLOBALS [ 'xoTheme' ]-> addScript ( '' , array( 'type'  =>  'text/java_script' ),  '
            (function($){
                $(document).ready(function(){
                $.jGrowl("' 
$_SESSION [ 'redirect_message' ] .  '", {  life:3000 , position: "center", speed: "slow" });
            });
            })(jQuery);
            '
);
        }
    }



execution time : 0.046 sec
wikipedelia要約
User Local
Notice [PHP]: Use of undefined constant _LANGCODE - assumed '_LANGCODE' in file class/template.php line 85
Notice [PHP]: Undefined index: theme in file kernel/block.php(143) : eval()'d code line 1
Notice [PHP]: Use of undefined constant _DATESTRING - assumed '_DATESTRING' in file include/functions.php line 223
Notice [PHP]: Use of undefined constant _SHORTDATESTRING - assumed '_SHORTDATESTRING' in file include/functions.php line 211
Notice [PHP]: Use of undefined constant _DATESTRING - assumed '_DATESTRING' in file include/functions.php line 223
Notice [PHP]: Use of undefined constant _SHORTDATESTRING - assumed '_SHORTDATESTRING' in file include/functions.php line 211
Notice [PHP]: Use of undefined constant _DATESTRING - assumed '_DATESTRING' in file include/functions.php line 223
Notice [PHP]: Use of undefined constant _MEDIUMDATESTRING - assumed '_MEDIUMDATESTRING' in file include/functions.php line 214
Notice [PHP]: Use of undefined constant _SHORTDATESTRING - assumed '_SHORTDATESTRING' in file include/functions.php line 211