issue: new blog post created in wrong space
Hi, When I use the new page panel in XWiki 1.0 final to create a blog post, I found that the new blog post has been created in the Blog space not Current space (noted at bottom of the panel). I did some look in the calling, and I found that equalvalent is adding, e.g., following line after a page link: ?xpage=create&tocreate=post&title=testblogcreation also I did a test on the xwiki.org page: http://www.xwiki.org/xwiki/bin/view/Main/WebHome?xpage=create&tocreate=post&... which should result in create a new page at Main space but I got directed here: http://www.xwiki.http://www.xwiki.org/xwiki/bin/inline/Blog/testblogcreation... see, it's not Main. test for "tocreate=page" result in right place. thus I doubt that the code for "tocreate=post" has some where miss the space parameter. as we need use the "new page" panel tool for creating blog posts in the calling space, anywhere I can get into solving this? Thanks in advance! Muzi
Hi, The warning "* new pages are..." applies only for new pages; It has a star, meaning that it's a footnote, and the footmark appear only at the Page* item. You can change this in /skins/albatross/create.vm, see how it's done for pages and change accordingly for blog posts. On 6/12/07, xwiki xwiki <[email protected]> wrote:
Hi,
When I use the new page panel in XWiki 1.0 final to create a blog post, I found that the new blog post has been created in the Blog space not Current space (noted at bottom of the panel).
I did some look in the calling, and I found that equalvalent is adding, e.g., following line after a page link:
?xpage=create&tocreate=post&title=testblogcreation
also I did a test on the xwiki.org page:
http://www.xwiki.org/xwiki/bin/view/Main/WebHome?xpage=create&tocreate=post&...
which should result in create a new page at Main space but I got directed here:
http://www.xwiki.http://www.xwiki.org/xwiki/bin/inline/Blog/testblogcreation...
see, it's not Main.
test for "tocreate=page" result in right place.
thus I doubt that the code for "tocreate=post" has some where miss the space parameter.
as we need use the "new page" panel tool for creating blog posts in the calling space, anywhere I can get into solving this?
Thanks in advance!
Muzi
Sergiu -- http://purl.org/net/sergiu
Hi Sergiu, ooh, that's I didn't understood why is that star fllow the "new page" item, thought that means default... just in case, the "* new pages are..." appears at all items, the script is just a footnote div, need some modify? thanks for note me the create.vm, I will look into it. Muzi On Jun 13, 2007 07:00 AM, Sergiu Dumitriu <[email protected]> wrote:
Hi,
The warning "* new pages are..." applies only for new pages; It has a star, meaning that it's a footnote, and the footmark appear only at the Page* item.
You can change this in /skins/albatross/create.vm, see how it's done for pages and change accordingly for blog posts.
On 6/12/07, xwiki xwiki <[email protected]> wrote:
Hi,
When I use the new page panel in XWiki 1.0 final to create a blog post, I found that the new blog post has been created in the Blog space not Current space (noted at bottom of the panel).
I did some look in the calling, and I found that equalvalent is adding, e.g., following line after a page link:
?xpage=create&tocreate=post&title=testblogcreation
also I did a test on the xwiki.org page:
http://www.xwiki.org/xwiki/bin/view/Main/WebHome?xpage=create&tocreate=post&...
which should result in create a new page at Main space but I got directed here:
http://www.xwiki.http://www.xwiki.org/xwiki/bin/inline/Blog/testblogcreation...
see, it's not Main.
test for "tocreate=page" result in right place.
thus I doubt that the code for "tocreate=post" has some where miss the space parameter.
as we need use the "new page" panel tool for creating blog posts in the calling space, anywhere I can get into solving this?
Thanks in advance!
Muzi
Sergiu -- http://purl.org/net/sergiu
participants (2)
-
Sergiu Dumitriu -
xwiki xwiki