Loading...
 
Features / Usability

Features / Usability


How do I modify the tiki_index.php code?

posts: 22 United Kingdom

I would like to add some code to my Tiki pages to track external data on visitors.
The code I have used on other sites from Stat Counter works well.

Firstly I have never modified smarty code cry

I would like to add the counter following the footer line (or on the next line if that is not possible)
Created by: Paul last modification: Tuesday 10 of January, 2006 12:52:38 UTC by Paul counter here

On the install page there are three possible files

tiki_index
tiki_index_p
tiki_index_raw

~ which to go for?

The code is attached ~ can I just past it in? if so where?
Many thanks
Paul

posts: 2881 United Kingdom

> I would like to add some code to my Tiki pages to track external data on visitors.
> The code I have used on other sites from Stat Counter works well.
>
> Firstly I have never modified smarty code cry

Read the manual if your going to customise TikiWiki you'll need to know the basics http://smarty.php.net

> I would like to add the counter following the footer line (or on the next line if that is not possible)
> Created by: Paul last modification: Tuesday 10 of January, 2006 12:52:38 UTC by Paul counter here
>
> On the install page there are three possible files
>
> tiki_index
> tiki_index_p
> tiki_index_raw
>
> ~ which to go for?

templates/tiki-show_page.tpl

posts: 22 United Kingdom

If all else fails RTFM biggrin

I don't want (and am not able) to build a Twiki ~ I simply want to patch a little code.

Joking aside, I've reached that stage where for every new thing you learn something older gets forgotten to make room for it. Whilst your RTFM comment is totally valid, I've brain-dumped some temp clutter and have room for about 42 single sylable words ~ pictures would be even better! If I dump any more I'm concerned the get-out-of-bed-and-work module will repeatedly call itself and that would be really sad. P


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting