Choose An Initial Page selector is not displaying

Choose An Initial Page selector is not displaying

ved Mike Green -
Antal besvarelser: 4

Hi - I want to upload an initial page for my wiki (it's the standard wiki in 1.8 - I believe this is ewiki?) But there's no file selector. I just see "choose an initial page" and then the help icon - nothing else on the line.

This is on my 1.8 installation. It displays OK on my 1.6 installation. Any ideas about how to fix it?

Gennemsnitsbedømmelse: -
I svar til Mike Green

Re: Choose An Initial Page selector is not displaying

ved Rob Harris -
This is a reported bug with the ewiki module in 1.8. trist

http://tracker.moodle.org/browse/MDL-8863

As far as I know, no-one is maintaining the standard wiki module anymore, so a fix doesn't seem likely.
I svar til Rob Harris

Re: Choose An Initial Page selector is not displaying

ved Rob Harris -
I don't have a version of Moodle I can play with at a code level, but these lines in /mod/wiki/mod_form.php look like they could be the relevant ones.

line 81...

if ($wikihasentries){
$mform->addElement('choosecoursefile', 'initialcontent', get_string('initialcontent', 'wiki'));
} else {
$mform->addElement('static', 'initialcontent', get_string('initialcontent', 'wiki'));
}

If you're able Mike, maybe you could play with these to see if you can re-enable the initial page function? If you make any progress - please post back.

Rob
I svar til Rob Harris

Re: Choose An Initial Page selector is not displaying

ved Mike Green -
Thanks a lot, Rob. I'm trying to keep my moodle as standard as possible, so I stuck with the distributed wiki for 1.8 - I'm starting to wonder if I've made a mistake, though. I share the concerns you expressed in the tracker. Sooner the new wiki becomes part of the core moodle, the better!