template index question

Post Reply
erosmembers
Posts: 97
Joined: Tue Mar 15, 2016 9:41 pm

template index question

Post by erosmembers »

What is the right code to use all scj functions in templates?

<!--SCJ_COUNT_VIEWS-->
<img src="/scj/cgi/rot_in.php?crc=<!--PAGE_CRC-->" border=0 width=0 height=0 style="position: absolute; top: -100; left: -100">

Do I have to insert both lines?
Thank you in advance.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: template index question

Post by admin »

Just

<!--SCJ_COUNT_VIEWS-->

rot_in is an old style, we want to make it as simple as possible.
Don't forget to run script update
erosmembers
Posts: 97
Joined: Tue Mar 15, 2016 9:41 pm

Re: template index question

Post by erosmembers »

I see in /scj/admin/?operation=rotation&sub=rot_tube following hint:
Make sure all of your templates have scj include <!--SCJ_INCLUDE--> and <!--SCJ_ROTIN-->

Is this an old information?
Or do I have to include more than <!--SCJ_COUNT_VIEWS--> ?
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: template index question

Post by admin »

Make sure all of your templates have scj include <!--SCJ_INCLUDE--> (to count hits) and <!--SCJ_COUNT_VIEWS--> (to count thumb views)


You can run update 51 to change that line in admin area.
Don't forget to run script update
erosmembers
Posts: 97
Joined: Tue Mar 15, 2016 9:41 pm

Re: template index question

Post by erosmembers »

If I try to update, then I get following message: Your script is up to date
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: template index question

Post by admin »

add 51 at the end of the update command
Don't forget to run script update
Post Reply