Hi Thomas Baddeley,
Please open the yt_template.class.php file in "your_site/templates/sj_news25/includes", finding:
function getLogo(){
$app = JFactory::getApplication();
if ($this->getParam('logoType')=='image'):
if($this->getParam('overrideLogoImage')!=''):
if( strpos($this->getParam('overrideLogoImage'), '/') ){
$url = $this->getParam('overrideLogoImage');
}else{
if(is_file($this->templateurl().'images/'.$this->getParam('sitestyle').'/'.$this->getParam('overrideLogoImage'))){
$url = $this->templateurl().'images/'.$this->getParam('sitestyle').'/'.$this->getParam('overrideLogoImage');
}else{
$url = $this->templateurl().'images/'.$this->getParam('overrideLogoImage');
}
}
else:
if(is_file($this->templateurl().'images/'.$this->getParam('sitestyle').'/logo.png')){
$url = $this->templateurl().'images/'.$this->getParam('sitestyle').'/logo.png';
}else{
$url = $this->templateurl().'images/logo.png';
}
endif;
?>
<h1 class="logo">
<a href="index.php" title="<?php echo $this->getParam('logoText'); ?>">
<img alt="<?php echo $this->getParam('logoText'); ?>" src="<?php echo $url; ?>"/>
</a>
</h1>
<?php
else:
$logoText = (trim($this->getParam('logoText'))=='') ? $app->getCfg('sitename') : $this->getParam('logoText');
$sloganText = (trim($this->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $this->getParam('sloganText'); ?>
<h1 class="logo-text">
<a href="index.php" title="<?php echo $app->getCfg('sitename'); ?>"><span><?php echo $logoText; ?></span></a>
</h1>
<p class="site-slogan"><?php echo $sloganText;?></p>
<?php
endif;
}
change to:
function getLogo(){
$app = JFactory::getApplication();
//if ($this->getParam('logoType')=='image'):
if($this->getParam('overrideLogoImage')!=''):
if( strpos($this->getParam('overrideLogoImage'), '/') ){
$url = $this->getParam('overrideLogoImage');
}else{
if(is_file($this->templateurl().'images/'.$this->getParam('sitestyle').'/'.$this->getParam('overrideLogoImage'))){
$url = $this->templateurl().'images/'.$this->getParam('sitestyle').'/'.$this->getParam('overrideLogoImage');
}else{
$url = $this->templateurl().'images/'.$this->getParam('overrideLogoImage');
}
}
else:
if(is_file($this->templateurl().'images/'.$this->getParam('sitestyle').'/logo.png')){
$url = $this->templateurl().'images/'.$this->getParam('sitestyle').'/logo.png';
}else{
$url = $this->templateurl().'images/logo.png';
}
endif;
?>
<h1 class="logo">
<a href="index.php" title="<?php echo $this->getParam('logoText'); ?>">
<img alt="<?php echo $this->getParam('logoText'); ?>" src="<?php echo $url; ?>"/>
</a>
</h1>
<?php
//else:
$logoText = (trim($this->getParam('logoText'))=='') ? $app->getCfg('sitename') : $this->getParam('logoText');
$sloganText = (trim($this->getParam('sloganText'))=='') ? JText::_('SITE SLOGAN') : $this->getParam('sloganText'); ?>
<h1 class="logo-text">
<a href="index.php" title="<?php echo $app->getCfg('sitename'); ?>"><span><?php echo $logoText; ?></span></a>
</h1>
<p class="site-slogan"><?php echo $sloganText;?></p>
<?php
//endif;
}
Thanks