[Snippet] Html in CPF Description
Posted: 24 May 2012, 21:23
Html in CPF Description
With this snippet you can use Html in CPF Descriptions.
Normally there is no Html or BBCode possible there.
Credit: BNa
Instruction
open
includes/functions_profile_fields.php
find
replace with
Screens:
ACP Input
http://www.loaditup.de/files/709298_ennzyve8k5.jpg
UCP Output
http://www.loaditup.de/files/709299_kpcdsuaxhm.jpg
You can use
With this snippet you can use Html in CPF Descriptions.
Normally there is no Html or BBCode possible there.
Credit: BNa
Instruction
open
includes/functions_profile_fields.php
find
- Code: Select all
'LANG_EXPLAIN' => $row['lang_explain'],
'FIELD' => $tpl_snippet,
replace with
- Code: Select all
// Html in CPF Description / BNa / 2012
'LANG_EXPLAIN' => str_replace(array('<','"','>'), array('<','"','>'), $row['lang_explain']),
// Html in CPF Description / BNa / 2012
'FIELD' => $tpl_snippet,
Screens:
ACP Input
http://www.loaditup.de/files/709298_ennzyve8k5.jpg
UCP Output
http://www.loaditup.de/files/709299_kpcdsuaxhm.jpg
You can use
<br />
for linebreaks