How to stop Article module from stripping html?

I use a wordpress module to write PLR articles, in Google's eyes, its unique content, because it adds extra code.

 

 

Actually is this:

This is a way to make content unique in Google’s eyes, even if it’s a PLR article that has been used elsewhere on the internet. The problem is, Dolphin is stripping all the code, and rendering it back to simple html. How can I stop this?

 

The problem is, when I use the html editor, save it, it strips all the code out and just renders it as stripped html. Is there a way to stop it from stripping all the code?

Quote · 20 Aug 2011

Nobody? Then h ow can I completely disable tiny mce in articles and just use raw html in the textarea?

Quote · 21 Aug 2011

There is no way to do this for just the articles module.

Boonex has a nasty habit of sharing classes from the inc/classes folder with more than one of their modules instead of making each module fully independent.

Which means making this change will affect all modules and admin functions that use this class.

But here it is.

Open inc/classes/BxDolTextData.php

Look for the following at about line 108

                'content' => array(
                    'type' => 'textarea',
                    'html' => 2,
                    'name' => 'content',
                    'caption' => _t("_td_content"),
                    'value' => '',
                    'required' => 1,
                    'checker' => array ( 
                        'func' => 'length',
                        'params' => array(3,65536),
                        'error' => _t('_td_err_incorrect_length'),
                    ),                   
                    'db' => array (
                        'pass' => 'XssHtml',
                    ),
                ),

change 'html' => 2, above to 'html' => 0,

That will make the content box for the article a standard block rather than a tinymce block.

See if that resolves your issue. But as i said. This change will affect other areas. Don't ask me what areas will be changed as i do not know. I have not gone through all admin sections and modules to find out.


https://www.deanbassett.com
Quote · 21 Aug 2011

Oh. And 'pass' => 'XssHtml', most likley might need to be changed to 'pass' => 'Xss',

I have not had time to run full tests.


https://www.deanbassett.com
Quote · 21 Aug 2011

Thanks, that works!

Quote · 21 Aug 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.