osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

how to remove the counter at home page

This is a discussion on how to remove the counter at home page within the osCMax v2 Features Discussion forums, part of the osCMax v2.0 Forums category; Dear friends I wish to remove the counter which appears at the bottom of home page. Earlier i found this ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 07-23-2007, 01:16 AM
Member
 
Join Date: Jul 2007
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2
soibaal is on a distinguished road
Default how to remove the counter at home page

Dear friends

I wish to remove the counter which appears at the bottom of home page.

Earlier i found this somewhere while browsing the thread but doest seems to work for me as i cannot locate it.

How to get rid of page counter at the foot of page.
Delete the following in footer.php given at the bottom of page.
<table border="0" width="100%" cellspacing="0" cellpadding="1">
<tr class="footer">
<td class="footer"> < ?php echo strftime(DATE_FORMAT_LONG); ?> </td>
<td align="right" class="footer"> < ?php echo $counter_now . . FOOTER_TEXT_REQUESTS_SINCE . . $counter_startdate_formatted; ?> </td>
</tr> </table>
also delete this
require(DIR_WS_INCLUDES . counter.php);


kindly help

ashok
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 07-23-2007, 01:51 AM
Member
 
Join Date: Jul 2007
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2
soibaal is on a distinguished road
Default got it

Found this in the documentation at wiki:

In osCMax, the footer.php file is no longer used for anything. The page that controls the html for the footer is main_page.tpl.php in whatever tempate's directory you are using. If using the aabox template, the path is /catalog/templates/aabox/main_page.tpl.php.

To change the actual text in the footer, edit the file /catalog/includes/languages/english.php. If using other languages, be sure to edit those files as well.

The variables you want to change are as follows:

// footer text in includes/footer.php
define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since');

define('FOOTER_TEXT_BODY', 'Copyright &amp;copy; 2005 &lt;a href="http://oscdox.com">osCDox&lt;/a>, &lt;a href="http://aabox.com">AABox Web Hosting&lt;/a>,&lt;br> Powered by &lt;a href="http://aabox.com/ms2-max.html" target="_blank">osCMax 1.7&lt;/a>');
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
home page; what should it be? nicki-jo osCMax v2 Installation issues 1 05-03-2007 07:02 PM
Removing Request To View Page Counter torweb osCMax v2 Features Discussion 2 05-16-2006 09:58 PM
Product detail page as the home/main page??? sukarya osCommerce 2.2 Modification Help 1 02-17-2006 06:21 AM
Copyright and hits counter not showing on index page coastersteve osCMax v2 Installation issues 1 06-21-2005 08:12 AM
remove request since counter okatoma osCMax v1.7 General Mods Discussion 3 07-19-2004 07:54 AM


All times are GMT -8. The time now is 12:24 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax