Logo on the multilingual site

October 2015 Joomla Template
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Dec 08, 2016 5:27 pm
Reply with quote
Report this post
Hi!
How to change the logo on the multilingual site with falang (News refreshed)
Regards
Joachim
User avatar
Senior Boarder

teitbite
Tue Dec 13, 2016 1:45 pm
Reply with quote
Report this post
Hi

Depends what method You are using. If it's css logo than You may simply overwrite css with url to different logos:

Code: Select all
html[lang="pl"] #gkLogo {
background-image: url(path_to_image/logo_pl.png);
}

html[lang="en"] #gkLogo {
background-image: url(path_to_image/logo_en.png);
}


If it's an image option than a change to /layout/blocks/logo.php will be required:

Code: Select all
<?php
switch( $this->API->get('lang') ):
   case "en-GB":
      $logo_image = 'logo_en.png';
      break;
   case "pl-PL":
      $logo_image = 'logo_pl.png';
      break;
endswitch;
?>
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.