Guest Posted October 10, 2007 Share Posted October 10, 2007 Hi all i have reinstalled my oscommence shop coz some thing when wrong and i had backed up thank god. It had been about a month since i backed up so the counter in the footer has changed back to a small amount and i would like to change it the number of hits i have actually received which is 7582 how do i change it. Link to comment Share on other sites More sharing options...
germ Posted October 10, 2007 Share Posted October 10, 2007 Some help here: Click Me If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted October 10, 2007 Share Posted October 10, 2007 I still cant edit it all i get is this Link to comment Share on other sites More sharing options...
germ Posted October 10, 2007 Share Posted October 10, 2007 You can "cheat" and do it this way.... :blush: Find your footer.php file. In it, find this code: <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> Change to: <?php $counter_now = $counter_now + xxx; ?> <td align="right" class="footer"> <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?> </td> Just change the xxx to whatever number you want to add to the current counter setting... ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted October 10, 2007 Share Posted October 10, 2007 thanks mate that worked a treat :D :) Link to comment Share on other sites More sharing options...
germ Posted October 10, 2007 Share Posted October 10, 2007 Just make a mental note of what you changed so if you get the counter reset the "proper" way, you can backtrack and undo the change... :thumbsup: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there > Link to comment Share on other sites More sharing options...
Guest Posted October 10, 2007 Share Posted October 10, 2007 i will :) Link to comment Share on other sites More sharing options...
Rasmussen Group Posted December 11, 2007 Share Posted December 11, 2007 Of course you could always just change the count in the counter table in your MySQL database using any appropriate SQL editor. Just my two cents... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.