[SOLVED] Code Stripping

14 years 5 months ago #118508 by raicabogdan
[SOLVED] Code Stripping was created by raicabogdan
Hello,

I want to make field type where I can add the youtube embed code.

I tryed making a textarea field and configure the CB user profile to NOT filter "a applet body bgsound base basefont embed frame frameset head html id iframe ilayer layer link meta name object script style title xml param" but is seems that is not working.

[code:1]<object width="425" height="344"><param name="movie" value="www.youtube.com/v/Vw_KxeGULo8&hl=en_US&fs=1&">www.youtube.com/v/Vw_KxeGULo8&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344">[/code:1]

Can someone please explain me what am I doing wrong ?
This field will be edited only from admin, so it won't be a problem of security.

Kind regards.

Post edited by: raicabogdan, at: 2009/12/06 23:58

Post edited by: krileon, at: 2009/12/07 21:47

Please Log in to join the conversation.

14 years 5 months ago #118512 by Rapunzl
Replied by Rapunzl on topic Re:Code Stripping
Have you checked your server error logs?

Jamie (Rapunzl)
Community Builder Team Member

Before posting on forums: Read all CB Articles | Specially the FAQ | Help us help you
CB links: Subscribe to CB documentation | [url=http://www.joomlapolis.com/content/view/7363/37/
]Our templates[/url] | [url=http://www.joomlapolis.com/content/blogcategory/61/74/
]Paid Subscriptions[/url] | Get Hosting | Our Forge
Visit my CB Profile

My personal site Rapunzl's Reality always under reconstruction

Please Log in to join the conversation.

14 years 5 months ago #118536 by raicabogdan
Replied by raicabogdan on topic Re:Code Stripping
I tryed to find the error.log in apache/error but it's not there.

I'm using JCE as my default editor with the cleanup set to no.

Here is a pic of the setings :
File Attachment:


I don't know what should I do :(

Post edited by: raicabogdan, at: 2009/12/07 08:16
Attachments:

Please Log in to join the conversation.

14 years 5 months ago #118562 by krileon
Replied by krileon on topic Re:Code Stripping
Is the exact same code being stripped when you try to add it to an article or is this only happening with fields? Have you review JCE Administration in the backend? It has quite a detailed and in-depth configuration where it likely is restricting that tag or stripping it.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

14 years 5 months ago #118584 by raicabogdan
Replied by raicabogdan on topic Re:Code Stripping
Thanks but I figure it out somehow. The problem was with CB with the type field.

Anyway thanks for trying to help me.

Kind regards.

Please Log in to join the conversation.

14 years 3 weeks ago #130855 by PBourassa
Replied by PBourassa on topic Re:[SOLVED] Code Stripping
I'm having the same problem... Same exact code is working in a JCE article but get stripped (the "embed" part but not the "object" part) in a CB editor text area. Both "object" and "embed" are added in the CB white list in the profile configuration tab (and are not blacklisted in articles for administrator).

Thanks.

Ok Solved it!!! Just the way the code is written...

Post edited by: PBourassa, at: 2010/04/21 20:53

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.204 seconds

Facebook Twitter LinkedIn