S secnam Active member Jun 23, 2015 #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
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
P Paul B XenForo moderator Staff member Jun 23, 2015 #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. Upvote 0 Downvote
You can add the embed HTML to an ad template or custom template, using a conditional statement to target the specific pages you want.
S secnam Active member Jun 23, 2015 #4 Also to add i am looking to add a different map in different forums/sections - is this possible. Upvote 0 Downvote
P Paul B XenForo moderator Staff member Jun 23, 2015 #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. Upvote 0 Downvote
Yes, just add the embed HTML code wrapped in the relevant conditional statement. See the link in my signature for a guide on those.
S secnam Active member Jun 23, 2015 #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 Upvote 0 Downvote
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
P Paul B XenForo moderator Staff member Jun 23, 2015 #7 Which template did you add it to? The template needs to be called if it is to be displayed. Upvote 0 Downvote
S secnam Active member Jun 23, 2015 #8 i went to appearance, templates and then created the new template. How do i call it? sorry im not upto speed on xenforo. Upvote 0 Downvote
i went to appearance, templates and then created the new template. How do i call it? sorry im not upto speed on xenforo.
P Paul B XenForo moderator Staff member Jun 23, 2015 #9 I would recommend just using one of the ad_* templates rather than creating your own. Upvote 0 Downvote
S secnam Active member Jun 23, 2015 #10 Sorted thank you, great support Brogan thanks. Upvote 0 Downvote