For a distribution that I'm working on I want to create content inside a panels page to demonstrate the selected layout for this page.
I do not want to store this content in a feature, I just want to generate lorem ipsum and add one fieldable pane to each section in the panels page. The content only needs to be generated during installation and then users should be able to edit it without their content being overwritten during a features-revert-all operation.

In other issues I've read about the add_pane() method and it looks like the function that I need but I how would I call this function from a custom module to e.g. add a fieldable panels pane of type 'text' to the panels page 'my_page' to section 'section_x'?


JurriaanRoelofs’s picture

Project: Fieldable Panels Panes (FPP) » Panels
Version: 7.x-1.x-dev » 7.x-3.3

moving this to panels project

JurriaanRoelofs’s picture

Issue summary: View changes


New Zeal’s picture

The requirements for building a custom pane are succinctly described here