Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 04:59:02 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: make chCounter to read the page title  (Read 531 times)
Cazz

Offline Offline

Posts: 44


« on: February 19, 2008, 10:54:07 PM »

Hi
I have install the chCounter and that works great but I have one question.

How do I make so I can have a statistic what page is most popular

Right now I have 

Code:
<?php
$chCounter_visible 
0;
$chCounter_page_title 'Test page';
include( 
'path_to_counter/counter.php' );
?>

and my statistic  only say "Test page"
Do I have to remove the $chCounter_page_title or do I have to add some PHP code that read the name of the page?
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #1 on: February 19, 2008, 11:00:40 PM »

Hello,

please search the forum before posting here. How to include chchounter in a WB template including usinge the pagenames is described several times.

Matthias
Logged
Cazz

Offline Offline

Posts: 44


« Reply #2 on: February 19, 2008, 11:15:28 PM »

Hi

Yes I did search here for the problem.
and I find this two topic and one of them was this
http://www.websitebaker2.org/forum/index.php/topic,4393.0.html

but I never guess that PAGE_TITLE; read the title of the page  embarassed

I was looking for a variable like $page or something.

Sorry for that
« Last Edit: February 19, 2008, 11:24:56 PM by Cazz » Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!