![]() |
|
![]() |
#1 |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
Need to modify custom template for click stats
I noticed in the default phpdig template the following code just below the </style> tag:
Code:
<phpdig:js_for_clicks/> Code:
<script language="JavaScript"> <!-- function clickit(cn,clink) { if(document.images) { (new Image()).src="clickstats.php?num="+cn+"&url="+clink+"&val=".urlencode($js_string) } return true; } //--> </script> Thanks in advance. |
![]() |
![]() |
![]() |
#2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
The $js_string variable doesn't seem like it gets passed a value. Look at the HTML and search for clickit in the search result page links and also search search_function.php for clickit to see what is being passed.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
![]() |
![]() |
![]() |
#3 |
Purple Mole
Join Date: Jan 2004
Posts: 694
|
OK, I think I see what's happening. I have a set of parameters that is getting passed into my Template class, but $js_string isn't one of those values. Boy, that's going to be a royal pain to add!
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Template That Utilizes Clickstats | vinyl-junkie | Mod Submissions | 0 | 11-28-2004 08:17 PM |
How do I modify the template tags output? | IAMHHawaii | How-to Forum | 1 | 09-21-2004 07:51 PM |
Custom template not working | ibrown | How-to Forum | 10 | 08-17-2004 03:12 PM |
Custom Template Tag | garyp75 | How-to Forum | 1 | 08-09-2004 02:43 PM |
No Stats | clearwater | Troubleshooting | 1 | 10-20-2003 07:46 PM |