Jump to content

"Write Review" link incomplete?

Guest satori

Recommended Posts

A customer's web site is giving the wrong URL in links for "Write review / comment" on product pages...

As you can see, there is no domain name in the URL that is outputted:


Example product page here.

I'm really confused, because even if I add the correct domain before prod_write.html, it still doesn't bring up the right page.

Any idea how I can fix this, so people can actually submit a review?

Thanks in advance!

Link to comment
Share on other sites

First I would check to see if the code in the skin is correct. Go to skins/yourskin/styleTemplates/content/viewProd.tpl and around line 50 you should have this code.

<li class="nobullet"><img src="skins/{VAL_SKIN}/styleImages/icons/TellAFriend.jpg" alt="{LANG_TELLFRIEND}" />&nbsp;&nbsp;<a href="index.php?_a=tellafriend&amp;productId={PRODUCT_ID}" target="_self" title="{LANG_TELLFRIEND}">{LANG_TELLFRIEND}</a></li>

<!-- BEGIN: read_reviews -->

<li class="nobullet"><img src="skins/{VAL_SKIN}/styleImages/icons/ReadReview.jpg" alt="{LANG_READ_REVIEWS}" />&nbsp;&nbsp;<a href="index.php?_a=viewProd&amp;productId={PRODUCT_ID}&amp;review=read#read_review" target="_self" title="{LANG_READ_REVIEWS}">{LANG_READ_REVIEWS}</a></li>

<!-- END: read_reviews -->

<li class="nobullet"><img src="skins/{VAL_SKIN}/styleImages/icons/WriteReview.jpg" alt="{LANG_WRITE_REVIEWS}" />&nbsp;&nbsp;<a href="index.php?_a=viewProd&amp;productId={PRODUCT_ID}&amp;review=write#write_review" target="_self" title="{LANG_WRITE_REVIEWS}">{LANG_WRITE_REVIEWS}</a></li>

Link to comment
Share on other sites

  • 1 month later...
Guest satori

I checked that out, even tried overwriting the original code with yours, but it's still generating the following hyperlink for "write review"...


Again, note, there is no DOMAIN being generated with the link... Even if I test the link format by adding our domain name in front of it, the link doesn't bring up a write review page.

Please... Any other ideas?

Thanks for your help thus far. :rolleyes:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...