Post by fisol » Mon Jan 09, 2012 4:03 pm

I want to replace the logo in header, the resource in header.tpl is <img src="<?php echo $logo; ?>".

But when find in [codey[/code] folder I didn't see any variable $logo. So could you tell me where is this variable defined?

Thank you.

Newbie

Posts

Joined
Wed Jan 04, 2012 10:53 pm

Post by grgr » Mon Jan 09, 2012 5:24 pm

../catalog/controller/common/header.php

But if you want to change the logo then alter the image or change it in the admin settings.

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by fisol » Tue Jan 10, 2012 12:54 am

Sorry, but I can't find any $logo variable definition at your suggested file.

Newbie

Posts

Joined
Wed Jan 04, 2012 10:53 pm

Post by grgr » Tue Jan 10, 2012 4:57 am

if ($this->config->get('config_logo') && file_exists(DIR_IMAGE . $this->config->get('config_logo'))) {
$this->data['logo'] = $server . $this->config->get('config_logo');
} else {
$this->data['logo'] = '';
}

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by chow6693 » Sat Jan 14, 2012 10:31 am

I have looked everywhere. How do you changed the logo through the admin panel?
My front end is not displaying a default logo now so I am not sure that something is not configured right anyway.

Newbie

Posts

Joined
Sat Jan 14, 2012 12:41 am

Post by grgr » Sat Jan 14, 2012 4:34 pm

system > settings > image tab

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK
Who is online

Users browsing this forum: No registered users and 10 guests