- Posts: 31
- Thank you received: 0
Insert Google maps in contact
-
nazanintb
Inactive member -
Topic Author
- Member
-
Less
More
11 years 9 months ago #29302
by nazanintb
Insert Google maps in contact was created by nazanintb
Hello Guys :
I have registered my business address in google maps. Can you please tell me how to insert the html code that google maps gives , in the contact page , to insert it.
the code looke like this :
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src=" maps.google.com/maps?f=q&source=s_q&...c=A&output=embed ">
maps.google.com/maps?f=q&source=embe...amp;z=14&iwloc=A " style="color:#0000FF;text-align:left">View Larger Map
many thanks
I have registered my business address in google maps. Can you please tell me how to insert the html code that google maps gives , in the contact page , to insert it.
the code looke like this :
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src=" maps.google.com/maps?f=q&source=s_q&...c=A&output=embed ">
maps.google.com/maps?f=q&source=embe...amp;z=14&iwloc=A " style="color:#0000FF;text-align:left">View Larger Map
many thanks
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 9 months ago #29319
by ivan.milic
Replied by ivan.milic on topic Insert Google maps in contact
You can set html content in contact edit page. Just swap to html view and paste your code.
Please Log in to join the conversation.
-
nazanintb
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 31
- Thank you received: 0
11 years 9 months ago #29346
by nazanintb
Replied by nazanintb on topic Insert Google maps in contact
Sorry, But in the contacts menu under components, this contact page is your pre-defined contact page, and I can only edit, name, address etc, .... and there's no swap to HTML there
I also tried finding the HTML file in my host in the contact folder,
templates/hot_architecture/html/com_contact/contact/default.php
but there are only two, php files , named defualt.php, defualt_form.php and one index.php , with only one line .
Can you be more specific please ?
thank you
I also tried finding the HTML file in my host in the contact folder,
templates/hot_architecture/html/com_contact/contact/default.php
but there are only two, php files , named defualt.php, defualt_form.php and one index.php , with only one line .
Can you be more specific please ?
thank you
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 9 months ago #29352
by ivan.milic
Replied by ivan.milic on topic Insert Google maps in contact
So you go to Components->Contacts->Contacts , you get list of all of your contacts, you click some contact and you get edit form containing WYSIWYG editor you can paste your code to.
I see you would maybe also what to do it by editing php files. By default we dont have overide for taht template and if files you see have only one line that is strange.
Copy default files from:
components\com_contact\views\contact\tmpl\
to
templates/hot_architecture/html/com_contact/contact/
then edit your overrides.
If you have currently files with one line ??? ... that is not our work...???
I see you would maybe also what to do it by editing php files. By default we dont have overide for taht template and if files you see have only one line that is strange.
Copy default files from:
components\com_contact\views\contact\tmpl\
to
templates/hot_architecture/html/com_contact/contact/
then edit your overrides.
If you have currently files with one line ??? ... that is not our work...???
Please Log in to join the conversation.
-
nazanintb
Inactive member -
Topic Author
- Member
-
Less
More
- Posts: 31
- Thank you received: 0
11 years 9 months ago #29353
by nazanintb
Replied by nazanintb on topic Insert Google maps in contact
1- when I go to a contact I dont have an option of changing the html with a WYSIWYG editor (in my case JCE editor ) only a form which I have to fill out, like name , address, etc.
2- in the contact file, other than those default.php and default_form.php files I have an index.html containing only this line : ( and I have never changed this by the way )
<html><body bgcolor="#FFFFFF"></body></html>
should change these files ? or if you need to take a look , I will send you my password
thank you
2- in the contact file, other than those default.php and default_form.php files I have an index.html containing only this line : ( and I have never changed this by the way )
<html><body bgcolor="#FFFFFF"></body></html>
should change these files ? or if you need to take a look , I will send you my password
thank you
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 9 months ago #29359
by ivan.milic
Replied by ivan.milic on topic Insert Google maps in contact
See attached , you must have contact edit form.
That index.html file is irrelevant , only php files are important.
That index.html file is irrelevant , only php files are important.
Please Log in to join the conversation.
Time to create page: 0.094 seconds