Hello, I have read the tutorial about the Custom Module Positions, but i will need some help.
First of all my goal is to add the language switcher, where the login/register buttons now are.
I took those steps...
in the index.php file i insert the following code -->
<div id="s5_header_wrap">
<?php if($s5_pos_logo == "published") { ?>
<div id="s5_logo_module">
<?php s5_module_call('logo','notitle'); ?>
</div>
<?php } else { ?>
<img alt="logo" src="<?php echo $s5_directory_path ?>/images/s5_logo.png" id="s5_logo" onclick="window.document.location.href='<?php echo $LiveSiteUrl ?>'" />
<?php } ?>
<?php if ($s5_show_menu == "show") { ?>
<div id="s5_menu_wrap">
<?php include("vertex/s5flex_menu/default.php"); ?>
</div>
<?php } ?>
<div id="s5_minemodule">
<?php s5_module_call('s5_minemodule','notitle'); ?> </div>
<?php if (($s5_login != "") || ($s5_register != "")) { ?>
<div id="s5_loginreg">
<div id="s5_logregtm">.......
i named my new position "
s5_minemodule"..
In the templateDetails.xml i have inserted my new position --> <position>s5_minemodule</position>
and after that i have created custom.css -->
#s5_minemodule {
position: absolute;
float: right;
margin-left: 700px;
font-weight: 700 !important;
margin-top: 46px;
font-size: 1.1em;
cursor: pointer; }
Because i havent created yet a multilanguage site, for now to see if the code is working, In the admin panel i have createed a custom module with the name
module test and i have inserted just a small text inside...
Now i can see from the code that the elements are been loaded on the site, but i can not see them..
Is there anything else i can do?
here is a link to the site :
http://mitsoudis.gr/