Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've managed to embed all the other pages within Panels as per the D7 Panels/Privatemsg patch, and the only remaining page is the /messages/view/%thread pages. After scouring the Privatemsg API documentation and the internet, I still cannot figure out how to manually present this view or how to embed it in another location either with the API or with regular Drupal theme .tpl.php overrides.
I need to get a sidebar on the /messages/view/* pages, preferably using panels.
- Is there a function call to produce or print the entire thread list/reply form?
- Do I have to break the reply form apart from the thread list?
- After obtaining the thread list using `privatemsg_thread_load()`, is it possible to pass the data back into the overridden privatemsg-view.tpl.php file?
Any and all thoughts or hints are welcome... thanks guys.
Comments
Comment #1
Mr. Red CreditAttribution: Mr. Red as a volunteer commentedCopy the "privatemsg/privatemsg-view.tpl.php" file into your theme and rename it to "privatemsg_view.tpl.php". You can change the display of a list of messages in the theme directory.
Comment #2
ivnish CreditAttribution: ivnish commented