Pages: [1]
Author Topic: !STAT-GAME!  (Read 289 times)
Customers
Jr. Member
*

Karma: 0
Posts: 26


on: Oct 28, 10, 12:15 PM

Hello Sergey !

i've inserted the !STAT-GAME! routine for have the number of game on the index title page... But it works only on the index page, all of other page showing "!STAT-GAME!" in place of the number of games...
How can i modify this ?

many thanks
Phil

Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #1 on: Oct 29, 10, 01:37 AM

make sure your block is enabled on all pages, just like the one on the attached screenshot


* statgame.PNG (14.55 KB, 801x145 - viewed 47 times.)
Logged
Customers
Jr. Member
*

Karma: 0
Posts: 26


Reply #2 on: Oct 30, 10, 11:33 AM

Hello Sergey,

Yes my block is enabled on all pages.
But for di this i've modified the file "sitesetting.php" like the attached document... It's ok or there is another way to do this ?


* Image 1.png (8.15 KB, 686x79 - viewed 41 times.)

* Image 1.jpg (94.26 KB, 686x79 - viewed 41 times.)
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #3 on: Nov 02, 10, 02:08 AM

macros like !STAT-GAME! are not processed in site settings, so I'd suggest you to put that in the <title> tag in your templates instead.
Logged
Customers
Jr. Member
*

Karma: 0
Posts: 26


Reply #4 on: Nov 02, 10, 02:16 AM

i've tried, but it don't work on all the pages but also on index page too
Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #5 on: Nov 02, 10, 07:53 AM

a small but important thing: !STAT-GAME! is member of the "Stats" module, not the script's core. So, you should enable that module (block) on all pages where you wish !STAT-GAME! to be working.
Logged
Customers
Jr. Member
*

Karma: 0
Posts: 26


Reply #6 on: Nov 02, 10, 08:01 AM

YES !

it's ok i've enable stat module on all the page and it's ok ;-)

many thanks !
King regards !
Phil
Logged
Pages: [1]
 
Jump to: