different logo for different language

  • Kostovski
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
9 years 10 months ago #39899 by Kostovski
How to change the logo image in two different language. Please give me the solution.

Please Log in to join the conversation.

More
9 years 10 months ago #39903 by ivan.milic
Code for logo is in index.php of template:
Code:
<div class="logo"> <a href="index.php"><img src="<?php echo $template_path ?>/images/logo_<?php if($transparentImage=="white") { echo "black"; }else{ echo "white"; } ?>.png" width="381" height="96" alt="joomla restaurant template" /></a> </div>

you can modify path for image by inserting language tag someware, code for getting tag is:
Code:
<?php $lang = JFactory::getLanguage(); $lang_tag = $lang->getTag(); ?>

you can pay is for custom job to make you this.

Please Log in to join the conversation.

Time to create page: 0.359 seconds
Powered by Kunena Forum