I overwrite panels-pane.tpl.php by simply having this:
print $content;
Now I want to do more with $content. For example: depending on if this pane is for Node:Title, Node:Body, etc, I want to do some custom work on this pane.
I find that if I modify panels-pane.tpl.php, it will apply to all panes.
Is there a way to customize individual pane?
Thanks!
Comments
Comment #1
Anonymous (not verified) commentedsubscribe
Comment #2
minghui.yu commentedFollow up:
If I create a View that contains field Title, Body, etc, then I can customize the template for that View and then use that View in my Panel.
However, that will have lots of overwritten files: for each View, I need to overwrite at least four templates (view page/block, row style, etc.)
Comment #3
Letharion commentedThere is currently no support for this. It will probably show up some day. Currently you will have to implement the theme function for panels instead.