Skip to content

Instantly share code, notes, and snippets.

@jmertic
Created May 9, 2012 15:31
Show Gist options
  • Select an option

  • Save jmertic/2645556 to your computer and use it in GitHub Desktop.

Select an option

Save jmertic/2645556 to your computer and use it in GitHub Desktop.
<?php
if (file_exists('./custom/modules/jjwg_Maps/tpls/' . $module_type . 'InfoWindow.tpl')) {
$marker['html'] = $this->sugarSmarty->fetch('./custom/modules/jjwg_Maps/tpls/' . $module_type . 'InfoWindow.tpl');
} else {
$marker['html'] = $this->sugarSmarty->fetch('./modules/jjwg_Maps/tpls/' . $module_type . 'InfoWindow.tpl');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment