Replacing the site contact page with a panel
The Contact module's contact form is, by default, rather static and plain with no straightforward option to add new content or to reorganize it. In this recipe, we will replace the standard contact page with a panel thereby allowing us to take advantage of the power of Panels.
Getting ready
The Contact module is assumed to be enabled as we will be embedding the default contact form in one of our new panel's panes. To demonstrate how using panels allows us to easily add new content, we will be embedding a view into one of its panes. The view is to be titled Addresses and should return a list of nodes containing sample contact information. It is assumed that the view has been created and is available for use by the panel.
How to do it...
The Page manager module allows the overriding of specific Drupal pages. These pages are listed along with custom panels on the page management interface accessible at admin/build/pages
(Home | Administer | Site building...