Hi Caty,

> On 06 Jun 2016, at 18:31, Ecaterina Moraru (Valica) <[email protected]> wrote:
> 
> Hi,
> 
> The Template Provider allows setting the locations where the template must
> be available.
> Some applications need/encourage their pages to be located in a particular
> app location.
> Currently, if we set such a location for a template, the template will be
> listed in the "Create Page" step only if the user navigates to that
> location and clicks on the "Add" button.
> 
> One behavior could be that all templates are displayed each time the user
> clicks on 'Add', regardless of the initial location.
> This would mean splitting the current Location functionality into "Template
> Visibility" and "Creation location restrictions":
> - Ideally "Template Visibility" should not be restricted, but we would need
> to keep this field in order to be backward compatible with the current
> behavior.
> - "Creation location restrictions" would indicate if the page needs to be
> created in a particular location. The user will not be allowed to create
> somewhere else and be warned by an error message.
> 
> This mail's purpose is to debate:
> A. If templates should be visible everywhere or just in a particular
> location?
> B. Should we recommend applications to restrict the creation of pages to a
> particular location?
> 
> Let me know what you think.

I think there are lots of various use cases and that both A and B are 
interesting to have. I wouldn’t deprecate what we have (i.e. A). I would simply 
add B.

Thanks
-Vincent

> Thanks,
> Caty
> 
> Related:
> [1] http://jira.xwiki.org/browse/XWIKI-8759
> [2]
> http://design.xwiki.org/xwiki/bin/view/Proposal/HomepageSketches/HomepageTemplateAvailability/

_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to