We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Suggestions

Content Create Feature

Hello,

I think an option for perch_content_create where you could specify a selection of templates a user can choose from instead of specifying a specific template or showing them an entire list to choose from would be pretty useful.

So something like

perch_content_create('Content', [
    'templates' => ['template1.html', 'template2.html']
]);
Dexter Harrison

Dexter Harrison 29 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

The purpose of perch_content_create() is to create the region so that the user doesn't need to make any choices.

I understand that, I just thought you could specify all these options and limit the template choice to a select few that work with these options.

As some of my larger sites have quite a few templates and being able to filter the template choice down to a few that work with a specific master page would be a nice feature I think.

Drew McLellan

Drew McLellan 2638 points
Perch Support

We'll give it some thought.