Jump to content

How to insert SOCHI widget


Recommended Posts

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

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

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:

TsASIMz.png

?

 

strange aligned ;)

Link to comment
Share on other sites

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

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

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

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.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...