blank avatar still displays something
Closed this issue · 11 comments
craigh commented
also would prefer to to have the
Avatar blank.jpg
to show either
craigh commented
craigh commented
looks good
craigh commented
This still isn't working quite right
Kaik commented
I will use this issue with my problem - when path is set in settings it has to be global
https://github.com/zikula-modules/Profile/blob/master/Controller/ConfigController.php#L86
while in https://github.com/zikula-modules/Profile/blob/master/Bridge/ProfileModuleBridge.php#L140
it is used as relative path to base path.
Unless you have any other ideas this works
https://github.com/zikula-modules/Profile/blob/master/Controller/ConfigController.php#L85
$path = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), 'modules')).$modVars[ProfileConstant::MODVAR_AVATAR_IMAGE_PATH];
Hmm now I'm not sure if this ticket is a right place for issue.
Guite commented
Closing. If you encounter further issues please open separate tickets.
Kaik commented
done