Elxis CMS Forum
Support => Elxis 4.x/5.x DEV => Topic started by: seadhna on April 08, 2014, 17:02:39
-
In Components>Search>Parameters under 'Add to Browser' I have clicked No, but the add to browser icons continue to appear in search results. What else do I need to do to hide this element?
-
This is impossible. If parameter "os_add" of component Search if is set to No (0) the "add to browser" icons are not get displayed.
Are you sure you don't confuse it with the "Open search" module?
-
datahell,
I replicated the issue on my side.
I went to extensions>components>search>parameters>NO for "Add to browser". It didn't remove the browser icons.
So, what I did, I directly removed the code :
if ((int)$params->get('add_os', 1) == 1) {
$this->addSearchProvider();
}
Those lines are found at:
...components/com_search/views/main.html.php
After doing that, the browser icons disappeared. :-\
-
Thanks Striker, I have used CSS to hide the unwanted content instead - until the glitch is fixed.
many thanks.