Posted by lightsurge on April 17, 2012 at 2:46pm
4 followers
| Project: | Julio |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | penguininja |
| Status: | closed (fixed) |
Issue Summary
On, for example, the Student Life landing page, I can post announcements/events.
However, because the block views which would list them, only list content of type 'Club', they're not displayed anywhere.
Not really sure how to approach this since there's no Views Or for Drupal 7. It would be nice to have all announcements etc together rather than in different blocks/pages. All I can think of is to make Student Life a club rather than an admin unit, and filter out nodes belonging to it from Views it shouldn't be listed in.
Comments
#1
Actually, just discovered SQL ORing comes as standard with View 3 (nice!), so not so difficult after all ;-)
#2
Related to #1535668: update various exportables to support dynamic details related to feature nodes (eg. clubs, teams, etc.)
#3
I should have addressed this as part of #1525612: Adjust top-level sections nodes to be administrative units I may have missed something in the views rework because the block display and contexts should have been reworked similar to what you describe in the initial issue.
#4
I did fix this but forgot to file a patch.. Just took altering the views filters to " Published AND ( [Clubs] OR [belonging_to_student_life_gid] ) "
Edit: For the sake of making sense - " Published AND ( [belonging_to_a_club] OR [belonging_to_student_life_gid] ) "
#5
This patch
#6
@lightsurge Awesome, thanks!
I've applied this patch and am making a few adjustments to avoid duplicate blocks. I'll probably be able to push these changes tomorrow morning.
#7
#8
This is set. Top-level groups now have "News" and "Events" blocks that display the appropriate content from that group *and* all content from the corresponding group type. I.e. the "Athletics Events" block displays events from the "Athletics" group and from all "Team" groups.
I'm still figuring out how to handle galleries, so I'll address that in a separate ticket.
#9
Automatically closed -- issue fixed for 2 weeks with no activity.