2.0 wiki and templated first pages

2.0 wiki and templated first pages

by David Masuda -
Number of replies: 19

Greetings,

I've created several wikis in a course (just moved up to 2.0) and in each case built a standard template for the firt page of the wiki (generally a table with prompts for students to complete).

This works well for wikis that are set to "collaborative", but for wikis that are created as "individual" I am unable figure out is I can also create the first page template for each student's wiki.

Is this possible?

Anticipatory thanks...

Average of ratings: -
In reply to David Masuda

Re: 2.0 wiki and templated first pages

by Ulrike Albers -

Hallo David and everybody,

I came here to look for help for exactly the same problem, but I have 1.9.9 (and I actually hadn't relized this probleme was because I use students' wikis)  

Can anybody help with this ?

Thank you !

In reply to Ulrike Albers

Re: 2.0 wiki and templated first pages

by Ulrike Albers -

Nobody ?

Wikis are really great for this kind of activity... wide eyes

In reply to Ulrike Albers

Re: 2.0 wiki and templated first pages

by Marc Grober -
Ulrike, I can't offer u anything but history. Some time ago, just after decision to go w nWiki for M2 was made, I asked Ludo question about how to develop and roll out multipage student wiki. The process to do that in erfurtwiki was easy enough but fraught with formatting issues. He showed me a template utility (on the drwiki site) that would make such an exercise technically trivial and there was a post in the forum at the time I thinking explaining it (in auto shop at prsent so difficult to search.) When nWiki was released,however, this utility did not seem to be included. I posted questions about it but never saw an answer. As I was concerned about continuity issues, I did not convert my wikis to nWiki (which appears to have been a good decision....) and as a result never followed up. I would try to connect with Ludo on this ..... Good luck
In reply to Marc Grober

Re: 2.0 wiki and templated first pages

by John White -

Ulrike / Marc,

Does this link help?

http://moodle.org/mod/forum/discuss.php?d=115403

At the end Edward Beckmann proposes a neat solution

Regards,

John

In reply to John White

Re: 2.0 wiki and templated first pages

by Marc Grober -
John, Yes, that was the thread and Edward was suggesting the process that was outlined in fact in the reference I provided earlier in the thread (a process also mentioned in Rice as well as Foster books.) However, that solution depended upon access to moodledata in a fashion that is arguably inconsistent with Moodle 2, and certainly less elegant than that available via the nWiki template utility as originally described. So...... My first recourse would be to Moodle 2 docs, and those being, arguendo, grossly inadequate, the options are to thrash about to see if one can replicate the erfurtwiki behavior in M2, or get some dev to explain transitional behavior in the wiki module..... Hurray for Moodle 2!
In reply to Marc Grober

Re: 2.0 wiki and templated first pages

by John White -

Thanks Marc.

So you would probably need a workaround for the workaround, if you wanted to use this process temporarily. In this case that likely means asking the Administrator to turn on "Allow legacy files" for the site, and then the course manager to select Yes for the "Legacy course files" setting.

But once you've done that (a) you haven't got M2's security layer anymore, and (b) you'ld probably end up with everybody putting everything in there again! So not a good move!

In reply to John White

Re: 2.0 wiki and templated first pages

by Marc Grober -
And just because the legacy file system is turned on doesn't mean that the erfurtwiki feature will work. Marc (Ludo) has just posted that his team will be starting on the template feature and perhaps he can comment on whether the current M2 wiki affords the teacher the ability to create a multipage student wiki without the template utility?
In reply to John White

Re: 2.0 wiki and templated first pages

by Ulrike Albers -

Hallo John, Marc and the others,

Thanks for that link and the explanations !

I don't understand all of this discussion here (which is nwiki, erfurtwiki...I've got the default wiki for 1.9.9...); well I followed Edward's solution but at the end, my wiki template only showed the first word of the text - maybe I did something wrong:

- I created my template and saved is as a .txt

- I renamed it, without extension (wiki_email)

- I created a students' wiki and chose that file as the "first page" (without giving any name)

Thank you again, I'll try to understand your discussion and look which wiki is which !

Ulrike

In reply to Ulrike Albers

Re: 2.0 wiki and templated first pages

by Marc Grober -

OK,  Ulrike,  back to the nitty gritty - lol....

erfurtwiki is what the default wiki in Moodle is based on through Moodle 1.9.x. nWiki is the basis for the wiki in Moodle 2+

The process you describe  "should" work, and the fact that you produced a bit of a page suggests that the content of your page caused a problem.  The process is a bit tricky because of the play between wiki markup format and html format,  and the wiki moves back and forth because the activity provides an html editor.....

If you want,  please feel free to upload your text file and we can look at it.  It will help a bit for you to become familiar with wiki markup, because that is going to probably be the format least likely to get chewed up in importation. I think the wiki still explains some of the markup if you click on the right little yellow help circle.

You don't need to save it as a .txt file,  you just need to save the file as an ascii text file.  Text editing on a MS WIndows machine can be confusing because you may not get a pure ascii text file,  which causes all kinds of grief.  WIndows uses the txt extension for "text" files,  but offers a number of different flavors that can be used with that extension.

At some point I documented some tools and techniques one can use to manage such things.  Have you looked in docs.moodle.org for additional info on wiki formatting? AHhh,  I see a number of the links are broken etc. I did find this discussion:   http://moodle.org/mod/forum/discuss.php?d=8501

