Hi
I want to insert panels to theme, for example i have a panel name sport
in my theme i just want to replace panel to the content code in my sport.tpl.php
<?php print $content; ?>
to something like
<?php print $sport; ?> or what ever code php to call my panel name
Comments
Comment #1
merlinofchaos commentedIf you get the 'did' (the misnamed panel id from the database) You can do:
That'll print an entire panel.
You can also construct panels manually using the function panels_print_layout() -- you'll need to look in panels.module to see how to use that.
I'll document this stuff better after Panels 2, which'll be a lot better for what you want to do.
Comment #2
(not verified) commented