Logo Type - Option

GK User
Fri Aug 28, 2015 2:54 pm
Hi,
I have updated the gk_photo to the latest version and in the process I have lost my text logo and can't find an option within the template details.

I have ensured that no logo has been selected within the template settings but I still see a blank image on the menu.

Site URL is www.beachbros.co.uk/new

Many thanks
User avatar
Fresh Boarder

GK User
Sat Aug 29, 2015 9:51 am
i have the same issue!!
User avatar
Junior Boarder

teitbite
Sat Aug 29, 2015 5:34 pm
Hi

Please send me an access to joomla panel and ftp. I'll check.
User avatar
Moderator

GK User
Wed Sep 02, 2015 11:58 am
Hi Teitbit - I have PM'd the login details
User avatar
Fresh Boarder

GK User
Thu Sep 03, 2015 11:42 am
I have come up with a solution which works for me - which is to comment out the following lines of code in
layouts/default.php
Code: Select all
//$logo_image = $this->API->get('logo_image', '');
//$logo_image = $this->API->URLbase() . $logo_image;
//$logo_image_header = $this->API->get('logo_image_header', '');
//$logo_image_header = $this->API->URLbase() . $logo_image_header;


Hope it helps someone else with the same problem
User avatar
Fresh Boarder

GK User
Fri Sep 04, 2015 12:16 pm
Thanks a lot Oliver Beach its worked for me.

:!: How the copyright module position is hiden on responsive? (for mobile devices hiden)
User avatar
Junior Boarder

teitbite
Sat Sep 05, 2015 3:01 pm
Hi

It's a little bit radical change :) but if it works than in both Your cases I would advice to leave it like that. I will report this to programmers anyway so they may come up with a fix to use image and text solution without any problems.
User avatar
Moderator

GK User
Mon Sep 07, 2015 5:06 pm
I have the solution that will be introduced with next template release...
Please edit file:
templates/gk_photo/layouts/default.php
and find this block of code:
Code: Select all
$logo_image = $this->API->get('logo_image', '');
$logo_image = $this->API->URLbase() . $logo_image;
$logo_image_header = $this->API->get('logo_image_header', '');
$logo_image_header = $this->API->URLbase() . $logo_image_header;

and change it to:
Code: Select all
if ($logo_image != '') {
   $logo_image = $this->API->URLbase() . $logo_image;
}
$logo_image_header = $this->API->get('logo_image_header', '');
if ($logo_image_header != '') {
   $logo_image_header = $this->API->URLbase() . $logo_image_header;
}
User avatar
Moderator


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