... Elxis version 2009.2 codename Electra is out, download it from Elxis Download Center (EDC) ...
ETabs
From Elxis Official Documentation
Module eTabs by Ioannis Sannos (Is Open Source) generates up to 5 sliding tabs using MooTools. Inside each tab you can display any module position you wish. You can see this module in action in elxis.org web site front-page.
Contents |
General
Module: eTabs
Author: Ioannis Sannos
Version: 1.0
Download link: eTabs at EDC
License: GNU/GPL
Compatibility: Elxis 2008.x/2009.x, PHP 5.x
Release date: July 24, 2009
Tabs set up
Each of the five tabs has three parameters.
- Show. Set this to YES if you are going to display a module in that tab.
- Title. The tab title shown at the top of the tab as a link to the tab.
- Module position. The module position to load. If you add left for example then inside this tab all modules set to be displayed in the position left will be loaded inside that tab.
Read about Elxis module positions.
| I recommend you to use module positions that do not exist in your template. If you don't do that your modules will be loaded twice (once by eTabs and a second time by your template). |
Styling
The module uses CSS for styling. The CSS can be loaded either by using javascript or by placing a stylesheet link in your template header (recommended). Both options generate XHTML valid source code.
If you wish to load CSS using javascript set the Load CSS parameter to JavaScript.
If you wish to load CSS by placing a stylesheet link in your template's header then set the Load CSS parameter to Template, open your template's index.php file with a text editor or from within Elxis administration and place the following line inside the head section of your template (bellow the template's main stylesheet link).
<link rel="stylesheet" type="text/css" href="<?php echo $mainframe->getCfg('live_site'); ?>/modules/mod_etabs/etabs.css" />
To modify the appearance of the module edit that CSS file.
Loaded modules style
You can select how you wish your modules to be loaded inside the tabs. Options are Naked (style -1), Moduletable (style -2) and Rounded Corners (style -3). The default and recommended option is Naked (-1). Read about Elxis modules style.
Automatic tab titles translation
The module was specially built for the needs of the elxis.org web site. So, I added inside it a feature that translates tab titles depending on the user selected language (English/Greek). You can open the mod_tabs.php file find the function metafrasi and modify it based on your needs in order to have multi-lingual tab titles. Notice that the mod_etabs.php file has to be saved as UTF-8.

