Iniquityclothing Posted October 25, 2006 Posted October 25, 2006 hi how can i delete "whats new here" the default welcome text at the top of my main page, if its not possible to delete then maybe change it to say something else? also how can i centre the header and footer, im using center store CSS2 by Vger, but cannot center the Head or foot? View recent 'helpfull' threads: 403 Error problems | Ultimate SEO (contribution support)
Iniquityclothing Posted October 25, 2006 Author Posted October 25, 2006 bumpety bump View recent 'helpfull' threads: 403 Error problems | Ultimate SEO (contribution support)
hubby2debbie Posted October 25, 2006 Posted October 25, 2006 I added a little bit of javascript code to a couple of files, and have it set up now so that the heading echos the current category. Let me know if this would interest you. Peter
Iniquityclothing Posted October 25, 2006 Author Posted October 25, 2006 yeah thats an idea, please tell more... View recent 'helpfull' threads: 403 Error problems | Ultimate SEO (contribution support)
hubby2debbie Posted October 25, 2006 Posted October 25, 2006 yeah thats an idea, please tell more... 1) In catalog/index.php add the following immediately before the </head> tag: <script type="text/javascript"> <!-- function addHeading() { var catFinder = document.getElementById('categoryFinder').innerHTML.split('">'); var category = catFinder[catFinder.length - 1]; document.getElementById("categoryHeading").innerHTML = category.split('</a>')[0]; } //--> </script> 2) Add the following inside the opening body tag: onLoad="addHeading();" 3) Near line 239, there is a tag that says, <td class="pageHeading">. Change this to read: <td class="pageHeading" id="categoryHeading"> 4) Remove or comment out the following bit of code: <?php echo Heading_Title; ?> 5) In the file catalog/includes/header.php, find the <td> tag that contains the following bit of code: $breadcrumb -> trail Inside that opening <td> tag, add id="categoryFinder" That should do it....let me know if you have any problems.
Lenka Posted October 27, 2006 Posted October 27, 2006 I was looking for a solution for the same issue and found this thread. I did the above and it worked perfectly. Thank you so much for assistance!!!! (That thing was so annoying! Now I need to get rid of "Let's see what we have here"....)
hubby2debbie Posted October 27, 2006 Posted October 27, 2006 I was looking for a solution for the same issue and found this thread. I did the above and it worked perfectly. Thank you so much for assistance!!!! (That thing was so annoying! Now I need to get rid of "Let's see what we have here"....) I believe that you need to go to the file catalog/includes/languages/english/index.php, and find the line that reads define('HEADING_TITLE', 'Let\'s see what we have here'); Replace the offending text with something more suitable. Peter
Guest Posted October 27, 2006 Posted October 27, 2006 Thanks for that info. I've been looking around for that very information. Thanks again!
Lenka Posted October 27, 2006 Posted October 27, 2006 I believe that you need to go to the file catalog/includes/languages/english/index.php, and find the line that reads define('HEADING_TITLE', 'Let\'s see what we have here'); Replace the offending text with something more suitable. Peter Got the little sucker!! Many thanks! :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.