Logo on different languge pages.

  • Jasway
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 6 months ago #33049 by Jasway
My joomla 2.5 (updated)
Template Explorer

Hey!!

I having some problems here with the logo function on the template.
My joomla site is divided into 6 different languages. I have just one single logo type to all of them.
The templete is split into 6 template for each language, duplicated from the default.

Now! my logo is showing fine on the first two templates/languages english and danish but the other tree is not. I could go to the index page for specific language, but I CANT (??) since the html for each particular template language is auto generated.

Whats wrong with this temple why it wont show the logo from the sparky template?????


//

Please Log in to join the conversation.

More
11 years 6 months ago #33057 by ivan.milic
Can we see link, if you need to show us back-end use "Report To Moderator" to send us login info

Please Log in to join the conversation.

  • Jasway
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 6 months ago #33119 by Jasway

Please Log in to join the conversation.

More
11 years 6 months ago #33126 by ivan.milic
Your site requires login

Please Log in to join the conversation.

  • Jasway
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 6 months ago #33156 by Jasway
Hey sorry about that.
It should be fine now!

I appreciate the help!

Please Log in to join the conversation.

More
11 years 6 months ago #33170 by ivan.milic
Do you have template clone for different langues if yes you need to set logo image in each one of them. If no in templates\hot_explorer\library\logo.php
Code:
<?php if($logoImageSwitch) { ?> <div class="sparky_logo_image"><a href="index.php"><img src="<?php echo $template_path."/images/".$logoImageFile; ?>" alt="<?php echo $logoImageAlt; ?>" /></a></div> <?php }else{ ?>

change to:
Code:
<?php if($logoImageSwitch || true) { ?> <div class="sparky_logo_image"><a href="index.php"><img src="<?php echo $template_path."/images/".$logoImageFile; ?>" alt="<?php echo $logoImageAlt; ?>" /></a></div> <?php }else{ ?>

also you can just put absolute path to logo image in IMG src attribute tag if that makes problems.
The following user(s) said Thank You: Jasway

Please Log in to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum