LisaT Posted August 25, 2005 Share Posted August 25, 2005 I have a banner on my home page that links to a page within the same web site. I would like this to open in the same browser window. If I view source from my browser I see that this link is set to "target=blank", but where is this html code generated, and how do I change it? See Get the gift and click on the Xmas banner Link to comment Share on other sites More sharing options...
Guest Posted August 25, 2005 Share Posted August 25, 2005 Hello Lisa, the tep_display_banner function I believe controls what you want. Now the execution path for the banner goes through the footer.php from where the tep_display_banner function is called. The function itself is located in the includes\functions\banner.php. Within the function there is this line $banner_string = '<a href="' . tep_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner['banners_id']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $banner['banners_image'], $banner['banners_title']) . '</a>'; so now you have your blank field to remove if you need to. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.