[xwiki-users] copy/rename page problem
Hello, is there any way to copy a page (within one wiki) without the source-space-link? Example: If you copy or rename a page "sourcespace:page" to "destspace:page2" and then go to destspace:page2 you will see a "sourcespace:page2" link. It should be "destspace:page2"! If you navigate an click on "sourcespace" you will switch to sourcespace. (if you don´t have access to sourcespace you will get an error) We want to build up a wiki where a user has no write access to common spaces and has no access to other users. The user inserts pages in his own space. A moderator should move the user-page to a common page if the page is ok. This behaviour I described with the copy/rename makes problems ;-) Any suggestions? (Xwiki 3) -- View this message in context: http://xwiki.475771.n2.nabble.com/copy-rename-page-problem-tp6249507p6249507... Sent from the XWiki- Users mailing list archive at Nabble.com.
On 04/07/2011 02:04 PM, Marcus Kretzschmar wrote:
Hello,
is there any way to copy a page (within one wiki) without the source-space-link?
Example:
If you copy or rename a page "sourcespace:page" to "destspace:page2" and
You mean sourcespace.page to destspace.page2 because "." is used to separate the page name from the space name.
then go to destspace:page2 you will see a "sourcespace:page2" link. It
Where do you see this link? In the page content? Hope this helps, Marius
should be "destspace:page2"!
If you navigate an click on "sourcespace" you will switch to sourcespace. (if you don´t have access to sourcespace you will get an error)
We want to build up a wiki where a user has no write access to common spaces and has no access to other users. The user inserts pages in his own space. A moderator should move the user-page to a common page if the page is ok. This behaviour I described with the copy/rename makes problems ;-)
Any suggestions?
(Xwiki 3)
-- View this message in context: http://xwiki.475771.n2.nabble.com/copy-rename-page-problem-tp6249507p6249507... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
yes, with "." ;-) The link is displayed in the left upper corner where you can navigate http://xwiki.475771.n2.nabble.com/file/n6249917/Wiki_Link.png I'm in Space "Modul BM" but will get a Link "User TU" >> NeueSeite The page is copied from Space "User TU". After copy the link should be "Modul BM", noch "User TU" Best, Marcus -- View this message in context: http://xwiki.475771.n2.nabble.com/copy-rename-page-problem-tp6249507p6249917... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Marcus, On 04/07/2011 04:02 PM, Marcus Kretzschmar wrote:
yes, with "." ;-)
The link is displayed in the left upper corner where you can navigate
http://xwiki.475771.n2.nabble.com/file/n6249917/Wiki_Link.png
That is the page breadcrumb (used for navigation) and it's based on parent-child relation. Each page can have a parent page. The breadcrumb is the path from the current page to the root, following the parent-child relation.
I'm in Space "Modul BM" but will get a Link
"User TU">> NeueSeite
The page is copied from Space "User TU". After copy the link should be "Modul BM", noch "User TU"
The reason is simple: the parent field is not modified when you copy or rename a page. This is the most accepted behaviour. You don't always want to change the parent when you copy or rename a page. Now, if you specify the parent relative to the current space, it will be resolved relative to the target page when you copy or rename. For instance, if you set the parent to just "WebHome" (notice that the space is not specified in the parent name) it will be resolved as CurrentSpace.WebHome. After you copy the page it will be resolved as TargetSpace.WebHome. Hope this helps, Marius
Best,
Marcus
-- View this message in context: http://xwiki.475771.n2.nabble.com/copy-rename-page-problem-tp6249507p6249917... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hello Marius, perhaps a silly question, but how do I set just the parent? If I copy/rename the page I have only the chance to specify a destination http://xwiki.475771.n2.nabble.com/file/n6250312/copypage.png There is no option. I googled but found only some ALTER statements? Do you have some code? Or is there any (hidden) feature I cannot find? Marcus -- View this message in context: http://xwiki.475771.n2.nabble.com/copy-rename-page-problem-tp6249507p6250312... Sent from the XWiki- Users mailing list archive at Nabble.com.
On 04/07/2011 05:51 PM, Marcus Kretzschmar wrote:
Hello Marius,
perhaps a silly question, but how do I set just the parent?
You can set the parent from the Wiki or WYSIWYG edit mode. Just edit the page and click on the tree icon above the title field. If you have an older version of XWiki then you should have a panel on the right of the edit area which contains a filed for the parent. Hope this helps, Marius
If I copy/rename the page I have only the chance to specify a destination
http://xwiki.475771.n2.nabble.com/file/n6250312/copypage.png
There is no option. I googled but found only some ALTER statements? Do you have some code? Or is there any (hidden) feature I cannot find?
Marcus
-- View this message in context: http://xwiki.475771.n2.nabble.com/copy-rename-page-problem-tp6249507p6250312... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
THANX! Works! I really didn't see the edit button ;-) Marcus -- View this message in context: http://xwiki.475771.n2.nabble.com/copy-rename-page-problem-tp6249507p6250487... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
Marcus Kretzschmar -
Marius Dumitru Florea