Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Duplicate LocateMap Button
#3
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?
Reply


Messages In This Thread
Duplicate LocateMap Button - myhomewise - 02-10-2015, 08:43 PM
Re: Duplicate LocateMap Button - joebordes - 02-10-2015, 09:54 PM
Re: Duplicate LocateMap Button - myhomewise - 02-12-2015, 07:41 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)