For using a Logo image

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

For using a Logo image

Postby songdohomes » 07 Sep 2015, 15:13

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*
songdohomes
Stranger
 
Posts: 2
Joined: 26 Jun 2014, 08:00
Reputation point: 0

Re: For using a Logo image

Postby Xpycm » 08 Sep 2015, 13:08

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>
Dropbox
Open Real Estate CMS: FAQ | FAQ 2 | FAQ 3
Image
Xpycm
Web Developer
Web Developer
 
Posts: 281
Joined: 30 Dec 2011, 11:06
Reputation point: 2


Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 26 guests