Hello,
I am looking for a hint, how to get the correct default Avatar image in the
Cobalt CCK component
. Its the successor and total rewrite of MightyExtensions Resources.
It will be full integrated later, but currently it just supports the user avatar and profile link. There is a little issue with the Default Avatar image (
nophoto_n.png). The integration plugin always points to the DEFAULT template.
Example standard CB Default template image path:
.../components/com_comprofiler/plugin/templates/
default/images/avatar/nophoto_n.png
That is not correct... if the admin or user selects another CB template, it should use the Avatar from his selected template:
.../components/com_comprofiler/plugin/templates/
MyCurrentTemplate/images/avatar/nophoto_n.png
How to get the current template?
Can you help out or give a hint how to improve it?
I attached the current php file.
Thanks in advance.