Having a tab open up for the additional link (most likely external) is preferred...as a shop owner you don't want to lose focus on your store front.
That being said, the reason you can't stop it from happening by editing the store side scripts is that the link is created on the admin side with target=_blank in the tag, and then it is saved to the db. If I remember correctly, the blank targets were already being used on 3 out of the 4 link types, so I changed the last to match the others...for consistency's sake. It appeared to be an error. In order to maintain compatibility with past versions (where the target=_blank links were already written to the db) I think the easiest way is to just strip it out of the url on the store side. If you feel this is a switch that should be offered to the owners you can add it to the other admin config variables (maybe 1 for each link type). My feeling (in a perfect world) is you should be able to check a box when creating the event as to whether you want an additional link to open another tab or not. That's just for additional links, manufacturer/category/product links should be a config var or hard coded, your choice.
Here's the front side fix...in tpl_events_calendar_default.php around line 122, add:
Code:
$date_end = ( EVENTS_LONG_DATES ? zen_date_long($events->fields['end_date'])
: date($dateDisplayFormat, mktime(0,0,0,$month_end,$day_end,$year_end)) );
}
$events->fields['ZC_link'] = preg_replace("/(\s*target\s*=\s*('|\")?\s*_blank\s*('|\")?)\s*/i","",$events->fields['ZC_link']); //**rus:add
$event_array = array('id' => $events->fields['event_id'],
'title' => $events->fields['title'],
that will strip any reference to target=_blank (w/spaces, quotes, etc).
Rus