Page 1 of 1

RSS feed button missing

PostPosted: 14 Feb 2019, 04:34
by luckyphan
Dear Support,

The RSS feed button is missing, how to make the button appear again ?

Thanks

Re: RSS feed button missing

PostPosted: 14 Feb 2019, 16:30
by Foton
Hello, which button do you mean?

Re: RSS feed button missing

PostPosted: 15 Feb 2019, 02:32
by luckyphan
Hi, the rss feed button which usually appear after user click on search.

Re: RSS feed button missing

PostPosted: 15 Feb 2019, 02:38
by luckyphan
This rss feed button is not showing after the search option.

Re: RSS feed button missing

PostPosted: 15 Feb 2019, 12:09
by Foton
If you mean Basis-theme - you can add it by changing code in themes/basis/views/modules/quicksearch/views/index.php from
Code: Select all
if(issetModule('rss')){
        $wTitle = /*'<a target="_blank" title="'.tt('rss_subscribe', 'rss').'" class="rss-icon" href="'
            .$this->createUrl('mainsearch', CMap::mergeArray($_GET, array('rss' => 1))).'"><img alt="'.tt('rss_subscribe', 'rss').'" src="'
            .Yii::app()->theme->baseUrl.'/images/feed-icon-28x28.png" /></a>'
            .*/
Yii::t('module_apartments', 'Apartments list');
    }

to
Code: Select all
if(issetModule('rss')){
        $wTitle = '<a target="_blank" title="'.tt('rss_subscribe', 'rss').'" class="rss-icon" href="'
            .$this->createUrl('mainsearch', CMap::mergeArray($_GET, array('rss' => 1))).'"><i class="fas fa-rss"></i></a> '
            .Yii::t('module_apartments', 'Apartments list');
    }

if you need orange color, add this code
Code: Select all
.fa-rss {
    color: #fd7e14;
}

to themes/basis/assets/css/style.css

Re: RSS feed button missing

PostPosted: 15 Mar 2019, 17:10
by Durden
Is there a way to customize the RSS feed button, by the way?

Re: RSS feed button missing

PostPosted: 19 Mar 2019, 15:09
by Foton
What customisation do you need?