1
With the Article rating system I realized you can turn it into a Starbar with ease and so adapted this to be system wide from the theme CSS……So Mydownloads and Mylinks have Starbar rating functionality working….
<{php}>
for($i=10;$i>0;$i--) echo'.$i.'" value="'.$i.'" />';
<{/php}>
What I forgot though is that on the Article’s page, it is only being used once and so no W3C errors from it….
Yet with the Mylinks and Mydownloads the ID is used multiple times for a single page….
So what is needed is to get the $lid to be used at the start of the rating ID and the sequential number of the ratings at the end, so each ID is unique…..
I’ve been looking through the Smarty manual for it and see you need to use global…
Yet so far haven’t been successful….
Does anyone know how to do this with Mylinks and Mydownloads to get the variable into the {php} code and so no W3C errors?