global $ueConfig; echo $ueConfig['templatedir'];
function outputCbTemplate( $obsoleteUi = 0, $templateFile = 'template.css', $media = null ) {
$_CB_framework->document->addHeadStyleSheet( selectTemplate() . $templateFile, false, $media );
<link rel="stylesheet" href="[sitename]/components/com_comprofiler/plugin/templates/default/template.css" type="text/css" />
<link rel="stylesheet" href="[sitename]/components/com_comprofiler/plugin/templates/dark/template.css" type="text/css" />
Please Log in to join the conversation.
$_PLUGINS->registerFunction( 'onBeforeUserProfileDisplay', 'getCBTemplate', 'cbtemplatechangerPlugin' );
$_PLUGINS->registerFunction( 'onBeforeUserProfileEditDisplay', 'getCBTemplate', 'cbtemplatechangerPlugin' );
$_PLUGINS->registerFunction( 'onBeforeUserProfileDisplay', 'getCBTemplate', 'cbtemplatechangerPlugin' );
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.