New Zenner
- Join Date:
- Sep 2010
- Posts:
- 30
- Plugin Contributions:
- 0
HOW CAN I PLACE THE Languages BAR?
HOW CAN I PLACE THE Languages BAR?

:unsure::unsure::unsure:
PLS HELP ME :(
Views: 973
New Zenner
HOW CAN I PLACE THE Languages BAR?

:unsure::unsure::unsure:
PLS HELP ME :(
Black Belt
We'll need a link to the site.
New Zenner
Black Belt
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.
New Zenner
gjh42:
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.
is that copy the includes/modules/sideboxes/languages.php into
includes/templates/your_template/common/tpl_header.php ??
can i know more , thank so much:smile:
Black Belt
You might adapt this code from tpl_header.php:```php
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div> ```Something like ```php <div id="headerLanguages"><?php require(DIR_WS_MODULES . 'sideboxes/languages.php'); ?></div> ``` Paste the code into tpl_header.php in the sequence where you want it to display (not inside other code blocks).New Zenner
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div> ```Something like > ```php <div id="headerLanguages"><?php require(DIR_WS_MODULES . 'sideboxes/languages.php'); ?></div> ``` > Paste the code into tpl_header.php in the sequence where you want it to display (not inside other code blocks).gjh42:
You might adapt this code from tpl_header.php:```php
:dontgetit
i can't find the words "div id="navMainSearch" in includes/modules/sideboxes/languages.php into and
includes/templates/your_template/common/tpl_header.php
what is my problem:(
Black Belt
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.
Tell staff why this post should be reviewed.