Any "Add New Page" form for the wiki

Any "Add New Page" form for the wiki

by Doug Holton -
Number of replies: 6
I'd like to make it easier for students to create new pages.
The search trick doesn't work for me (1.9b3), and the only other way is to edit, added a bracketed page name, then save, then click that link and edit and save the new page.

MoinMoin and other wikis have a form, where you can enter the name of the new page, then click a submit button which takes you to the edit form for the new page.

Is there anything like that available for the Moodle wiki?

Average of ratings: -
In reply to Doug Holton

Re: Any "Add New Page" form for the wiki

by Doug Holton -
I allow javascript on my moodle site, but when I tried to make my own "add page" button like so, the editor wiped all form elements out:

<input type=text id="pagename" value="Your New Pagename"><br />
<button onclick="document.location=document.location+"&page=edit/""+escape(document.getElementById('pagename').value)">Add New Page</button>


In reply to Doug Holton

Re: Any "Add New Page" form for the wiki

by Gonzalo Serrano -
Yes, there is a block in NWiki to create a new page.
In reply to Gonzalo Serrano

Re: Any "Add New Page" form for the wiki

by Doug Holton -
How do you access this block?
Thanks

In reply to Doug Holton

Re: Any "Add New Page" form for the wiki

by Gonzalo Serrano -
You have to enable the "blocks on modules" feature:

- First go to Site Administration > Appearance > Themes > Themes Settings.
- Then enable "Show blocks on module pages" and save the changes.
- After that go to your wiki and press the 'Blocks editing on' button.
- Finally add the wiki blocks needed.

Have fun.
In reply to Gonzalo Serrano

Re: Any "Add New Page" form for the wiki

by Doug Holton -
Hi, thankyou for your help.

I actually already have 'show blocks on module pages' enabled, but I don't see any blocks that I can add to the wiki.

I just noticed though, when I looked in the moodle folder on the server, the wiki says "ewiki" not "nwiki". I am using 1.9b3 default moodle install. Maybe nwiki is required for this block and I need to install it separately?

In reply to Doug Holton

Re: Any "Add New Page" form for the wiki

by Gonzalo Serrano -
Oooops you are correct, i thought you were talking about NWiki, my mistake ^^

Those blocks i was talking about are NWiki blocks, not for ewiki.

BTW there is not yet any NWiki version for moodle 1.9.X (your version), but is comming soon.

Bye