Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Altering Manufacturers Info Box

Altering Manufacturers Info Box

Locked

Views: 977

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
10 Mar 2007, 3:55 AM
#1
filmfr3ak avatar

filmfr3ak

New Zenner

Join Date:
Jun 2006
Posts:
35
Plugin Contributions:
0

Altering Manufacturers Info Box

I would like to include an email address in the manufacturers info box instead of a homepage url.

I have changed the english file to say Email Us instead of __'s Homepage. I have also successfully gotten the email popup by using the mailto: tag before the email addy (whick Im typing to the URL for the homepage on the manufacturers edit page. BUT.. I am also getting a blank webpage popup behind the new email.

Im looking at the tpl.manufacturers_info.php and am pretty sure here's where I need to do a little change, but not sure WHAT to change. Changing the target frame to self make the page Im on go blank, removing the target all together makes the link not even display in the box.

 $content .= '<li><a href="' . zen_href_link(FILENAME_REDIRECT, 'action=manufacturer&manufacturers_id=' . $manufacturer_info_sidebox->fields['manufacturers_id']) . '" [B]target="_blank">[/B]' . sprintf(BOX_MANUFACTURER_INFO_HOMEPAGE, $manufacturer_info_sidebox->fields['manufacturers_name']) . '</a></li>' . "\n" ;

Any ideas appreciated.
Thanks!