Hi there,
I’m using the star rater snippet, and coming across a problem when using friendly urls.
The code im having a problem with is:
<li><a href=’" . $modx->makeUrl($modx->documentObject[’id’], $modx->documentObject[’alias’], ’starvote=1&pid=’ . $docID) . "’ title=’" . $_lang[’one_star’] . "’ class=’one-star’>1</a></li>
That is on a page: surfacewatch.com/divesites/africa/egypt.html
However, the code above generates the hyperlink: surfacewatch.com/egypt.html?starvote.....
Can someone help me re-work this so that it outputs the correct url for the hyperlink.
thanks
André
This community and forums have all the answers! I’m just good at tracking them!