patricio99 Posted June 6, 2010 Posted June 6, 2010 I am very new in oscommerce and I have a problem. When I installed my template and use (click) the banners linked to some product or internal pages it (the page) display in the same window, but after I installed some add-ons it open a new window when I click the banner. I guess some parameter was modified, please I need some help. My site is www.dondepato.com Best regards, Patricio Delgado
patricio99 Posted June 6, 2010 Author Posted June 6, 2010 Maybe I was not clear enough (because my native language is Spanish) and I will try again asking some help from the forum. The problem is: a) Before I installed some add-ons.- When I click a banner linked to a product description (product_info.php?products_id=94) it goes to the product page in the SAME Window. B) After the add-ons instalatiion.- I do the same, click the banner linked to product_info.php?products_id=9, but now it goes to the product page BUT it opnes a NEW Window. Checking the code I see that i use: function tep_redirect($url) { if ( (strstr($url, "\n") != false) || (strstr($url, "\r") != false) ) { tep_redirect(tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false)); } if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } header('Location: ' . $url); tep_exit(); } It is the same code than the original one before installing add-ons, so I guess that some parameter was changed. I appreciate so much for your help. Best Regards, Patricio
Recommended Posts
Archived
This topic is now archived and is closed to further replies.