swtnhpy Posted February 21, 2006 Posted February 21, 2006 How do I get rid of the heading titles that show up at the top of every page. What's New Here?, Advanced Search...etc. I just want to get rid of some of them but keep the categories ones.
Jack_mcs Posted February 21, 2006 Posted February 21, 2006 Search the file that is being displayed for HEADING_TITLE and remove the line of code that contains it. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
swtnhpy Posted February 21, 2006 Author Posted February 21, 2006 That's just it, it is contained in about 3 different files and everytime I comment one of them out, I get HEADING_TITLE instead of ommission. Which one is the right one ??
Webwarrior Posted February 21, 2006 Posted February 21, 2006 That's just it, it is contained in about 3 different files and everytime I comment one of them out, I get HEADING_TITLE instead of ommission. Which one is the right one ?? ok, so this is what i think you should do. This is simple and will work. say you want to get rif of what's new here? using dreamweaver (you can incidentally also use notepad) go edit>find and replace> type " What/'s new here " into the search box and find all. You should probably find this in the english folder somewhere. when you find it (and you will providing you are of course searching in the source code and not the text) either change the words or delete the words only. DO NOT DELETE ANY PHP! sorry if you already knew this. make sure you still have "" even if they are blank inside. good luck Chrissie
Wendy James Posted February 22, 2006 Posted February 22, 2006 One way to do it would be to open your language files, at the top of almost all of them you will see define('HEADING_TITLE', 'some text here'); Change it to define('HEADING_TITLE', ''); and that will stop anything from showing up. Another way to do it, if you also want to remove the cartoony type images on the left side next to the heading is to open all of your main pages other than the index.php and look for something like <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_account.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> and remove it. It will be a little different on some of the pages but you will find it right below <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> on an unedited page. You can also consider installing one of the many contributions that handles those things. I normally suggest http://www.oscommerce.com/community/contributions,207 because it helps with search engines or something like these that replaces the lines with something better http://www.oscommerce.com/community/contributions,778 or http://www.oscommerce.com/community/contributions,1908 Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
swtnhpy Posted February 22, 2006 Author Posted February 22, 2006 Thank you so much..this is exactly what I was looking for!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.