Average of ratings:Useful (1)
In reply to Marc Grober

It works !

by Ulrike Albers -

Hi Marc,

This time it worked !

Instead of a .txt, I created a (simple) htm page, and followed the same steps (rename it without extension, and choose it as a wiki first page) and now it works !!!!

I have created too wikis with it and I used tables and formatting (without style) and everything appears just fine smile.

Thank you smile !

Ulrike

In reply to Ulrike Albers

Re: It works !

by Hugo Callens -

How/where exactly do you put your template page?

How/where exactly do you choose this template as a start page for you wiki?

Thanks for your help!

In reply to Marc Grober

Re: 2.0 wiki and templated first pages

by Ludo (Marc Alier) -
Hi Folks, all I can say is that some functionalities developed for nwiki (some neve released like templates) have not been implemented yet on the Moodle 2 wiki because we first wanted to focuss on stability, security and meeting Moodle core standards. Now that wiki for moodle 2.0 is up and running I we are decided to start slowly moving in several features. Templates is one of them. Best regards Marc
In reply to Ludo (Marc Alier)

Re: 2.0 wiki and templated first pages

by John White -

Hi Marc,

Of course the templates issue is high on the agenda for some folks, but it looks to me that there is a more critical issue with upgrade from 1.9 to 2.0. It seems to work well enough if you were using the build-in wiki from 1.9 with its four simple tables, but fails badly if you had already inserted nwiki as a contrib module into 1.9, and then later upgraded to 2.0 (or 2.0.1 even). Seeing several irate posts about it I tried deciphering the upgrade path in function xmldb_wiki_upgrade() and if my limited understanding happens to be correct, the process of taking nwiki -> nwiki2 amounts to impersonating the old wiki, and then upgrading that to nwiki2.

This doesn't seem to be very successful (and to me it seems a bizarre notion), but is it not possible that the upgrade could detect the nwiki structure already in the database, and upgrade that? Perhaps this would avoid the mess with wtype and subwiki fields missing! I feel that a tracker item on this with a 'critical' tag is appropriate. Some unwary admin may find it very difficult to backtrack from an unhealthy upgrade!

Regards, John

PS: I see that you have made a comment about this... http://moodle.org/mod/forum/discuss.php?d=162968

In reply to Ludo (Marc Alier)

Re: 2.0 wiki and templated first pages

by Daniel Walters -

Hi Marc,

Any progress on this? Specifically, how likely is this to be ready in time for the new academic year (for us Brits at least) in September? We were really hoping that this would be ready in time as we wanted to use it for a 'target-setting' process for our students...

In reply to David Masuda

Re: 2.0 wiki and templated first pages

by Stephen Overall -

See http://tracker.moodle.org/browse/MDL-22433 "Allow creation of wikis and wiki pages out of a template"

Apparently Wiki 2.0 does not yet do page templating as Wiki 1.9+ can do.

Also see these tracker issues re. Wiki 2.0...

In reply to Stephen Overall

Re: 2.0 wiki and templated first pages

by Séverin TERRIER -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Testers Picture of Translators

Hi,

I come back to this discussion nearly 5 years later, and templates for wiki are still not available again, even in latest version (3.0) of Moodle sad

MDL-22433 is still opened, with several votes. I repeat it's a lost functionnality : it worked in Moodle 1.9...

Séverin

In reply to Séverin TERRIER

Re: 2.0 wiki and templated first pages

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Séverin,

There is a way to work around the lack of templates being built in to the wiki if you have the Sharing Cart installed. Make sure the settings for Sharing Cart at Site Administration > Plugins > Blocks > Sharing Cart, has a check mark by Wiki so that you can include user data. Create a sample wiki fixed up with whatever you want included in it for  your "template." Copy it into the Sharing Cart and Select Yes when it asks, 'Do you want to include user data in a copy of this activity?'

Now, anytime you want to start a wiki that includes your "template" just click the Copy to Course button for your wiki in the Sharing Cart block and drop it into the topic section of your choice. Everything and all the pages you put into the original "template" version will be in the new wiki.

I've tested both collaborative and individual wiki's and they both worked. Works easiest if you are NOT using groups. For individual wiki's, if you want the first page to already be formatted then you WILL have to make the first page for EACH student, before you add it to the Sharing Cart.

Note: If you modify the original "template" and then replace the one in the Sharing Cart, you may have to clear the cache first or your changes might not show up. I learned it was easiest to force the data to be updated by using a version number in the wiki activity name.

HTH,

AL

In reply to AL Rachels

Re: 2.0 wiki and templated first pages

by Renata Setmajer-Chylinski -

Hi AL,

You got me so very excited but then I came across this statement:

" For individual wiki's, if you want the first page to already be formatted then you WILL have to make the first page for EACH student, before you add it to the Sharing Cart."

Now for a while now we are trying to find a simple Moodle solution for an (individual) learning reflection folio in a language class- without going into Mahara and making it bigger then needed. We are still using Google Docs for that piece (a workaround) but if we could have templated, individual student wikis with pre-designed pages and some prompts there - that would absolutely fit the bill (i.e. a multi page wiki pre-designed by us, set on individual, where student put in their reflections and add docs in the spaces provided)


As we often have hundreds of students in ONE course making the first page for EACH student is simply not sustainable. 
It would be ideal to have a wiki object that one would design and "save as template" and then insert it into a course for students to amend /contribute to individually.

Are we dreaming?