• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Googla Maps

secnam

Active member
#1
Hi, can anyone recommend the best way to insert a Google map above the forums/threads.

example, i have the following:


{google map here}
General Chat
Car Faults
Car sales

thanks

Paul
 

Brogan

XenForo moderator
Staff member
#2
You can add the embed HTML to an ad template or custom template, using a conditional statement to target the specific pages you want.
 

Brogan

XenForo moderator
Staff member
#5
Yes, just add the embed HTML code wrapped in the relevant conditional statement.

See the link in my signature for a guide on those.
 

secnam

Active member
#6
ok, i added the following as a new template:

<xen:if is="{$forum.node_id} == 137">
This content will show in forum x
</xen:if>

but it isnt showing above the threads in that specific node?

any ideas why