Is it posible to give a title to a region inside a panel page? (guess not, but it would be great). Because let's say, my region contains 2-3 specific nodes. In order to add a big title to it, I must create a view for these 2-3 nodes, just to give them a common title. If the regions had titles, it would be a simple work without the need of views. (Views are great when you select nodes based on some criteria other than nid numbers, but making a view with criteria like (nid=65 or nid=66 or nid=67) is artificial, besides, it's difficult to achieve specific sorting of these nodes with Views, while inside a panel region it's drag and drop)
P.S. The same for rows and columns, e.g. there is a row containing 3 columns with mixed content and I'd like to add a title to the whole row. Not possible?
Comment | File | Size | Author |
---|---|---|---|
#6 | add region title.jpg | 86.32 KB | nlambert |
Comments
Comment #0.0
raincloud CreditAttribution: raincloud commentededit
Comment #1
raincloud CreditAttribution: raincloud commentedanyone??
Comment #2
truyenle CreditAttribution: truyenle commentedsame request?
Comment #3
kbk CreditAttribution: kbk commentedThis workaround should work:
1. Add content > New custom content
2. Leave Title field empty
3. Place desired title in Body a'la
<h2 class="pane-title">My region title</h2>
4. Switch body to Full Html
5. Save etc.
Comment #3.0
kbk CreditAttribution: kbk commentededit2
Comment #4
kenorb CreditAttribution: kenorb commentedComment #5
kenorb CreditAttribution: kenorb commentedRelated: http://drupal.stackexchange.com/questions/102900/show-panels-region-title
Comment #6
nlambert CreditAttribution: nlambert as a volunteer commented+1
Something like add region title below add content
Title visibility could be based on if the region is rendering content.
To overcome this I tried wrapping my fields in custom content and using keyword replacement, but keywords don't render the theme field wrappers.