[This may be a duplicate, I didn't see anything else in the issue cue but it's hard to imagine someone else didn't notice!]
I was struggling with getting a View's title to changed based on the view's arguments in panel. The view's title would accept a title override from the panels settings, or it would revert to the base title for the view, but it would not change the title based on the view's argument.
After a little debugging I noticed that the block's title was being set before the view was actually built, which is why it wasn't pulling in the custom title defined by the view's argument.
Here is a patch that fixes this. I simply moved the declaration for for setting the block's title so that it is called after the view is built.
| Comment | File | Size | Author |
|---|---|---|---|
| panels_views.module-view-arguments-title.patch | 924 bytes | lee20 |
Comments
Comment #1
KingMoore commented+100
I have been struggling to get my view titles to show up correctly in panels, and this patch fixes the problem perfectly. What is the chance of this getting committed any time soon?
I am running Views Panes 6.x-2.0-alpha3
Comment #2
KingMoore commentedI have tested this and it works.
Comment #3
merlinofchaos commentedCommitted! Thanks!