Unable to view GoDaddy.com and Authorize.Net Site Seals
I am currently running Sitefinity v. 4.1 SP3 and I have added Content Blocks to my Pages so that I can include Site Seals on my pages.
I have added the following code to my pages:
<!-- (c) 2005, 2011. Authorize.Net is a registered trademark of CyberSource Corporation -->
<
div
class
=
"AuthorizeNetSeal"
>
<
script
type
=
"text/javascript"
language
=
"javascript"
>var ANS_customer_id="c6fc18a4-efe7-4289-a4c6-24ea5c9ae522";</
script
>
<
script
type
=
"text/javascript"
language
=
"javascript"
src
=
"//verify.authorize.net/anetseal/seal.js"
></
script
>
<
a
href
=
"http://www.authorize.net/"
id
=
"AuthorizeNetText"
target
=
"_blank"
>Accept Credit Cards Online</
a
> </
div
>
<
span
id
=
"siteseal"
>
<
script
type
=
"text/javascript"
src
=
"https://seal.godaddy.com/getSeal?sealID=X3KZPKYzqpDj4pjDQJgFfVK42e8buuaxORObowzejG7nKx9j6nW18A6Ea"
></
script
>
<
br
/>
<
a
href
=
"http://www.godaddy.com/ssl/ssl-certificates.aspx"
style
=
"font-family: arial; font-size: 9px;"
target
=
"_blank"
>secure sites</
a
></
span
>
Hi Samir,
Do you get the same code running locally? I suppose that the script tags are stripped. We set the DefaultFilters property of the RadEditor in the definition of each module. In this case RemoveScripts filter applies.
One of the option is to change the HtmlField used in backend modules
for particular modules you need to do this from the configurations. For example if you want to do this for News modules - NewsItemEdit and NewsItemInsert, go to /Administration/Settings/Advanced
expand
Is there anyway to get this functionality to work like Sitefinity v. 3.7 Generic Content without having to go through this extensive customization process?
Hi Samir,
If the issue is related to the stripped <script> tags, this is the option that you can use for now. We are working on a solution that will allow you to set the filters easily, but I am not sure that it will be available with Q2 release.
Greetings,
Ivan Dimitrov
the Telerik team
I also tried publishing my Site Seal code into a custom User Control and the code still did not render in Sitefinity v. 4.1 SP3.
Please let me know why it does not work even in the User Control scenario.
Hello Samir,
I added your code in a user control and I am not able to replicate the issue you reported. I prepared a short video.
Below is the template of the control I used
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Test.ascx.cs" Inherits="SitefinityWebApp.Controls.Test" %>
<!-- (c) 2005, 2011. Authorize.Net is a registered trademark of CyberSource Corporation -->
<
div
class
=
"AuthorizeNetSeal"
>
<
script
type
=
"text/javascript"
language
=
"javascript"
> var ANS_customer_id = "c6fc18a4-efe7-4289-a4c6-24ea5c9ae522";</
script
>
<
script
type
=
"text/javascript"
language
=
"javascript"
src
=
"//verify.authorize.net/anetseal/seal.js"
></
script
>
<
a
href
=
"http://www.authorize.net/"
id
=
"AuthorizeNetText"
target
=
"_blank"
>Accept Credit Cards Online</
a
> </
div
>
<
span
id
=
"siteseal"
>
<
script
type
=
"text/javascript"
src
=
"https://seal.godaddy.com/getSeal?sealID=X3KZPKYzqpDj4pjDQJgFfVK42e8buuaxORObowzejG7nKx9j6nW18A6Ea"
></
script
>
<
br
/>
<
a
href
=
"http://www.godaddy.com/ssl/ssl-certificates.aspx"
style
=
"font-family: arial; font-size: 9px;"
target
=
"_blank"
>secure sites</
a
></
span
>