- Posts: 17
- Thank you received: 0
OS Property support center
Disable icon
- Leilson
- Topic Author
- Offline
- New Member
-
Less
More
11 years 6 months ago #36376
by Leilson
Disable icon was created by Leilson
how to disable the icon "change to map view" and " change to list view"?
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13025
- Thank you received: 1692
11 years 6 months ago #36378
by Mr. Dam
Replied by Mr. Dam on topic Re: Disable icon
Hi,
In Default template of OS Property, it's impossible to remove the icons unless we make the modification at the source code to remove them.
Thanks
Dam
In Default template of OS Property, it's impossible to remove the icons unless we make the modification at the source code to remove them.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Leilson
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
11 years 6 months ago #36380
by Leilson
Replied by Leilson on topic Re: Disable icon
ok Dam
which file do I remove the icons?
which file do I remove the icons?
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13025
- Thank you received: 1692
11 years 6 months ago #36388
by Mr. Dam
Replied by Mr. Dam on topic Re: Disable icon
Hi,
You can edit it in 2 files
components > com_osproperty > templates > default > grid.html.tpl.php
and
components > com_osproperty > templates > default > result.grid.html.tpl.php
You can find this code
<a href="javascript:updateView(1)" title="<?php echo JText::_('OS_CHANGE_TO_LIST_VIEW');?>">
<img src="<?php echo JURI::root()?>components/com_osproperty/images/assets/listview.png" style="border:1px solid #CCC !important;padding:1px;" />
</a>
<a href="javascript:updateView(2)" title="<?php echo JText::_('OS_CHANGE_TO_MAP_VIEW');?>">
<img src="<?php echo JURI::root()?>components/com_osproperty/images/assets/mapview.png" style="border:1px solid #CCC !important;padding:1px;" />
</a>
and remove it
Thanks
Dam
You can edit it in 2 files
components > com_osproperty > templates > default > grid.html.tpl.php
and
components > com_osproperty > templates > default > result.grid.html.tpl.php
You can find this code
<a href="javascript:updateView(1)" title="<?php echo JText::_('OS_CHANGE_TO_LIST_VIEW');?>">
<img src="<?php echo JURI::root()?>components/com_osproperty/images/assets/listview.png" style="border:1px solid #CCC !important;padding:1px;" />
</a>
<a href="javascript:updateView(2)" title="<?php echo JText::_('OS_CHANGE_TO_MAP_VIEW');?>">
<img src="<?php echo JURI::root()?>components/com_osproperty/images/assets/mapview.png" style="border:1px solid #CCC !important;padding:1px;" />
</a>
and remove it
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.