Can't add certain code to page

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Can't add certain code to page

Post by kwikstand » Tue Jul 07, 2015 4:29 am

I am trying to add a slider to my home page, but for some reason, when I enter the appropriate code in the content section, some things get stripped out when I hit "Update".

One particular line of code is: <input id="cs_play1" class="cs_anchor" type="radio" name="cs_anchor1" checked>

Whenever I try this, the "checked" gets stripped out. I enter all the code in the HTML editor, but after I click update, the "checked" is left out. All the other code is still there.

Why is this?
Contractor's Solutions
www. contractors-solutions.net

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Can't add certain code to page

Post by mazhar » Tue Jul 07, 2015 9:15 pm

Have you disabled WYSIWYG editor from Configure -> Store -> General page? It seems like WYSIWYG editor is trying to format the script. If you disable the WYSIWYG editor then it will simply keep what every script you enter into text box.

kwikstand
Commodore (COMO)
Commodore (COMO)
Posts: 410
Joined: Mon Feb 19, 2007 8:12 pm
Contact:

Re: Can't add certain code to page

Post by kwikstand » Wed Jul 08, 2015 4:04 am

Aha! Thanks Mazhar. I didn't think of that. Disabling WYSIWG will probably be better anyway. Using the popup editor is a pain and sometimes IE won't let me copy and paste into it.

Thanks again Mazhar!
Contractor's Solutions
www. contractors-solutions.net

Post Reply