02-12-2015, 07:41 PM
Joe,
I hate to sound ignorant is there an easier tutorial you can direct me to for creating a DETAILVIEWBASIC action link? I had a little hard time understand the documentation
I was able to figure out how to duplicate the code in /Smarty/templates/DetailView.tpl to create another LocateMap button by duplicating input name="mapbutton" value="LocateMap" class="crmbutton small create" type="button" onClick="searchMapLocation( 'Main' )" title="{$APP.LBL_LOCATE_MAP}"> and changing to onClick="searchMapLocation2( 'Main' )"
, I then tried to change the code in modules/Leads/Leads.js by duplicating function searchMapLocation(addressType) to function searchMapLocation2(addressType)
Am I even in the correct ballpark here?
I hate to sound ignorant is there an easier tutorial you can direct me to for creating a DETAILVIEWBASIC action link? I had a little hard time understand the documentation
I was able to figure out how to duplicate the code in /Smarty/templates/DetailView.tpl to create another LocateMap button by duplicating input name="mapbutton" value="LocateMap" class="crmbutton small create" type="button" onClick="searchMapLocation( 'Main' )" title="{$APP.LBL_LOCATE_MAP}"> and changing to onClick="searchMapLocation2( 'Main' )"
, I then tried to change the code in modules/Leads/Leads.js by duplicating function searchMapLocation(addressType) to function searchMapLocation2(addressType)
Am I even in the correct ballpark here?