Shape 5

Joomla Templates => CleanOut - Club => : dismacon March 28, 2015, 11:14:19 AM



: Positions Register/Login for Multilanguage flags?
: dismacon March 28, 2015, 11:14:19 AM
Dear S5-Team,

I set up my homepage as a multilanguage Side according to Joomla 3.x rules and would like to operate with the flag symbols. Therefore I chose the positions "register" or "login" - since I do not use those functions and would like to have the flags right on top, next to the menu. BUT: It doesn't show up there. It shows on other positions, though, so that I know the flags work in general, but I cannot find a position to put them where I want.

Could you please help me!

Thanks
Falk


: Re: Positions Register/Login for Multilanguage flags?
: jonahh March 31, 2015, 02:02:20 PM
Hello Falk,

The login and register positions show inside the S5 box.  The positions are inside this module not on the page this is why they aren't showing.  You would need to add a custom module position.  Here is some code to help you add one.  This is "custom_6" so once you add the below to wherever you desire in your index.php file:

:
<?php if($s5_pos_custom_6 == "published" && $s5_menu_position_type == "flex") { ?>	
<div id="s5_pos_custom_6">
<?php s5_module_call('custom_6','notitle'); ?>
</div>
<?php ?>


: Re: Positions Register/Login for Multilanguage flags?
: dismacon April 01, 2015, 02:16:15 AM
Hi Jonah,

thanks for your reply but it doesn't work. I added two screenshots to show that I followed your instructions. Did I miss something out?

Thanks
Falk


: Re: Positions Register/Login for Multilanguage flags?
: jonahh April 01, 2015, 05:51:11 PM
Just have to edit my code, take:

<?php if($s5_pos_custom_6 == "published" && $s5_menu_position_type == "flex") { ?>   

and change to:

<?php if($s5_pos_custom_6 == "published") { ?>