Forums | Mahara Community
get user data in custom layout
18 March 2015, 8:50 PM
I want to show user name and profile pic in dashboard
I don't want to do by editing dashboard with blocktype.
Now I'm getting name with
But NOT ABLE TO GET PROFILE PICTURE.
Is there any way to get my blocktype plugin data's in templates
HOW CAN I SOLVE?
23 March 2015, 3:23 PM
A user's name and profile picture are already displayed on the dashboard in the sidebar. :-) Do you mean you want to display it in addition in the content area?
You could take a look at the personal information block which you can use to display a user's name and profile picture. From Mahara 1.10 on, you can place that block directly in a dashboard page. However, since Mahara doesn't yet know which picture you are going to upload, it wouldn't display your picture straight away. So a bit more work would need to be done around that. However, you might be able to see which method is used to pull the profile picture in.