Contact page Map

GK User
Tue Sep 16, 2014 6:32 pm
Hello,

I made some changes in the Address and Contact details in the Contact form from Components-->Contact-->Contact-->Steakhouse and after saving it, the map disappeared.

I read through the other forum topic and found a similar topic that had the suggestion to add the map co-ordinates in the 'Miscellaneous Information' tab with the editor being disabled. On following that, I did get the map as before, but the map also appears under the Contact details with 'Miscellaneous Information' title over it.

I don't want the second map appearing there.

How do I achieve this? Also, can I please know the PHP file location for the Contact page for me to make some changes in the layout?

Thanks
User avatar
Senior Boarder

teitbite
Thu Sep 18, 2014 9:53 am
Hi

Please tell me the urls to pages you are talking anout.
User avatar
Moderator

GK User
Fri Sep 19, 2014 6:32 pm
Hi,

I've PM you the URL.

Thanks
User avatar
Senior Boarder

teitbite
Sat Sep 20, 2014 11:28 am
Hi

You need to disable editor in user settings and in contact add this code on top of the "Miscellaneous Informations":

Code: Select all
<div class="gk-map static" data-latitude="-34.397" data-longitude="150.644" data-ui="yes" data-zoom="8"> </div>
User avatar
Moderator

GK User
Sat Sep 20, 2014 2:11 pm
Hi,

That did the needful.

The other thing I had to do was to hide the Misc. Information from the Display tab.

Thanks for all your inputs. This question is now solved.

Cheers :D
User avatar
Senior Boarder

teitbite
Sun Sep 21, 2014 9:27 am
Munawwar.khan wrote:The other thing I had to do was to hide the Misc. Information from the Display tab.


Hi

Can You pleas explain. I do not know what You have in mind.
User avatar
Moderator

GK User
Fri Sep 26, 2014 2:24 pm
Hi,

That sentence wasn't something I wanted to achieve. That was a part of the steps taken to achieve the desired results.

Thanks for all your support :)
User avatar
Senior Boarder

teitbite
Sat Sep 27, 2014 11:11 am
Hi

Ach. Ok :) No problem. Glad I could help :)
User avatar
Moderator


cron