HOW CAN I PLACE THE Languages BAR?
PLS HELP ME![]()
HOW CAN I PLACE THE Languages BAR?
PLS HELP ME![]()
We'll need a link to the site.
You have a languages sidebox. What exactly do you want to do with it? OK, you want to move it to the header, top right.
You will need to take the code from the module file (probably /includes/modules/sideboxes/languages.php) and put it into or call it from /includes/templates/your_template/common/tpl_header.php.
You might adapt this code from tpl_header.php:Something likePHP Code:<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
Paste the code into tpl_header.php in the sequence where you want it to display (not inside other code blocks).PHP Code:<div id="headerLanguages"><?php require(DIR_WS_MODULES . 'sideboxes/languages.php'); ?></div>
The first snippet is in tpl_header already, and has the same kind of function you want - to call a sidebox's code. You need to copy and alter it to call another sidebox's code.