Hi Randy,
From your choice of words (and your continued usage of
the now deprecated
"spaces" macro on the homepage, as observed in the
screenshot you`ve
provided), I understand that you still see things in terms of "creating
spaces" and "creating documents inside spaces" in 7.4 and, IMO, that`s
really the issue.
In case you`ve missed it from the release notes, starting with 7.2, we`ve
introduced the notion of Nested Pages [1], which means that you no longer
have the notion of "pages inside spaces", but always "pages inside
pages".
Technically, it is actually implemented by always creating a "space" when
you create a page from the UI, but the user should see it as if he is
always creating a page.
= Use Case 1 =
When your users go to your homepage and create a new page "under the Main
space", they are actually creating a nested page (old "space"), under the
homepage (document called "Main") of your wiki. If you change [2] the
homepage of your wiki to point to a different document instead (say
"Some.Other.Homepage"), I`m fairly sure that you do not want your users to
start creating new pages as children of that page (e.g.
"Some.Other.Homepage.NewUserPage"), because that is what the alternative
would lead to.
The logic behind the original decision of handling the homepage differently
was that, even as Guillaume was hinting, the homepage is seen as the "root"
of your wiki. Creating a page from the root should result in creating top
level pages, not child pages. If you wanted to create a child page of
something from the homepage, you would explicitly do so by selecting a
parent. Not selecting a parent while on the homepage would logically imply
that you want to create a page in the wiki (i.e. top page).
I`m curious why do you find it normal the other way around, i.e. landing on
the wiki (i.e. not navigating somewhere in particular) + creating a new
page => resulting in creating a child page of the "Main" page (which
happens to be the homepage).
If you always create child pages of the homepage ("Main" page), on the long
run, all your URLs will be /Main/This/Page, /Main/That/Page,
/Main/That/Other/Page, etc... but ultimately, what is this "Main", and why
is it that important to drag it along in all your page URLs? (of course,
again, if you change your homepage to "Some.Other.Homepage", all your urls
will be prefixed by that!)
= Use case 2 =
Now, another way of looking at this would be that, for some reason, you
*really* want to keep all your content under some top level page (e.g. as
Vincent suggested, a "Content" container page), perhaps to separate it from
applications (which, for historic reasons, currently are also located in
the top level) like Blog, Sandbox, etc. or any other reason.
The only limitation in this usecase is if you also want to use that
container page ("Main", "Content", etc.) as your homepage. In this
case,
indeed, I see no other solution but to modify the createinline.vm template
or for us to drop this behavior altogether.
---
Conclusion so far:
We have 2 use cases regarding a new page's parent. They can both coexist,
except that, in some cases, the 2nd use case is limited by the first use
case. If we consider this limitation to be a deal breaker, then we are left
with 2 choices:
A. Drop use case 1 (i.e. always propose the current page as parent of the
new page, regardless if the current page is the homepage or not)
B. Make use case 1 configurable (i.e. enable or disable it completely, in
case you are suffering from the limitation of the second use case; this
allows the user to decide if it's useful or not)
Of course, if option B is what we go for, we also need to figure out where
we would put such a configuration.
I would be in favor of option B (since I obviously believe that use case 1
is something useful for the majority of cases), but have no idea on the
location of the configuration.
WDYT?
Thanks for all your feedback so far and I`m counting on your help and
anyone else interested to reach a conclusion regarding this.
-Eduard
----------
[1]
http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization
[2]
http://www.xwiki.org/xwiki/bin/view/FAQ/How+to+change+the+home+page+destina…
On Mon, Jan 4, 2016 at 3:13 PM, Randy Havens <
Randy.Havens(a)cityofrochester.gov> wrote:
So if we
bring
back the old behavior as-is we'd still have to find a solution for
top-level space creation.
That’s already taken care of. This is how I always created spaces before:
(this is a screenshot from my 7.4 instance, so I know that it is still an
option)
[cid:image001.png@01D146C6.3625A240]
A suggestion I had now that nested spaces are
activated by default was to
make the home page of the wiki be "above" every other space. Said
differently, the home page would reside directly at
https://<server>/xwiki/bin/view/<https://%3cserver%3e/xwiki/bin/view/>
without anything else being mentioned. From that page you'd be able to
create top-level spaces, and every other page would behave as expected,
including Main.WebHome. I think this is what would feel the most natural,
but it causes many underlying issues, notably because a page with no
document reference cannot really exist in XWiki right now.
I agree. This seems to be a sensible solution.
image001.png (23K) <
http://xwiki.475771.n2.nabble.com/attachment/7597376/0/image001.png>
--
View this message in context:
http://xwiki.475771.n2.nabble.com/New-Page-Has-No-Parent-tp7597344p7597376.…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users