Hi All,
I’m sure this has been asked before but can’t find anything via a search.
I’ve got a Google Map template group which needs a specific javascript file (which is generated via looping through a weblog). This script looks for a div with an id of ‘map’ to attach the map too. I’ve got an embed template for my header code but don’t want this script file to apply to every page.
Can I do something like
{if my-page-is-from-template-group'map'}
// add my javascript file link
{/if}Thanks,
Brett