Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to change footer heading


Guest

Recommended Posts

Posted

Hi,

 

I searched for it but could not find an answer.

How do I change the footer heading? I want to get rid of the counter and replace it with my own text. I don`t know anything about PHP, so how do I do it so that everything would still work.

 

Thanks,

Janika

Posted

Open this file: /includes/footer.php

<?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>

 

The line above displays the XXXX requests since XYZ Date. Replace it with your own :)

Posted
I don`t know anything about PHP, so how do I do it so that everything would still work.

 

Thanks,

Janika

 

Just remove everything between <?php and ?>, including those tags, and simply add your text. It'll be converted to plain HTML.

 

Currently it uses predefined constants/variables, which is why PHP is used.

 

Hope this helps. Good luck :)

Posted

Thanks!

 

I did not see your second message and had hard time with it :shock: :x :evil: :idea: . I used my logic (!!) and defined "FOOTER_TEXT_REQUESTS_SINCE" as my own text. Anyway, I got it to work :D

 

Thanks again,

Janika

  • 2 weeks later...
Posted

Right hope this is wot could help you

 

Simple Template System (STS):link

 

This will allow you to edit footer header and a few other items.

 

Need any further help let me now. :D

Archived

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

×
×
  • Create New...