'Number of weeks/topics' wrong after restore

This forum post has been removed

Number of replies: 8
The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: 'Number of weeks/topics' wrong after restore

by Abdelkrim Jebbour -
This type of problem can not be solved if you do not specify which vesion of Moodle you use.
In the version I use, no problem occurs when you restore courses especially when all the required parameters are well configured.
In reply to Abdelkrim Jebbour

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: 'Number of weeks/topics' wrong after restore

by Sam Chaffee -
Picture of Core developers
Hi,

We're using an install of 1.8.2+ and an LDAP template for automatic class creation and enrollment. When we restore backed up courses to the auto created courses, using the delete first option, we also encounter the same problem of the correct number of sections not appearing. They are in the db and will appear if you change the course settings to the correct number of sections. Is this a bug or intended functionality? Anyone have a solution besides individually changing the number of sections after the restore?

Thanks,

Sam
In reply to Deleted user

Re: 'Number of weeks/topics'

by Sajan Thomas -
Hi Nick,

How can we add more topics than 52? I am using Moodle

1.7.2 version.
In reply to Sajan Thomas

Re: 'Number of weeks/topics'

by Larry Elchuck -
Sajan

In moodle/course/edit_form.php look for a line like:
for ($i=1; $i<=52; $i++) {

and change it to however many topics you want.

We use
for ($i=1; $i<=85; $i++) {

to display our days per semester.

In moodle 1.8.2, it is around line 100

larry

In reply to Deleted user

Re: 'Number of weeks/topics' wrong after restore

by Clark Moodler -
Hi Nick,

It seems that the only "restore" function that will bring in all the course settings is "to a NEW COURSE" - but I have added a ticket in the tracker which calls for the same in "restore to existing course, deleting it first"

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

please vote for it, if you like!

thanks,
clark