Hello,

I wanted to reach out and see if the faq module maintainers would like a patch that lets panels be able to handle the layout of the FAQ Page. I heard rumors that the faq page might not be able to co-exist with panels http://drupal.org/node/690904 , well I am up for the challenge. I'll complete the panels integration or die from coffee overdose. The patch is not ready yet but I wanted to create an issue so I commit myself to this task. Patch will be coming soon; I also had some experiences with panels integration with other modules like http://drupal.org/node/1042812 .

kind regards,
Chris Calip

http://drupal.org/node/1042812

CommentFileSizeAuthor
#1 faqpanels.tar_.gz2.86 KBchriscalip

Comments

chriscalip’s picture

Status: Active » Needs review
StatusFileSize
new2.86 KB

Hello,

Here is the patch/module to integrate the generated FAQ page with panels 3. The feature is designed as a separate module for performance purposes so sites that does not use panels won't have to take the additional hit. Having said that here's a brief summary
of the module:

a.) faqpanels.module is envisioned to be located under sites/all/modules/faq/modules/faqpanels
b.) provides two panels plugins namely page manager task plugin and a content type plugin.
c.) the faqpanels_faq_term page manager task plugin lets users override the layout of the path faq/%tid/%field_display , so folks using panels will be able to mix and match blocks :)
note: this will only do faq_pages faq, faq/%, faq/%/list, faq/list decided not to mess with the order form page
d.) the faqpanels_faqpage content type plugin lets users add the contact form as a widget block named "FAQ Page"
e.) @todo should we include the term object as a context?
f.) coder module checked for standards.

Please review and/or improve.

kind regards,
Chris Calip

Juan C’s picture

Subscribe

chriscalip’s picture

added as a sub module @ Panels Extras http://www.drupal.org/project/panels_extras

chriscalip’s picture

Status: Needs review » Closed (won't fix)