- Posts: 5
- Thank you received: 0
OS Property support center
Removing the view option and map
- Daniel Fernandes
- Topic Author
- Offline
- New Member
-
Less
More
11 years 3 months ago #40505
by Daniel Fernandes
Removing the view option and map was created by Daniel Fernandes
Hi,
I am using the default theme, and i would like to remove from the top the all 3 options the view option and the map view and google earth
Is this possible.
Thank you
I am using the default theme, and i would like to remove from the top the all 3 options the view option and the map view and google earth
Is this possible.
Thank you
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13058
- Thank you received: 1696
11 years 3 months ago #40507
by Mr. Dam
Replied by Mr. Dam on topic Re: Removing the view option and map
Hi,
Yes, it's posible, to remove the bar, please follow these steps.
1. Open file
components > com_osproperty > templates > default > listing.html.tpl.php
2. find
<a href="javascript:updateView(3)" title="<?php echo JText::_('OS_CHANGE_TO_GRID_VIEW');?>">
<img src="<?php echo JURI::root()?>components/com_osproperty/images/assets/gridview.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>
<?php
if($configClass == 1){
?>
<a href="javascript:updateView(4)" title="<?php echo JText::_('OS_CHANGE_TO_GOOGLE_EARTH_KML');?>">
<img src="<?php echo JURI::root()?>components/com_osproperty/images/assets/kml.png" style="border:1px solid #CCC !important;padding:1px;" />
</a>
<?php
}
?>
<input type="hidden" name="listviewtype" id="listviewtype" value="<?php echo JRequest::getVar('listviewtype',$_COOKIE); ?>"/>
and remove it
Good luck
Dam
Yes, it's posible, to remove the bar, please follow these steps.
1. Open file
components > com_osproperty > templates > default > listing.html.tpl.php
2. find
<a href="javascript:updateView(3)" title="<?php echo JText::_('OS_CHANGE_TO_GRID_VIEW');?>">
<img src="<?php echo JURI::root()?>components/com_osproperty/images/assets/gridview.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>
<?php
if($configClass == 1){
?>
<a href="javascript:updateView(4)" title="<?php echo JText::_('OS_CHANGE_TO_GOOGLE_EARTH_KML');?>">
<img src="<?php echo JURI::root()?>components/com_osproperty/images/assets/kml.png" style="border:1px solid #CCC !important;padding:1px;" />
</a>
<?php
}
?>
<input type="hidden" name="listviewtype" id="listviewtype" value="<?php echo JRequest::getVar('listviewtype',$_COOKIE); ?>"/>
and remove it
Good luck
Dam
The following user(s) said Thank You: nadinekirma
Please Log in or Create an account to join the conversation.
- Daniel Fernandes
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
11 years 3 months ago #40512
by Daniel Fernandes
Replied by Daniel Fernandes on topic Re: Removing the view option and map
Thank you, very much, for the quick answer :laugh:
Please Log in or Create an account to join the conversation.
- nadinekirma
-
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
10 years 8 months ago #48621
by nadinekirma
Replied by nadinekirma on topic Re: Removing the view option and map
Today I needed this very solution and it worked perfectly. Thanks!
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13058
- Thank you received: 1696
10 years 8 months ago #48665
by Mr. Dam
Replied by Mr. Dam on topic Re: Removing the view option and map
You are welcome
Dam
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.