Thomas Gries wrote:
I would like to add some additional statistics such as
number of
watching users on each article page footer. When I apply program changes
in pageStats() in the module Skin.php, this **only** results in changes
for the CLASSIC skin.
Please can someone explain, --what-- I have to change EXACTLY --where--
to have similar changed footers in eg. MONOBOOK skin ? I found several
strange looking modules but have not a single idea, where to apply my
patch for the others skins.
Tom
Hello,
You have to give the value to the phpTal object that will generate the page.
In skinPHPTal add a $tpl->set( 'watchingnumber', $watchingnumber);
This way phpTAL will know the value.
Then edit the template (*.pt) and ask phptal to get the value.
--
Ashar Voultoiz - WP++++
http://en.wikipedia.org/wiki/User:Hashar