The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Tue May 04, 2010 1:39 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Mon Jan 07, 2008 4:46 pm
Posts: 124
I was able to resolve this issue by UN-enabling the code-cleanup plugin of JCE. It was that simple for me. None of the solutions above worked for me but this did. It's under JCE plugin manager.


Top
 Profile  
 
PostPosted: Wed Jun 16, 2010 4:32 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 10, 2010 5:28 am
Posts: 30
same problem! Thankx for posting it!

_________________
http://www.gadwad.com/


Top
 Profile  
 
PostPosted: Fri Jul 23, 2010 5:03 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Sep 14, 2006 8:55 pm
Posts: 39
Location: Pompano Beach
still nothing?

why do wysiwyg editors strip code and no-editor doesn't strip code?

and why does tinymce have 2 options: one to clean upon open and one to clean upon save, but jce only has one option (and that one option doesn't work)?

does anyone know if other editors have this problem? like wysiwyg pro, joomlack, ckeditor or others?

this issue has been going on for much too long.


Top
 Profile  
 
PostPosted: Fri Jul 23, 2010 6:32 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Sep 14, 2006 8:55 pm
Posts: 39
Location: Pompano Beach
just tried joomlaCK editor and it doesn't strip javascript tags.
haven't tested flash object tags, but i don't see why that wouldn't work as well.


Top
 Profile  
 
PostPosted: Wed Jul 28, 2010 5:21 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jul 14, 2010 1:34 am
Posts: 6
For those of you that are using JCE you may want to look at the top link here:

Stick with the JCE but check the JCE config.
- Cleanup HTML should be set to No

If that does not work, try this solution:
http://www.joomlacontenteditor.net/supp ... javascri...

If that does not help, try this alternative
http://www.deal-times.com/Web-Dvelopmen ... cript-pl...

I was having issues with Javascript being removed from my articles - the top link shows that you have to manage your group settings in the JCE group admin area - there is a drop down in there for Java, PHP and CSS

Hope this helps


Top
 Profile  
 
PostPosted: Thu Sep 30, 2010 6:00 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Wed Feb 24, 2010 6:31 am
Posts: 236
tatude wrote:
For those of you that are using JCE you may want to look at the top link here:

Stick with the JCE but check the JCE config.
- Cleanup HTML should be set to No

If that does not work, try this solution:
http://www.joomlacontenteditor.net/supp ... javascri...

If that does not help, try this alternative
http://www.deal-times.com/Web-Dvelopmen ... cript-pl...

I was having issues with Javascript being removed from my articles - the top link shows that you have to manage your group settings in the JCE group admin area - there is a drop down in there for Java, PHP and CSS

Hope this helps


Thanks! The top method worked for me. I had to allow Javascript.

_________________
www.39images.com


Top
 Profile  
 
PostPosted: Thu Oct 14, 2010 1:21 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Aug 01, 2008 5:12 pm
Posts: 22
I have been fighting with this problem as well. Switched to JCE because code from PayPal on two pages was getting changed so much it didn't work. The code was copy pasted from PayPal, and IF unchanged, worked fine. But, TinyMCE was re-writing it. It was solved with the extra controls in JCE until today when I edited a parameter on those pages. Almost lost my mind trying to figure it out. Then I watched it change the code even with everything turned "off". But, I couldn't believe what I discovered. One thing was causing the problem. I noticed one little bit of alt= text was getting deleted. Once I turned off all WYSIWYG editors and shortened the text in the alt it worked! Here's all I edited:
Original: alt="PayPal - The safer, easier way to pay online!"
New: alt="PayPal - The safer, easier way to pay!"

I can't imagine why that worked!! Maybe someone will be helped by this odd experience.


Top
 Profile  
 
PostPosted: Fri Oct 29, 2010 11:53 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu May 14, 2009 5:57 pm
Posts: 36
Location: San Francisco, California
This what worked for me. It was Filtering settings in teh Article Parameters
http://docs.joomla.org/Why_does_some_HT ... n_1.5.8%3F

Very frustrating issue so I will post this on a few threads.


Top
 Profile  
 
PostPosted: Fri Nov 12, 2010 8:15 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Nov 12, 2010 8:10 pm
Posts: 1
Ok this is how I solved it:

We built a website for a client, he could not copy paste youtube code into the 'edit code' tab in JCE editor, in the first round of troubleshooting, I did the same thing and I could paste the code and videos showed up.

I googled it, read all the threads, even installed AllVideo plugin, but that was not solving the problem, it was creating a new way to embed the videos, and more training to client on how to use it.

I was almost ready to connect to his PC with remote login, when it hit me..

I can insert the video and it works fine, when he does the code is stirred down, the only difference between his and my access: I'm the Super Admin. Bingo! I made him super admin as well and problem solved.. he can now easily embed videos.

It did solve it for me, however I could allow super admin access to the client, guess if you cannot allow super admin access to your users.. the rabbit hole goes deeper for that solution.

All the best ;D

Ash


Top
 Profile  
 
PostPosted: Fri Nov 12, 2010 8:56 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu May 14, 2009 5:57 pm
Posts: 36
Location: San Francisco, California
one more piece of the puzzle can be security plugins. Like the siteground Jhack plugin. Its a great plugin but it will strip some tags as it is configured out of the box. Disable it or paly with the settings to make it work as you would like.


Top
 Profile  
 
PostPosted: Thu Dec 02, 2010 8:08 am 
Joomla! Explorer
Joomla! Explorer

Joined: Fri Sep 14, 2007 1:02 am
Posts: 323
Location: Vancouver
I just had this problem and after viewing the forums over at JCE I found this post
http://www.joomlacontenteditor.net/foru ... ped#p35428

It helped 100%.

You basically need to download the 2 files they post and replace them on your server, then set in JCE Groups->Editor Parameters, set Allow IFrames to Yes

_________________
Cappymoo Media
http://www.cappymoo.com
Start your journey with us!


Top
 Profile  
 
PostPosted: Mon Apr 09, 2012 11:28 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Apr 09, 2012 11:20 pm
Posts: 1
Location: Milan
Hello Everybody :)

