OS Property support center

Location Info + Neighborhood fixes

  • Thanasis Karatzas
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 months ago #42483 by Thanasis Karatzas
Location Info + Neighborhood fixes was created by Thanasis Karatzas
Hello again my friend!

I have 2 more questions about the OS Property configuration.

1. How can i change some of the Neighborhood options text?
For example hospital - doctor or super market - shopping mall.

2. In the location info while viewing a property how can i remove all the checked
things above the map? Schools, Hospitals and other....
(to help you understand better i have added a screenshot)

Thanx in advance!
Attachments:

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

More
11 years 2 months ago #42495 by Mr. Dam
Replied by Mr. Dam on topic Location Info + Neighborhood fixes
Hi,
1. You can change the Neighborhood options text by using Translation labels at backend of OS Property
2. To remove the checked thing above the map, please follow these step
Open file: components > com_osproperty > templates > your_current_template > details.html.tpl.php
find
<div class="row-fluid">
<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">

<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">

<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">

<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">

</div>
<div class="row-fluid">
<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">
</div>
<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">
</div>
<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">
</div>
<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">
</div>
</div>
<div class="row-fluid">
<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">
</div>
<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">
</div>
<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">
</div>
<div class="span2">
<i class="osicon-ok"></i> <a href=" local.google.com/local?f=l&hl=en&q=category:+ &om=1&near=" class="category" rel="nofollow">
</div>
</div>

and remove it
Thanks
Dam

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

More
10 years 5 months ago #54441 by Nils
Replied by Nils on topic Location Info + Neighborhood fixes
Hi .... I also want to delete some of this neighborhood fields but I can not find the code in the file. I looked in the default template because I am not sure which one is ours.

We bought the bundle with the template OSP Real Estate.

And I have some other questionsabout fields:

1. I want to create three fields for the owner of the object. This information is just for internal stuff members but at the moment it is shown on the frontend. How can I make these fields invisible?

2. We just need City and State/Province but not address, region, postcode. Can I delete this fields? And if yes, how can I do this?

3. Where can I change the page "adding a property" in frontend?

Thanks in advance.

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

More
10 years 5 months ago #54448 by Mr. Dam
Replied by Mr. Dam on topic Location Info + Neighborhood fixes
Hi,
- To remove Neighborhood fields, you can remove the records from MySQL table: #__osrs_neighborhood_names
1. 1. I want to create three fields for the owner of the object. This information is just for internal stuff members but at the moment it is shown on the frontend. How can I make these fields invisible?
-> When you add fields for owner (agent), you need to do follow these steps
a. Add columns in MySQL Table: #__osrs_agents
b. Make the modification on "Add/edit" agents at back-end and "Register/edit" agents at front-end
b. Make the function to show those fields at Owner (agent) details page

I believe it will be quite a lot of works

2. If you want to remove Address, region, postcode. It means you want to change "add/edit" property page. You can make the modification on
Back-end : administrator > components > com_osproperty > classes > property.html.php
Front-end : components > com_osproperty > helpers > layouts > propertyedit.php -> this file is also the "add a property" page at front-end.

Good luck
Dam

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

More
10 years 5 months ago #54449 by Nils
Replied by Nils on topic Location Info + Neighborhood fixes
Hi Dam...

thx for you help......#1 is done and works good.

I think at #2 we missunderstood us. I dont want to add a field for an agent.... u know the private notice for agents? this is a internal information and nobody can see this. I just need three more fields of that for the contact data of the owner.

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

More
10 years 5 months ago #54482 by Mr. Dam
Replied by Mr. Dam on topic Location Info + Neighborhood fixes
Hi Nils,
It means you want some of existing fields (of agent) won't be shown in the Agent details, right?
Thanks
Dam

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

More
10 years 5 months ago #54492 by Nils
Replied by Nils on topic Location Info + Neighborhood fixes
No, I just want to have some extra fields for the objects....in the sample data for example you have the custom field group "other information" with some extra fields...but this information everybody can see. But I only want to see this fields when I edit an object but not on the frontpage for customers. It should be just invisible.

Thanks in advance and sorry for my english :))

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

More
10 years 5 months ago #54493 by Mr. Dam
Replied by Mr. Dam on topic Location Info + Neighborhood fixes
Hi,
The "extra fields" are applied for properties, not for agents or owners. Do you know it?
Thanks
Dam

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

More
10 years 5 months ago #54494 by Nils
Replied by Nils on topic Location Info + Neighborhood fixes
Hi Dam,

yeah I know....the extra fields are for the objects.....I want to fill in the data from the owner so that agents can see this internal information. You know its like the notice field...it is a internal field which is not visible for customers...and I just need three more of this kind of fields.... :laugh:

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

More
10 years 5 months ago #54497 by Mr. Dam
Replied by Mr. Dam on topic Location Info + Neighborhood fixes
Hi Nils,
Unfortunately, OS Property doesn't have feature like this. On above comment, i told you 2 steps to add fields for agents or owners. But in case you don't want to show those fields data at front-end. You can skip step 2. Only need to implement first step
Thanks
Dam

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

Moderators: Mr. DamNguyen Phu Quan