It would be quite useful to have it built into Panels so that along with being able to override the Title, I can also turn into a link. I've already run into a few use cases where I have a minipanel displayed in a panel page showing different sortings of a more general view and I would like the title of this panel to link to it.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | make-panel-title-link-350353-15.patch | 3.76 KB | japerry |
| #10 | make-panel-title-link-350353-10.patch | 3.59 KB | mimodsg |
| #7 | make-panel-title-link-350353-7.patch | 22.36 KB | mimodsg |
Comments
Comment #1
merlinofchaos commentedPanels 2 is no longer available and is unsupported. Marking all Panels 2 issues won't fix.
Comment #2
drifter commentedJust a note - this is possible in Panels 3, just enter the title as HTML
Comment #3
noomz commentedI think that manually enter <a> tag without using l() function is not good. It should has path field to make title as link in the Drupal way.
Comment #4
esmerel commentedAnd again, all Panels 2 issues are not going to be fixed.
Comment #5
anybodySwitching this over to 7.x.3.x-dev, because this feature is still a very useful requirement and I've had lots of cases where this would have helped a lot to solve things cleanly.
So it would be very nice, if this feature request could be discussed.
I think one possible solution would be to add a new "link title" option, which, if enabled, allows to enter a path and title.
Comment #6
Overflowed commentedI agree with Anybody...
I was trying to link the title of a "last entries" content-pane to the "full list" of entries, and I can't see how to do it.
So, after a quick google search, I ended in this feature request issue :)
Comment #7
mimodsg commentedI included a new field in the panel administration called "Title URL", it will grab the info on that field to create the link, if empty no link will be generated.
Hope it helps!
Cheers
Comment #8
mimodsg commentedSorry, just to update the issue status to needs review
Comment #9
gmclelland commented@mimodsg - thanks for the patch. I just quickly looked at it and see that it needs some updates. It looks like there is trailing white space and the tab indentions are 4 spaces instead of 2. See https://www.drupal.org/coding-standards
Also, is there another issue for being able to have a custom content pane's title a link as well?
Comment #10
mimodsg commented@gmclelland, thanks for the feedback, uploading updated patch with indent corrections, may you take a look at it please.
I could find any other issues for being able to display the panel title as link.
Comment #12
anybody+1 for the patch in #10. It works good for me but not for all types of panel panes. For example I have a an exposed filter block which title I would like to link but no title link field appears. (Sidenote: Sadly also blocktitle_link.module does not work.)
Comment #13
anybody#10 RTBC!
Comment #14
japerryWhile its great that there is this feature request, I think having it displayed on all panel pages is a bit much. We now have three things related to the title there.
Also since I've only seen 15 watches on this, I'm not sure having the field so prominent is great. Marking needs work for some type of UI redo.. but if folks wanna use this patch on their own sites, #10 works as it should.
Comment #15
japerryHere is a reroll against head (hash 1432d0c0505926c563cc29ac0effb5a771d0587c). unfortunately it's probably quickly going to go out of date.
Comments in #14 still hold true.
Comment #16
antonyanimator commentedDo not use patch against latest panels dev as it didn't work for me
Comment #17
cparkner01 commentedI think this is pretty important as I would love to be able to have the panel title a URL with just the click of a button, unfortunately I need this for a drupal 8 version so the patch does not apply for me. Anyone know how to achieve panel title links in Drupal 8?