Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

get rid of WHATS NEW HERE at top of main page


Iniquityclothing

Recommended Posts

Posted

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)

Posted

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

Posted
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.

Posted

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"....)

Posted
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

Posted

Thanks for that info. I've been looking around for that very information. Thanks again!

Posted
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:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...