Project

General

Profile

Feature #148

Prioritizing/filtering templates

Added by Stephen Burrows almost 13 years ago. Updated almost 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Core
Target version:
-
Start date:
06/07/2011
Due date:
% Done:

0%

Estimated time:

Description

Right now, all templates show up in the admin interface for anyone making a page. In the long run, this will be difficult for users because a lot of templates may be one-offs, or only meant for use by people who Know What They're Doing. A couple of solutions come to mind:
1. Order template select box by the number of pages that use each template, descending.
2. add a field to templates indicating what kind of template they are.
3. add a field to templates indicating which groups/users have access to them.

History

#1

Updated by Stephen Burrows almost 13 years ago

Additional thought: Make a contrib app that handles permissioning and display of templates more elegantly via a model, perhaps called TemplateGroup. Essentially it would have a many-to-many to Templates, a many-to-many to Users, and a many-to-many to groups. It would then be incorporated into i.e. PageAdmin to provide a field that only shows Templates that the user has permission to access.

Also available in: Atom PDF