i know that this is a very outdated topic, but none of the solutions that i found here helped me in solving the stripping html problem. It was driving me crazy: as i have just found the solution that fits for my website, i want to share it with you.

This solution applies to J 1.5.23 and JCE.

The problem is: embedding any code via the front end. The editor strips away any string beginning with < and ending with < or >.

In Joomla articles' configuration, i was selecting Blacklist filter and no group in filter groups: according to the description, this was supposed to work, as if you have no group selected, the blacklist filter shouldn't apply to anyone. But that's not the way...

You have to select

"filter groups" ---> JUST public level

"filter type" ---> blacklist

and there you go: you can write any code in your editor.

Bye!


Top
 Profile  
 
PostPosted: Thu Dec 06, 2012 10:53 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Jan 02, 2009 10:41 pm
Posts: 3
Had the same issue.
Read and followed all of the great responses - to no avail.
Got rid of jce. Tried a different editor.
Tried changing user groups, blacklisting, whitelisting, article parameters.

Nothing.

Finally figured out I had jhackguard installed.
If you have this, or a similar product to protect your site from sql injections, attacks, etc. you can turn off the plugin - put your code in - save it - then turn your protections back on.

Not sure if anyone else had a similar difficulty when all the other troubleshooting efforts failed, so wanted to share.

Thanks to everyone out there making Joomla so great!!!!!!!!!!


Top
 Profile  
 
PostPosted: Thu Dec 06, 2012 10:54 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Jan 02, 2009 10:41 pm
Posts: 3
Had the same issue.
Read and followed all of the great responses - to no avail.
Got rid of jce. Tried a different editor.
Tried changing user groups, blacklisting, whitelisting, article parameters.

Nothing.

Finally figured out I had jhackguard installed.
If you have this, or a similar product to protect your site from sql injections, attacks, etc. you can turn off the plugin - put your code in - save it - then turn your protections back on.

Not sure if anyone else had a similar difficulty when all the other troubleshooting efforts failed, so wanted to share.

Thanks to everyone out there making Joomla so great!!!!!!!!!!


Top
 Profile  
 
PostPosted: Mon Apr 15, 2013 1:46 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Jan 14, 2006 1:59 pm
Posts: 181
Location: Sunderland UK
In Joomla 1.5, 2.5 and 3.0 using JCE 154 up to the current version of 2.3 its the same way to allow this.

Go to
Components > JCE Editor > Editor Profiles > Default > Editor Parameters > Advanced

And then select "Yes" for
    Allow Javascript
    Allow CSS
    Allow PHP
    XHTML Inline Scripts

Now you can enter YouTube Video, flash, Facebook, Twitter, etc embed code :geek:

_________________
http://www.JoomlaSiteMonitor.com
Joomla Security and backup suite.
http://www.NewWorldDesigns.co.uk
Design - CMS - Ecommerce – SEO


Top
 Profile  
 
PostPosted: Fri Apr 26, 2013 3:37 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 01, 2012 11:03 pm
Posts: 17
Thank you to everyone who has maintained this thread, as it's a tricky one.

JCE forum assisted with this link that solved the problems for me in Joomla 2.5.

Turned out that RSFirewall was the culprit as it was disrupting starting tags for iframes and so on, in order to protect against Javascript injections. With No Editor it would disrupt the tag. With JCE or any other editor, it would either scramble or wipe the code on save.

Here's the details:
http://www.rsjoomla.com/support/documen ... frame.html

There are a few options for how to solve this. Probably best to simply Whitelist your own IP to create an ultimate exception for yourself (and anyone else) who need to use those features that RSFirewall is scrambling.

Hope this helps someone who has tried everything suggested in this thread, but none of which has worked.

Was at my wit's end, till we discovered that it was RSFirewall all along.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group