OS Property support center

Disable icon

  • Leilson
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 7 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"?
Attachments:

Please Log in or Create an account to join the conversation.

More
10 years 7 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

Please Log in or Create an account to join the conversation.

  • Leilson
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 7 months ago #36380 by Leilson
Replied by Leilson on topic Re: Disable icon
ok Dam

which file do I remove the icons?

Please Log in or Create an account to join the conversation.

More
10 years 7 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

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamNguyen Phu Quan