I don't know if this is a Panels issue or a Views issue but since I'm trying to work with a View within Panels, I thought I'd start here. Apologies if this isn't the right place to post this.
What I'm trying to achieve is to display a list of previous events grouped by year. Through Views, I set up an argument based on the year of the event date to display the list of years (2010, 2009, etc.). This list displays just fine within Panels as a Views Pane but whenever I follow one of the links, the results are not within Panels and breaks the formatting. I'm sure I'm missing something very obvious but can't seem to get this to work properly.
Any help is appreciated. Thanks!
Bob
Comments
Comment #1
esmerel commentedWhat kind of view are you using? Just a simple archive-type view?
Comment #2
Bob Moyce commentedIt's very similar to the default archive View. The Views Pane is set to filter out only the event content types with the argument set to display the Summary, sorted descending in List style.
Bob
Comment #3
Bob Moyce commentedAny help with this? I have a work around that has these pages revert to their original Block and Region layout but I'd like to have the site running completely in Panels. Any help or recommendations with this is appreciated. Thanks!
Bob
Comment #4
Bob Moyce commentedI was able to solve this problem on my own. I posted the solution I came up with over at Drupal Answers but thought I'd include it here as well in case anyone comes across this post. Hope it helps.
Within Views
Within Panels
Therefore, when a visitor goes to the main Programs page ('/programs'), they will see a list of the previous programs in the right hand corner and clicking on each one will bring them to the appropriate page (such as '/programs/previous/2001') while keeping everything in Panels.
I'm a little confused as to how all works (for instance, how does the Content Pane inherit the '/programs/previous' path from the Page?) but am glad it works as planned. Hope this helps others and please don't hesitate to let me know if I could have achieved this in a simpler way!
Bob
Comment #5
Letharion commentedThanks for coming back with an answer :)