Closed (fixed)
Project:
Julio
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Apr 2012 at 14:46 UTC
Updated:
17 Jul 2012 at 00:11 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | section_title_blocks-1536902-5.patch | 30.92 KB | lightsurge |
Comments
Comment #1
lightsurge commentedActually, just discovered SQL ORing comes as standard with View 3 (nice!), so not so difficult after all ;-)
Comment #2
lightsurge commentedRelated to #1535668: update various exportables to support dynamic details related to feature nodes (eg. clubs, teams, etc.)
Comment #3
jgraham commentedI 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.
Comment #4
lightsurge commentedI 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] ) "
Comment #5
lightsurge commentedThis patch
Comment #6
penguininja commented@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.
Comment #7
penguininja commentedComment #8
penguininja commentedThis 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.