Hello,
I already found #551144: Mini-Panels : how to render a mini-panel directly in code? about simple mini-panel rendering, but I need to pass arguments to the mini-panel.
How could I render a mini-panel with arguments?
Thanks in advance.
Hello,
I already found #551144: Mini-Panels : how to render a mini-panel directly in code? about simple mini-panel rendering, but I need to pass arguments to the mini-panel.
How could I render a mini-panel with arguments?
Thanks in advance.
Comments
Comment #1
delykj commentedHere is a simple solution:
Comment #2
merlinofchaos commentedNot really a patch that needs review. Though...possibly having an easier API to do this might be handy, I suppose.
Althought ctools_content_render() might be the preferable function to render a mini panel.