Since the shields are Harvard specific can we get them removed.

CommentFileSizeAuthor
#4 853054-remove_shields-1.patch11.19 KBredndahead

Comments

redndahead’s picture

btw I understand I can turn it off in the settings, but for openscholar as an app it should probably be removed.

ferdi’s picture

Agreed. That probably should be a widget/block anyway where end user could upload a shield.

redndahead’s picture

Project: OpenScholar » OpenScholar Virtual Site
Version: » 6.x-1.x-dev

Moving to Openscholar Vsite

redndahead’s picture

Status: Active » Needs review
StatusFileSize
new11.19 KB

Here is a first pass. I'm not sure if it shows the files that need to be removed. There also might be more that I missed since this isn't tested yet, but I'll work on testing it soon.

redndahead’s picture

I have now had a chance to test this patch and it's working for me. I don't see any errors showing up on the site. Choices dissapear and the shield is removed from the site page.

ferdi’s picture

Assigned: Unassigned » ferdi

Will review this asap. We just need to move this code somewhere in our custom modules

jct’s picture

The patch works for me in the latest version of openscholar, but it would be ideal if there were a way for admins to add shields from their own institution, rather than remove the shields option entirely.

Anonymous’s picture

John - yes - that would be very cool!

jct’s picture

Status: Needs review » Closed (fixed)

Beta 11 has this functionality built in. The admin link appear on an individual vsite's shield selection page when logged in as admin.