inalilbubble Posted June 11, 2008 Share Posted June 11, 2008 I want to know how I can remove the Whats New Box from only certain pages, login.php and contact.php Thanks!! Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 12, 2008 Share Posted June 12, 2008 Before the include login box code, add this code if (basename($PHP_SELF) != FILENAME_LOGIN) To the same for the other box but change the name. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
inalilbubble Posted June 12, 2008 Author Share Posted June 12, 2008 Before the include login box code, add this codeif (basename($PHP_SELF) != FILENAME_LOGIN) To the same for the other box but change the name. Jack Hi Jack, Thanks for the response. This will remove the "whats new" box from the login.php page & the contact.php page, correct? Would I do this edit on login.php & contact.php? A little confused. Thanks again. Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 13, 2008 Share Posted June 13, 2008 No, that only removes it from the login page. The code should be if (basename($PHP_SELF) != FILENAME_LOGIN && basename($PHP_SELF) != FILENAME_CONTACT_US) and it goes in the includes/column_left.php (or right) file right before the line for the box you want to control. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
inalilbubble Posted June 13, 2008 Author Share Posted June 13, 2008 worked like a charm. awesome thanks!!! btw for sts users its your sts_left_column.php file :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.