0

This is a silly question but how does Panels know where to insert the panels I just made? I didn't type a single line of PHP and yet there it is! It's like magic (woooh...)! On a side note, can I define where it gets placed through PHP? Thanks.

1 Answer 1

1

Panels places the panel into the 'content' region of the selected page.

If you want to place it somewhere else on the page, try using mini-panels to create a block and place it that way. No need to write custom PHP code for that.

3
  • Wait, since Panels is placed in the content region, then this basically makes most of the regions section of my theme's .info file obsolete. Am I right?
    – enchance
    Jun 15, 2011 at 2:49
  • no - you can still place blocks through the blocks UI onto a page that uses panels. the header and footer will stay intact, etc... Jun 16, 2011 at 20:15
  • I see. So Panels searches for the content region by default. But you can still place panels via Mini Panels and existing Page Panels.
    – enchance
    Jun 17, 2011 at 5:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.