Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 11:22 am EST
Geeklog Forums
counter totalhits displayed in footer
To add a "counter" (total hits) to the bottom of your geeklog do this:
edit lib-common.php
find where the footer is being set up, function COM_siteFooter
then add this :
now edit your footer file in your theme directory and add:
{total_hits}
and this should display the hits, now ya have a counter
Note: having trouble using the
stuff, hopefully this displays properly
this is ironfeather's mod from:
webmaster discussion
------
my geeklog discussion is at:
http://ironfeather.com/cgi-bin/bbs/ik...ct=SF;f=20
edit lib-common.php
find where the footer is being set up, function COM_siteFooter
then add this :
Text Formatted Code
$totalhits = DB_getItem($_TABLES['vars'],'value',"name = 'totalhits'");$footer->set_var('lang_totalhitstosystem',$LANG10[2]);$footer->set_var('total_hits', $totalhits);now edit your footer file in your theme directory and add:
{total_hits}
and this should display the hits, now ya have a counter
Note: having trouble using the
Text Formatted Code
this is ironfeather's mod from:
webmaster discussion
------
my geeklog discussion is at:
http://ironfeather.com/cgi-bin/bbs/ik...ct=SF;f=20
13
15
Quote
All times are EST. The time is now 11:22 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content