Hey gang,
I’m working on a site and I think that the “Get Satisfaction – Feedback Tab” would be perfect for this site. I’ve seen it before, and I’ve even done it once, about a year ago and completely forgot which php file I need to enter the code in.
For those who don’t know, this is the code:
Code:
<script type=”text/javascript” charset=”utf-8″>
var is_ssl = (“https:” == document.location.protocol);
var asset_host = is_ssl ? “https://s3.amazonaws.com/getsatisfaction.com/” : “http://s3.amazonaws.com/getsatisfaction.com/”;
document.write(unescape(“%3Cscript src='” + asset_host + “javascripts/feedback-v2.js’ type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript” charset=”utf-8″>
var feedback_widget_options = {};
feedback_widget_options.display = “overlay”;
feedback_widget_options.company = “valtorc”;
feedback_widget_options.placement = “left”;
feedback_widget_options.color = “#222”;
feedback_widget_options.style = “question”;
var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
</script>
I have tried the templates index file but I get a syntax error. Here is the URL to the get satisfaction feedback website if that helps at all: http://getsatisfaction.com/valtorc/admin/widgets
Has anybody ever done this before? If so, would you mind sharing how you managed to insert this code properly?
Edit* I also added it to the root directories index.php with the same errors