- Posts: 29
- Thank you received: 0
Multilanguage , how to put language flags in templ
-
zeroone
Inactive member - Topic Author
- Member
Less
More
11 years 1 month ago #34261
by zeroone
Multilanguage , how to put language flags in templ was created by zeroone
I made the site multilanguage, now only problem is there is no position between LOGO and Menu to publish language flags.
How can i publish the flags there?
Thanks
How can i publish the flags there?
Thanks
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 1 month ago - 11 years 1 month ago #34272
by ivan.milic
Replied by ivan.milic on topic Multilanguage , how to put language flags in templ
Open:
templates\hot_one_page\library\logo.php
replace all code with:
then use logo position to place language switcher in it
templates\hot_one_page\library\logo.php
replace all code with:
Code:
<div class="cell mp_<?php echo $mpostion[0];?> span<?php echo $mpostion[1];?>">
<div class="cell_pad">
<?php if($logoImageSwitch) { ?>
<div class="hot_one_page_logo_image"><a href="index.php"><img src="<?php echo $template_path."/images/".$logoImageFile; ?>" alt="<?php echo $logoImageAlt; ?>" /></a></div>
<?php }else{ ?>
<div class="hot_one_page_logo"><a href="index.php"><?php echo $logoText; ?></a></div>
<div class="hot_one_page_slogan"><?php echo $sloganText; ?></div>
<?php } ?>
<jdoc:include type="modules" name="logo" style="xhtml" />
</div>
</div>
then use logo position to place language switcher in it
Last edit: 11 years 1 month ago by ivan.milic.
Please Log in to join the conversation.
-
zeroone
Inactive member - Topic Author
- Member
Less
More
- Posts: 29
- Thank you received: 0
11 years 1 month ago #34294
by zeroone
Replied by zeroone on topic Multilanguage , how to put language flags in templ
Ok Worked!
Thanks
Thanks
Please Log in to join the conversation.
-
zeroone
Inactive member - Topic Author
- Member
Less
More
- Posts: 29
- Thank you received: 0
11 years 1 month ago #34329
by zeroone
Replied by zeroone on topic Multilanguage , how to put language flags in templ
Sorry, now new problem. Menu isn't responive on IPAD an Iphone because of this.
Please help fix this.
Please help fix this.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 1 month ago #34330
by ivan.milic
Replied by ivan.milic on topic Multilanguage , how to put language flags in templ
send link
Please Log in to join the conversation.
Time to create page: 0.079 seconds