Hi.
I got the problem, that when changing the template (using your template-changer in profiles) the "profile-view"-page will be including the right template.css but when editing profiles it will always include the "default/template.css".
Adding this line:
Code:
global $ueConfig; echo $ueConfig['templatedir'];
to this function:
Code:
function outputCbTemplate( $obsoleteUi = 0, $templateFile = 'template.css', $media = null ) {
in /administrator/components/com_comprofiler/comprofiler.class.php
will result in "dark" on "profile-view"-page and in "default" on "profile-edit"-page
analogue
Code:
$_CB_framework->document->addHeadStyleSheet( selectTemplate() . $templateFile, false, $media );
outputs this on profile-edit (wrong):
Code:
<link rel="stylesheet" href="[sitename]/components/com_comprofiler/plugin/templates/default/template.css" type="text/css" />
and this on profile-view (correct):
Code:
<link rel="stylesheet" href="[sitename]/components/com_comprofiler/plugin/templates/dark/template.css" type="text/css" />
hows that possible and what can i do trying to fix this?
greets