Comment to Default Profile Photo per gender
-
LeonidS it's still challenging ☺
My current thought is to create SAMPLE PROFILE (for example profile with id=10) on my website and make its profile photo the default photo. So, if the new user does not upload a profile photo, the template will show the profile photo of the SAMPLE PROFILE
to do this, I only need to set the default value of the $aData variable for _getUnitThumbUrl method to pass the profile id=10
may be something similar to:
$sDefaultThumbUrl = $this->_getUnitThumbUrl ($sTemplateSize, $aData=<PROFILE_ID>, false);
my questions now, how to set the $aData varialbe to include the profile ID of my SAMPLE PROFILE.