Guest Posted October 21, 2008 Posted October 21, 2008 Hi everyone and thanks in advance for your help! In this file: catalog/includes/languages/english/account.php I am trying to completely remove the "E-Mail Notifications" box, which includes the grey box, the green arrows and: Subscribe or unsubscribe from newsletters. View or change my product notification list. (In other words, the entire section for "E-Mail Notifications" I have tried just deleting these lines: define('EMAIL_NOTIFICATIONS_TITLE', 'E-Mail Notifications'); define('EMAIL_NOTIFICATIONS_NEWSLETTERS', 'Subscribe or unsubscribe from newsletters.'); define('EMAIL_NOTIFICATIONS_PRODUCTS', 'View or change my product notification list.'); from the account.php file but they won't go away, they just turn into this: EMAIL_NOTIFICATIONS_TITLE EMAIL_NOTIFICATIONS_NEWSLETTERS EMAIL_NOTIFICATIONS_PRODUCTS HELP! How can I delete this stuff? Carrie
dmnalven Posted October 22, 2008 Posted October 22, 2008 First of all DON'T delete lines. Comment php code out with a preceding # until you are satisfied with your results. What you wish to do can be accomplished by commenting out the HTML, using a preceding <!-- in this case followed at the end of your comment by --> , from line #195 through line #223 in account.php (not the language text defines file). Your comment should include everything including the opening <tr> tag of the title row through the closing </tr> tag just above: </table></td> <!-- body_text_eof //--> (notice the HTML comment tags above) For ALL problems, please review this link first -> osCommerce Knowledge Base
Guest Posted October 23, 2008 Posted October 23, 2008 Thank you so much! That did it! :) Carrie First of all DON'T delete lines. Comment php code out with a preceding # until you are satisfied with your results. What you wish to do can be accomplished by commenting out the HTML, using a preceding <!-- in this case followed at the end of your comment by --> , from line #195 through line #223 in account.php (not the language text defines file). Your comment should include everything including the opening <tr> tag of the title row through the closing </tr> tag just above: </table></td> <!-- body_text_eof //--> (notice the HTML comment tags above)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.