Multilanguage , how to put language flags in templ - HotThemes Forum - Hot Themes

Multilanguage , how to put language flags in templ

  • zeroone
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 1 month ago #34261 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

Please Log in to join the conversation.

More
11 years 1 month ago - 11 years 1 month ago #34272 by ivan.milic
Open:

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
  • Member
More
11 years 1 month ago #34294 by zeroone
Ok Worked!

Thanks

Please Log in to join the conversation.

  • zeroone
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 1 month ago #34329 by zeroone
Sorry, now new problem. Menu isn't responive on IPAD an Iphone because of this.

Please help fix this.

Please Log in to join the conversation.

More
11 years 1 month ago #34330 by ivan.milic

Please Log in to join the conversation.

  • zeroone
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 1 month ago #34331 by zeroone

Please Log in to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum