IN file : base/scripts/BxBaseProfileView.php
IN function showBlockDescriptions( $sCaption )
Code should like this :
PHP Code:
function showBlockDescriptions( $sCaption )
{
if( strlen( $this -> _aProfile['DescriptionMe'] ) )
{
$text = '<div class="discr">' .
'<div class="rss_item_header">' . process_text_output( $this -> _aProfile['Headline'] ) . '</div>' .
process_smiles( process_text_output( $this -> _aProfile['DescriptionMe'] ) ) .
'</div>';
echo DesignBoxContent( _t( $sCaption ), $text, 1 );
}
if( strlen( $this -> _aProfile['DescriptionYou'] ) )
{
$text = '<div class="discr">' . process_smiles( process_text_output( $this -> _aProfile['DescriptionYou'] ) ) . '</div>';
echo DesignBoxContent( _t( '_Ideal match description' ), $text, 1 );
}
// START ADDED CUSTOM FIELD MEMO "CustomField" TO SHOW IN PROFILE VIEW
if( strlen( $this -> _aProfile['CustomField'] ) )
{
$text = '<div class="discr">' . process_smiles( process_text_output( $this -> _aProfile['CustomField'] ) ) . '</div>';
echo DesignBoxContent( _t( "_CustomField" ), $text, 1 );
}
// END ADDED CUSTOM FIELD MEMO TO SHOW IN PROFILE VIEW
}
Bookmarks