Allow HTML in Article List

How can I allow HTML in the Article List? (Latest Articles, Recent Articles, Etc)

Right now, if I have any html code in the first however many words, bold, link, whatever, it removes it in the list view.

Thanks.

Cory

Quote · 29 Jul 2010

Hello open the : inc\classes\BxDolTextData.php

find these code lines:


'snippet' => array(
'type' => 'textarea',
'html' => 0,
'name' => 'snippet',
'caption' => _t("_td_snippet"),
'value' => '',
'required' => 1,
'checker' => array ( 
'func' => 'length',
'params' => array(3,200),
'error' => _t('_td_err_incorrect_length'),
),                   
'db' => array (
'pass' => 'Xss',
),
),

and replace on :

'snippet' => array(
'type' => 'textarea',
'html' => 0,
'name' => 'snippet',
'caption' => _t("_td_snippet"),
'value' => '',
'required' => 1,
'checker' => array ( 
'func' => 'length',
'params' => array(3,200),
'error' => _t('_td_err_incorrect_length'),
),                   
'db' => array (
'pass' => 'XssHtml',
),
),

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 29 Jul 2010

Hmmm..

For which version is this code?

In 7.0.0 I don't find it Cry

Is there a code for the 7.0.0 which will do that?

Rappi

Bezirzer.de, elbrocker.de, tierschutz-community.de
Quote · 29 Jul 2010

Bump

No one can help?

Bezirzer.de, elbrocker.de, tierschutz-community.de
Quote · 6 Aug 2010

Would love to know if there is a 7 compatible code as well.

Quote · 12 Aug 2010

I also need to know what version?

will the work for Blogs Sasha?

Back to pulling my hair out! (ouch, ouch,ouch)
Quote · 25 Dec 2010

Hello,

I need help.

how can I show the snippet with the html insertion? Who can show me the news or article file to edit?

Quote · 10 Mar 2011

 Tried this doesn't work.

Hello open the : inc\classes\BxDolTextData.php

find these code lines:


'snippet' => array(
'type' => 'textarea',
'html' => 0,
'name' => 'snippet',
'caption' => _t("_td_snippet"),
'value' => '',
'required' => 1,
'checker' => array ( 
'func' => 'length',
'params' => array(3,200),
'error' => _t('_td_err_incorrect_length'),
),                   
'db' => array (
'pass' => 'Xss',
),
),

and replace on :

'snippet' => array(
'type' => 'textarea',
'html' => 0,
'name' => 'snippet',
'caption' => _t("_td_snippet"),
'value' => '',
'required' => 1,
'checker' => array ( 
'func' => 'length',
'params' => array(3,200),
'error' => _t('_td_err_incorrect_length'),
),                   
'db' => array (
'pass' => 'XssHtml',
),
),

 Changed to following:

 

 'snippet' => array(

                    'type' => 'textarea',

                    'html' => 2,

                    'name' => 'snippet',

                    'caption' => _t("_td_snippet"),

                    'value' => '',

                    'required' => 1,

                    'checker' => array (

                        'func' => 'length',

                        'params' => array(3,200),

                        'error' => _t('_td_err_incorrect_length'),

                    ),

                    'db' => array (

                        'pass' => 'XssHtml',

                    ),

                ),

 

HTML enabled in snippet field at admin panel. On News page snippet still showing texts only.

http://www.talents2stars.com
Quote · 16 Nov 2018
 
 
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.