[Building Sakai] Disabling some features in Profile2
Wilson, Kimberly
wilsonk at mail.amc.edu
Fri Mar 27 08:40:42 PDT 2015
Hi:
I found the jira! Implemented changes, built profile2 and it’s working great!
Need a way to unset current profile picture
https://jira.sakaiproject.org/browse/SAK-27121
As for the other items, I was able to get rid of buttons by commenting out appropriate <lI> sections starting on Line 56 in:
profile2\tool\src\java\org\sakaiproject\profile2\tool\pages\BasePage.html
I commented out everything in <div class="wall-item-text-wrap"> except for the first line <a href="#" wicket:id="wallItemProfileLink"> in
profile2\tool\src\java\org\sakaiproject\profile2\tool\pages\panels\WallItemPanel.html
To prevent other items from showing up, like the gallery images, etc. I added style="display: none;" to the divs with these ids:
id="sideLink"
wicket:id="addFriendWindow"
wicket:id="myKudos"
wicket:id="friendsFeed"
wicket:id="galleryFeed"
wicket:id="feedbackPanel"
wicket:id="myProfileTabs"
Now we just have the the “My Profile” button which really isn’t doing anything now
The selected image (or no_image – of which I also implemented https://jira.sakaiproject.org/browse/SAK-27072)
And the user’s first name and last name
Thanks Steve!
Kim Wilson, MSCIS | Systems Analyst – Sakai & IS Academic Systems | Albany Medical Center | 518-264-1055
From: Steve Swinsburg [mailto:steve.swinsburg at gmail.com]
Sent: Wednesday, March 25, 2015 4:38 PM
To: Wilson, Kimberly
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] Disabling some features in Profile2
Hi Kim,
You can reset a profile image in the trunk version of profile2. There is a Jira for this but I can't find it at the moment.
You can disable the wall via:
profile2.wall.enabled=false
If that prints something else as you mentioned, that's a bug, could you file a Jira?
There isn't currently a way to hide the connections, search and privacy (IIRC). The ability to hide the other sections was a feature request, so similarly we could easily add permissions for those.
regards,
Steve
On Wed, Mar 25, 2015 at 4:07 AM, Wilson, Kimberly <wilsonk at mail.amc.edu<mailto:wilsonk at mail.amc.edu>> wrote:
Hi:
We are upgrading to Sakai 10.3 and want to start using Profile (profile2), but we want most of the features disabled.
I looked through this page, but can’t find everything we need:
https://confluence.sakaiproject.org/display/PROFILE/Profile2-Settings
How do you get the Profile show in everyone’s My Workspace area without each person having to go and edit their site in the Worksite Setup area?
We want to hide these buttons at the top: Connections, Search, and Privacy
We want to know how to remove a profile image and not just change the image to a different one
Remove the “Say something” with the Say it button box – we don’t want the students to use the Wall
I set this to false in sakai.properties, and nothing appears on the wall, instead of a blank white area, this is there: [panel]
profile2.profile.fields.enabled=false
Thanks!
Kim Wilson, MSCIS | Systems Analyst – Sakai & IS Academic Systems | Albany Medical Center | 518-264-1055
________________________________
----------------------------------------- CONFIDENTIALITY NOTICE: This email and any attachments may contain confidential information that is protected by law and is for the sole use of the individuals or entities to which it is addressed. If you are not the intended recipient, please notify the sender by replying to this email and destroying all copies of the communication and attachments. Further use, disclosure, copying, distribution of, or reliance upon the contents of this email and attachments is strictly prohibited. To contact Albany Medical Center, or for a copy of our privacy practices, please visit us on the Internet at www.amc.edu<http://www.amc.edu>.
_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org<mailto:sakai-dev at collab.sakaiproject.org>
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org<mailto:sakai-dev-unsubscribe at collab.sakaiproject.org> with a subject of "unsubscribe"
-----------------------------------------
CONFIDENTIALITY NOTICE: This email and any attachments may contain confidential information that is protected by law and is for the sole use of the individuals or entities to which it is addressed. If you are not the intended recipient, please notify the sender by replying to this email and destroying all copies of the communication and attachments. Further use, disclosure, copying, distribution of, or reliance upon the contents of this email and attachments is strictly prohibited. To contact Albany Medical Center, or for a copy of our privacy practices, please visit us on the Internet at www.amc.edu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20150327/fb075aa9/attachment.html
More information about the sakai-dev
mailing list