Posted by Tom
2013-10-22
Yes, you can templatize it. But you still have to assign an unique "tid" to the tid attribute in the template.
To do so, put something like this in your template.
To do so, put something like this in your template.
... tid='<?php echo $tid; ?>' ...On a page that displays "Likes", include your template like
<?php
$tid = "--unique-tid-here--";
include( "likes-and-dislikes-template.inc.php" );
?>
Is there a way to use this script in a template? I have it working but every ad page created from the template has the same # of votes. I am not a strong coder. Thanks