Loading...
 
Development

Development


stats administration?

posts: 37 United States

Is there any plan to make it easy for users to add new tiki pages to the tiki stat tracking?

For example, I created custom php and tpl tiki-based pages for several pages on my site that have flash features and things... but now I can't track traffic to these custom pages in the usual way (checking my tiki stats). I would love to have a nice admin feature to add pages for stat tracking.

In the meantime, I'd also appreciate knowing where/how to hack that feature to list my custom pages.

Thanks!

Kelly

posts: 1817 Catalan Countries

Hi Kelly

Yoiu can (more or less) do that with external software linked to tiki.
Search phpmv2 (http://www.phpmyvisites.net/phpmv2/), and ask again if in trouble
(I could manage doing it with some of my tikis)

posts: 37 United States

> Hi Kelly
>
> Yoiu can (more or less) do that with external software linked to tiki.
> Search phpmv2 (http://www.phpmyvisites.net/phpmv2/), and ask again if in trouble
> (I could manage doing it with some of my tikis)

Thanks! Php My Visites is great. I have it all up and running on my non-tiki sites but I'm still having trouble getting it set up with a tiki site.

Where do I paste the php code block so that it will show up in every page generated by tikiwiki?

I know the basics of editing Smarty templates but have never been able to successfully embed a php code block inside of one without it getting stripped out. If anyone has any ideas how/where I can add this code it would be a big help. I am using a custom theme with version 1.9.4 of tiki and can edit either php or tpl files if I only knew which one to add this code too.

Thanks,
Kelly

posts: 4656 Japan

Try just before the closing body tag, in footer.tpl. And wrap the javascript in {literal}{/literal} tags.

-- Gary