Currently we can specify a list of spaces where the template is
available. So you can put FAQ or Blog, but you have to go to those
spaces to be able to have the template provider listed when you create
a new page. So you won't be able to create a blog post from the Main
space. I'm not sure if there are real use cases for this, but being
able to fix the space where the page is created as Vincent suggested
is better.
Thanks,
Marius
On Wed, Apr 2, 2014 at 10:42 AM, vincent(a)massol.net <vincent(a)massol.net> wrote:
On 2 Apr 2014 at 09:39:34, Thomas Mortagne (thomas.mortagne(a)xwiki.com) wrote:
Sounds good in general, but do you mean for the whole wiki or limited
to blog space, FAQ space etc. ?
IMO this depends on the app. If the app supports having pages located anywhere then whole
wiki. If the app supports only pages in a given space then at the space level.
What would be nice would to be able to lock the space in a template provider so that when
you click Add at the wiki level, the space field is greyed out and uneditable and shows
the default space value provided by the provider.
Thanks
-Vincent
On Wed, Apr 2, 2014 at 9:36 AM, vincent(a)massol.net <vincent(a)massol.net> wrote:
Hi devs,
On
http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDevelopmentBestPra… we
list some app dev best practices. I'm proposing to add one more bullet point which is
to add a template provider. The goal is to make it as easy as possible for end users to
add new items for the concerned app.
For example, the blog app would have a Blog Template to create new blog post directly
from the Add menu, the FAQ app would add a FAQ Template to do the same for the FAQ app,
etc.
WDYT?
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs