kinderyum Posted May 10, 2016 Share Posted May 10, 2016 (edited) Hi everyone I'm wanting a hyperlink to appear/open in the 'Your name' (the reviewer) section of the module. For example: Mr John Smith is the person who left a review. I would like Mr John Smith to be a hyperlink (of my choosing). I can manually add the hyperlinks if need be, if someone tells me what to do and where to do it I'd also like to remove the 'Was this comment helpful to you? Yes/No' and 'Report Abuse' and 'Write your review' (these appear only when a customer is logged in) Figured this part out TIA! Edited May 10, 2016 by kinderyum (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 10, 2016 Share Posted May 10, 2016 you have to alter moduel file: productcomments.tpl there is a code: <strong itemprop="author">{$comment.customer_name|escape:'html':'UTF-8'}</strong> you can change it to: <a href="mylink"><strong itemprop="author">{$comment.customer_name|escape:'html':'UTF-8'}</strong></a> where mylink is an url. 1 Link to comment Share on other sites More sharing options...
kinderyum Posted May 11, 2016 Author Share Posted May 11, 2016 you have to alter moduel file: productcomments.tpl there is a code: <strong itemprop="author">{$comment.customer_name|escape:'html':'UTF-8'}</strong> you can change it to: <a href="mylink"><strong itemprop="author">{$comment.customer_name|escape:'html':'UTF-8'}</strong></a> where mylink is an url. Hi Vekia, thank you! I will try it! I see you replying to people's posts and helping out a lot. Thank you! Link to comment Share on other sites More sharing options...
kinderyum Posted May 11, 2016 Author Share Posted May 11, 2016 you have to alter moduel file: productcomments.tpl there is a code: <strong itemprop="author">{$comment.customer_name|escape:'html':'UTF-8'}</strong> you can change it to: <a href="mylink"><strong itemprop="author">{$comment.customer_name|escape:'html':'UTF-8'}</strong></a> where mylink is an url. Is there a way to set different hyperlinks for different reviews?. I may not have expressed that very well in my original post, sorry. I have reviews left by several different people and I want to link back to their website Link to comment Share on other sites More sharing options...
kinderyum Posted May 31, 2016 Author Share Posted May 31, 2016 *BUMP* Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now