EPSCoR / ERCore

ERcore content management system to assist with NSF EPSCoR reporting
4 stars 7 forks source link

New team view #11

Open aturling opened 9 years ago

aturling commented 9 years ago

I added a new branch to the repository with the code I used to implement the team view on the user profile page. I left it as a separate branch because I'm not sure whether it should stay as a separate module or be integrated with the existing includes/node_logic.inc code. The installation process would have to import the view as well. I don't know how to do that within a module, so I just imported the view manually within Drupal and then enabled the addteamview module.

The team view does increase the size of the user profile page; I think eventually I'll have to add a filter to only show content created within the last N months.

aturling commented 9 years ago

Also you can filter content under "accomplishments" by team. I just did this for calendar events on the NM dev site as an example: http://dev-ercore.nmepscor.net/calendar I added this to our track 1 site for collaborations, external engagements, other research products, patents, publications, calendar events, and highlights. Our users wanted more options for sifting through all of the content (mainly to see what their team members have submitted), so I added this filter in addition to some extra sorting options like sort by date, sort by title, etc. The team content view on the user profiles is a nice overview at a glance but isn't great for sifting through pages and pages of content. I don't think it could be added to core though because the teams aren't all the same across states or tracks. Maybe the steps could be included in the admin guide to give people the option to set it up if they want and are comfortable editing views.

cjallen-epscor commented 9 years ago

@aturling - this works great. I installed locally without a hitch. I added a few changes to the module so that this 'submodule' gets bundled next to ERCore in the modules listing. Those commits are at https://github.com/EPSCoR/ERCore-3.1/commits/3.1-dev-teamview

This now allows this helpful teamview to be seen as follows -

screen shot 2015-06-04 at 2 10 49 pm

cjallen-epscor commented 9 years ago

@aturling - I also added a "Your Team Information" locally that pulls which project component you are attached to. This is achieved by attaching an additional view in the header section of the honors/awards attachment. screen shot 2015-06-15 at 3 53 00 pm