Amazon Widgets

12 posts by 2 authors in: Forums > CMS Builder
Last Post: April 21, 2010   (RSS)

By bashful - April 20, 2010

Hi,

I was trying to integrate amazon widgets but I am having a little problem.

I have setup a field with wysiwyg and click on html and paste in the code provided by amazon.

Unfortunately once saved - I can't see the widget - If I enter text in wysiwyg and save, I can see the text.

Not sure why this is happening - any help would be really appreciated.

Many Thanks

Re: [bashful] Amazon Widgets

By Jason - April 20, 2010

Hi,

Is it just HTML code? If so, it may be best to store this information in a text box instead of a wysiwyg editor.

Give that a try. If that doesn't work, please give me an example of the code you're trying to enter and what is actually being output.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Amazon Widgets

By bashful - April 20, 2010

Hi Jason,

Thanks for the reply - I did send an email to support with the code, but I will paste it here.

<SCRIPT charset="utf-8" type="text/javascript" src="http://ws.amazon.co.uk/widgets/q?ServiceVersion=20070822&MarketPlace=GB&ID=V20070822/GB/proiq-21/8001/9ec58c10-7192-4784-938e-40d8e659fa5d"> </SCRIPT> <NOSCRIPT><A HREF="http://ws.amazon.co.uk/widgets/q?ServiceVersion=20070822&MarketPlace=GB&ID=V20070822%2FGB%2Fnetlb-32%2F8001%2F9ec58c10-7192-4784-938e-40d8e659fa5d&Operation=NoScript">Amazon.co.uk Widgets</A></NOSCRIPT>

I hope this helps
Cheers

Re: [bashful] Amazon Widgets

By bashful - April 20, 2010

Oops - sorry forgot to mention - it outputs nothing - just blank

also the code was not copied correctly:

<SCRIPT charset="utf-8" type="text/javascript" src="http://ws.amazon.co.uk/widgets/q?ServiceVersion=20070822&MarketPlace=GB&ID=V20070822/GB/proiq-21/8001/9ec58c10-7192-4784-938e-40d8e659fa5d"> </SCRIPT> <NOSCRIPT><A HREF="http://ws.amazon.co.uk/widgets/q?ServiceVersion=20070822&MarketPlace=GB&ID=V20070822%2FGB%2Fproiq-21%2F8001%2F9ec58c10-7192-4784-938e-40d8e659fa5d&Operation=NoScript">Amazon.co.uk Widgets</A></NOSCRIPT>


I did embed a video and that worked fine - but amazon code is not working. I'll also try changing it to text field.

Thanks

Re: [bashful] Amazon Widgets

By Jason - April 20, 2010

Hi,

I just tried it and it does work when outputted from a textbox. If you're still running into problems, please post the page you're working on and I'll take a look at it for you.

Thanks.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Amazon Widgets

By bashful - April 20, 2010

Thanks for quick reply - I tested it with text box and it worked so cheers for that.

The funny thing is it works on some wysiwyg so not sure why this is - do I need to upgrade tinymce - do you think ??? I would prefer to have it set to wysiwyg because it gives flexibility to embed code or add images.

also I wanted to be able to justify text and this editor doesn't have it

Re: [bashful] Amazon Widgets

By bashful - April 20, 2010

meant to say doesn't work - sidebar content1 -notshowing but sidebar content 2 is showing - both set as text boxes.

Re: [bashful] Amazon Widgets

By bashful - April 20, 2010

Hi,

I've tested this and it appears it works sometimes and sometimes it doesn't. if I use a text box or wysiwyg the same thing happens, works intermittantly. really strange.

Cheers.

Re: [bashful] Amazon Widgets

By Jason - April 21, 2010

Hi,

I've been testing it. It seems that the sidebar content2 always displays, and sidebar content 1 never does. Is that what you are finding as well?

I looked at what has actually being outputted:

Sidebar Title1: amazon1<br/>
Sidebar Content1: <script charset="utf-8" type="text/javascript"> </script><br/>
<p><noscript><A HREF="http://ws.amazon.co.uk/widgets/q?ServiceVersion=20070822&MarketPlace=GB&ID=V20070822%2FGB%2Fproiq-21%2F8001%2F9ec58c10-7192-4784-938e-40d8e659fa5d&Operation=NoScript" mce_HREF="http://ws.amazon.co.uk/widgets/q?ServiceVersion=20070822&amp;MarketPlace=GB&amp;ID=V20070822%2FGB%2Fproiq-21%2F8001%2F9ec58c10-7192-4784-938e-40d8e659fa5d&amp;Operation=NoScript">Amazon.co.uk Widgets</A></noscript></p><br/>
Sidebar Title2: amazon2<br/>
Sidebar Content2: <SCRIPT charset="utf-8" type="text/javascript" src="http://ws.amazon.co.uk/widgets/q?ServiceVersion=20070822&MarketPlace=GB&ID=V20070822/GB/proiq-21/8001/9ec58c10-7192-4784-938e-40d8e659fa5d"> </SCRIPT> <NOSCRIPT><A HREF="http://ws.amazon.co.uk/widgets/q?ServiceVersion=20070822&MarketPlace=GB&ID=V20070822%2FGB%2Fproiq-21%2F8001%2F9ec58c10-7192-4784-938e-40d8e659fa5d&Operation=NoScript">Amazon.co.uk Widgets</A></NOSCRIPT><br/>


I noticed that in sidebar content 2, the script tag specifies an src="" attribute. This is missing in Sidebar content 1. Does this match what you find in the database?

You may want to try pasting the code back into the database again.

Let me know.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/