TomPuja Posted February 9, 2014 Share Posted February 9, 2014 Hi! I wish to make my web-shop more dynamic and since we sell official Olympic sweaters I would like to add this Olympic medals counter into the main frame (default template) below featured items. What file should I use for pasting such a code? <iframe width='240' height='260' src='http://www.sochi2014.com/en/widgets/standings?rows=5' frameborder='0'></iframe> Thank you! Link to comment Share on other sites More sharing options...
Paulito Posted February 9, 2014 Share Posted February 9, 2014 Good morning I believe you need to add <literal></literal> tags So your code will be: <literal> <iframe width='240' height='260' src='http://www.sochi2014.com/en/widgets/standings?rows=5' frameborder='0'></iframe> </literal> I have done this using a Free html box HERE Result http://mobileskunk.co.uk/index.php (in the right column) Hope this helps Paul Link to comment Share on other sites More sharing options...
vekia Posted February 9, 2014 Share Posted February 9, 2014 Good morning I believe you need to add <literal></literal> tags So your code will be: <literal> <iframe width='240' height='260' src='http://www.sochi2014.com/en/widgets/standings?rows=5' frameborder='0'></iframe> </literal> I have done this using a Free html box HERE Result http://mobileskunk.co.uk/index.php (in the right column) Hope this helps Paul this is the result: ? strange aligned Link to comment Share on other sites More sharing options...
Paulito Posted February 9, 2014 Share Posted February 9, 2014 Yes it is but only because I have reduced the width to suit the default theme. I assume, as you are calling this from a their own server that you cannot change width/height etc. I only showed this to say that "literal" tags were probably needed Paul Link to comment Share on other sites More sharing options...
TomPuja Posted February 9, 2014 Author Share Posted February 9, 2014 Thank you very much! What file do I need to use? index.php ? and what location in the file? Link to comment Share on other sites More sharing options...
vekia Posted February 9, 2014 Share Posted February 9, 2014 Thank you very much! What file do I need to use? index.php ? and what location in the file? everything depends on where you want to add this widget. if in one column - it will be much easier if you will use free html box module no theme (filesystem) changes = no worries Link to comment Share on other sites More sharing options...
TomPuja Posted February 10, 2014 Author Share Posted February 10, 2014 Hey! Thanks a lot! It seems however, that I ruined something long time ago when I was editing the template code. Moreover, it works as it should on my test shop. I see that the module inserts what I need, but it's white and not visible for a visitor. Could you please take a glance and advise me on how to fix it? My URL: norwayshop.com and the widget is placed in a home frame. Thank you in advance! Link to comment Share on other sites More sharing options...
vekia Posted February 11, 2014 Share Posted February 11, 2014 it's related to SSL you run store under secured connection and this sochi widget uses simple non-secured (http) connection it's and iframe - it mean that your website trying to load it. but in fact- browser blocks that connection due to the mixed content filtering. this is why it isn't visible. what to do? well, you have to use secured widget, otherwise it will not work. 1 Link to comment Share on other sites More sharing options...
TomPuja Posted February 11, 2014 Author Share Posted February 11, 2014 Thanks for clarifying it! Thus, in other words, I have no chance to show the medals on my web-shop cause there is no way I can force sochi2014.com to start using secured connection? Link to comment Share on other sites More sharing options...
vekia Posted February 11, 2014 Share Posted February 11, 2014 Ask Putin about ssl certificate because sochi official website hasn't got it https://www.sochi2014.com/en/widgets/standings?rows=5 Link to comment Share on other sites More sharing options...
TomPuja Posted February 11, 2014 Author Share Posted February 11, 2014 OK - I will call him tomorrow as it is too late now... 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