+1 for 1) and +1 for the Marius' proposition.

2015-07-01 7:35 GMT+02:00 Marius Dumitru Florea <
[email protected]>:

> On Tue, Jun 30, 2015 at 1:42 PM, Eduard Moraru <[email protected]>
> wrote:
> > Hi,
> >
> > Now that we are moving to Nested Documents, there is the question of what
> > do we do with the existing space and page templates[1]? How do we (still)
> > display them?
> >
> > In the new create UI we will be showing just the option to create a
> Nested
> > Document, but for advanced users, we might also show the option to
> create a
> > terminal document (NS-style i.e. document in a space).
> >
> > Since a ND translates to a space WebHome in the NS approach (or previous
> > approach), we could reuse any existing space templates and display them
> > instead of page templates.
> >
> > Existing page templates were built with the NS approach in mind and I am
> > concerned that, until the app that provides them does not migrate them to
> > space templates (i.e. ND-compatible), we risk breaking their
> functionality
> > (?). This might now be valid for page templates manually created by the
> > admins that might have no issues since they are content focused and not
> > processed by any application.
> >
> > Until they are migrated, we could just show page templates only when
> > creating terminal documents, as an advanced user.
> >
> > So the options I see are:
> >
> > 1) Show both space and page templates when creating ND and only page
> > templates when creating terminal pages, hoping most of them will work
> most
> > of the time.
> >
> > 2) Show only space templates when creating ND and only page templates
> when
> > creating terminal pages, but risk hiding a lot of useful page templates
> > from regular users which would work most of the time.
> >
> > My +1 goes to 1).
>
> +1 for 1) but I think we can ignore / deprecate / remove the
> XWiki.TemplateProviderClass_type property and consider all templates
> as page templates. As Caty said, "space" template are actually page
> templates for the space home page.
>
> Thanks,
> Marius
>
> >
> > WDYT?
> >
> > Thanks,
> > Eduard
> >
> > ----------
> > [1]
> >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HTemplates
> > _______________________________________________
> > devs mailing list
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/devs
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Guillaume Delhumeau ([email protected])
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to