Page 1 of 1

For using a Logo image

PostPosted: 07 Sep 2015, 15:13
by songdohomes
Dear developers,

I am happy with your Open Real Estate for over 1 year.
Sometimes, I wonder why the logo of this product should be done by text in SEO setting .

Of course, I can use a image (themes/atlas/images/logo.png) as logo but I could not remain empty the field of 'Site name' on SEO settings.
therefore, I have to enter any letter like as ' # ' and then it is shown logo image + # .

How can I use logo image properly?

Best,
songdohomes.com *THUMBS UP*

Re: For using a Logo image

PostPosted: 08 Sep 2015, 13:08
by Xpycm
Hello.

themes\atlas\views\layouts\main.php file

In this file replace
Code: Select all
<a title="<?php echo Yii::t('common''Go to main page'); ?>" href="<?php echo Yii::app()->controller->createAbsoluteUrl('/'); ?>">
    <img src="<?php echo Yii::app()->theme->baseUrl?>/images/logo.png" alt="<?php echo CHtml::encode(Yii::app()->name);?>"><?php echo CHtml::encode(Yii::app()->name);?>
</a>


with
Code: Select all
<a title="<?php echo Yii::t('common''Go to main page'); ?>" href="<?php echo Yii::app()->controller->createAbsoluteUrl('/'); ?>">
    <img src="<?php echo Yii::app()->theme->baseUrl?>/images/logo.png" alt="">
</a>