I've tried getting the current value via PHP with this:
Code:
Global $_CB_framework, $mainframe;
if ( ( ! file_exists( JPATH_SITE . '/libraries/CBLib/CBLib/Core/CBLib.php' ) ) || ( ! file_exists( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php' ) ) ) {
return;
}
include_once( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php' );
cbimport( 'cb.html' );
$user = CBuser::getMyUserDataInstance();
$postnrby = $user->get( 'cb_postnummer' ).' '.$user->get( 'cb_by' ) ;
The above is the query field.
I've also tried accessing the custom field, that is a combination of the cb_postnummer and the cb_by field.
Both of them return empty, so I suspect that I can't, I justed wanted to be sure