Hi,
Im new to dolphin i would greatly appreciate any guidance on how to place profile photo on the home page. i have created a php block and copied the code from the profile page but the block does not show.
Hi, Im new to dolphin i would greatly appreciate any guidance on how to place profile photo on the home page. i have created a php block and copied the code from the profile page but the block does not show. |
You copied what code from the profile page? Because there really is not any specific piece of code in profile.php that renders just the profile photo. https://www.deanbassett.com |
This is as close as i can get. Which is to display the Profile Photo block from the profile page. It will look exactly as it does on the profile page. https://www.deanbassett.com |
Thanks Deano92964, The problem im having now is resizing. I have modified the css code in modules/boonex/photos/templates/base/css/search.css to .viewSwitchFile { and modules/boonex/photos/templates/base/swithcher_unit.html to <div class="mainInfo" style="width:296px;"> with no success. Please advise |
I came across the need to just put a profile image into a php block. I found this code worked for me. I hope it helps.
$iPID = $this->oProfileGen->_iProfileID; $pImage = get_member_icon($iPID, 'left'); echo $pImage;
Regards, Bob |