Theme Compatibility anchor.png

You don't need to modify your favorite Xoops 2.0.16 theme to use it with your new XOOPS Cube 2.1 Legacy

Please read the XOOPS Cube Wiki about migration

Xoops 2.0.16 use a bottom blocks hack which is not present on Legacy. This is not a problem and you can keep it for compatibility. For a light theme and faster render you can remove from your theme.html the hack which is similar to the following tableless code:

<{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright or $xoBlocks.page_bottomcenter}>
<!-- Start Xoops 2.0.16 Bottom Blocks -->
<div id="bottomcolumns">
    <{if $xoBlocks.page_bottomcenter}>
    <!-- Start Blocks Bottom Center-Center -->
    <{foreach from=$xoBlocks.page_bottomcenter item=block}>
    <div id="bottomCcolumn">
    <div class="blockTitle"><{$block.title}></div>
    <div class="blockContent"><{$block.content}></div>
    <!-- End Blocks Bottom Center-Center -->

    <{if $xoBlocks.page_bottomleft or $xoBlocks.page_bottomright}>
    <!-- Start Blocks Bottom Center Left -->
    <{foreach from=$xoBlocks.page_bottomleft item=block}>
    <div id="bottomLcolumn">
    <div class="blockTitle"><{$block.title}></div>
    <div class="blockContent"><{$block.content}></div>
    <!-- End Blocks Bottom Center Left -->
    <!-- Start Blocks Bottom Center Right -->
    <{foreach from=$xoBlocks.page_bottomright item=block}>
    <div id="bottomRcolumn">
    <div class="blockTitle"><{$block.title}></div>
    <div class="blockContent"><{$block.content}></div>
    <!-- End Blocks Bottom Center Right -->
<!-- End Xoops 2.0.16 Bottom Blocks -->

With or without Xoops 2.0.16 bottom blocks hack, your theme will render nice within the new XOOPS Cube 2.1 Legacy

There's a last code modification. Please, check your stylesheet (commonly style.css) for the following classes:

/*----------------- Xoops.org 2.0.16 Bottom Columns ----------------------- */

#bottomcolumns {float:left; width:100%;}

#bottomCcolumn {width:100%; float:left; margin-top:10px;}
#bottomCcolumn .blockTitle {}
#bottomCcolumn .blockContent {}

#bottomLcolumn {width: 49%; float:left; margin-top:10px;}
#bottomLcolumn .blockTitle {}
#bottomLcolumn .blockContent {}

#bottomRcolumn {width: 49%; float:right; margin-top:10px;}
#bottomRcolumn .blockTitle {}
#bottomRcolumn .blockContent {}

Again, this is based on a tableless code that i'm using but you should easily find the keyword 'bottom'.

Finally you're free to leave or remove that code. Anyway, your theme will render nice on XOOPS Cube 2.1 Legacy

You can also create a manifesto.ini.php to provide informations/credits that are visibe from the XOOPS Cube Legacy cpanel.

Create a manifesto.ini.php under your theme folder

with the following code:


Name="My Theme Name goes Here"

Format="XOOPS2 Legacy Style"
Author=My Name goes Here
Description="My Theme description goes here"


*/ [#tc4500aa]

Finally, modify the code above to match your information!
Edit: Name, Url, Version, Author, Description and License

Front page   Freeze Diff Backup Copy Rename ReloadPrint View   New Page Page list Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom) Powered by xpWiki
Counter: 36013, today: 2, yesterday: 5
Princeps date: 2007-12-07 (Fri) 04:25:32
Last-modified: 2007-12-07 (Fri) 04:25:32 (JST) (4910d) by Anonymous

Welcome | News | Overview | Documentation | Forum | Tutorialstop
Brasilian | French | German | Greek | Japanese | Korean | Russian | T-Chinese
Powered by XOOPS Cube 2001-2011 The XOOPS Cube Project