Forum Support

Shape 5
March 28, 2024, 10:13:07 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Positions Register/Login for Multilanguage flags?  (Read 652 times)
dismacon
Jr. Member
**
Offline Offline

Posts: 11



« on: 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
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: 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:

Code:
<?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 ?>
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
dismacon
Jr. Member
**
Offline Offline

Posts: 11



« Reply #2 on: 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
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: 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") { ?>   
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.