osCmax v2.5 User Manual
Results 1 to 2 of 2

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

      
  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    55
    Rep Power
    5


    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

  2. #2
    Member
    Join Date
    Jul 2007
    Posts
    55
    Rep Power
    5


    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>');

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •