Course Menu +

Course Menu +

by Sandor Lukacs -
Number of replies: 70
Hi

I would like to announce the availability of "Course Menu +" block for Moodle.

The inspiration for this block came from the Course Menu block developed by Humbold University. We added some new functionalities to this block making it possible to turn on and off certain option such as:

  • Control Panel
  • Gradebook
  • Calendar
  • Trouble Ticket
  • Show All Sections
  • Expandable Tree
Please observe that there are 2 versions, one for Moodle 1.5.x-1.6.x and one for Moodle 1.7.x

You can download them from:

http://www.netsapiensis.com/index.php?option=com_content&task=view&id=18&Itemid=39

We would appreciate some feedback and comments in order to further improve this block.

Best regards
Sandor Lukacs
NetSapiensis AB

Average of ratings: -
In reply to Sandor Lukacs

Re: Course Menu +

by Heinz Krettek -
Hello Sandor,

i downloaded version 1.7 and installed it without problems on my platform.

using 1.7.1 and chamelon theme i found no problems and will try to learn from the code. It´s a great idea to show the course menu.

A nice feature will be to auto-scroll the box so it will appear on the screen at any moment. Hope you understand what i want to say, because my english not so good.

Greetings from the black forest

Heinz

In reply to Sandor Lukacs

Re: Course Menu +

by ian lake -
I have tried to install this block in Moodle 1.6.4 plus and have been greeted with the following errors.

Notice: Trying to get property of non-object in D:\moodle\moodle\blocks\course_menu\block_course_menu.php on line 30

Notice: Trying to get property of non-object in D:\moodle\moodle\blocks\course_menu\block_course_menu.php on line 40

Notice: Trying to get property of non-object in D:\moodle\moodle\blocks\course_menu\block_course_menu.php on line 51

Notice: Trying to get property of non-object in D:\moodle\moodle\blocks\course_menu\block_course_menu.php on line 52

Notice: Trying to get property of non-object in D:\moodle\moodle\blocks\course_menu\block_course_menu.php on line 53

Notice: Trying to get property of non-object in D:\moodle\moodle\blocks\course_menu\block_course_menu.php on line 59

any suggestions?

ian
In reply to ian lake

Re: Course Menu +

by Sandor Lukacs -
Hi

I assume you installed the Moodle 1.6.x version of the block. Would you be kind to inform what platform you are running Moodle on? It looks like Windows but I would like to know the kind of web server, database and php version. We'll try to sort out the problem.

Best regards
Sandor Lukacs
In reply to Sandor Lukacs

Re: Course Menu +

by ian lake -
I am running Window$ XP sp2, Apache 2.2.2, MySQL 5.0.21, PHP 5.1.4.

However given your concerns it may well be that my suspicions about XAMPP prove correct, I have had problems previously that could only be explained by the fact that I use a locally installed XAMPP/Moodle.

I can try this on our production model tomorrow but it is a live version and I do like to test new modules away from our live system.

The college also runs 1.6.4

ian
In reply to Sandor Lukacs

Re: Course Menu +

by Jerome Decuq -
Great work! A very useful work which I've tried on 1.7.1+, and it seems to work fine. I'll put it on my production server today, and let you know if anything goes wrong in the next weeks.
Maybe two small requests (if I dare!):
1) If the course format is weekly, the block indicates week1, week2, etc... It would be nice to read the dates as we see them in the course sections if possible.
2) Would there be a way to indicate the current topic or week in the tree, maybe with a different icon or color?

Thanks again, this block is both very convenient and beautiful!
In reply to Jerome Decuq

Re: Course Menu +

by Richard Cory -
Great block and excellent suggestions.

One other request ...
Could you please move the calendar link above the course tree.
If one has a 40 week or topic course, it would be better to have access to the calendar before the topic/week tree.
RC
In reply to Richard Cory

Re: Course Menu +

by Sandor Lukacs -
Thank's everybody for the feedback and suggestions, keep on coming with them!
We'll do a new release for this block with new functionalities shortly after Moodle 1.8 is released.

Sandor Lukacs
In reply to Sandor Lukacs

Re: Course Menu +

by Ann Adamcik -
Sandor,

Thanks for sharing this! We are using it on our 1.8 test installation, and so far it seems to work well. One small issue in controls/um.html - the 'Assign Roles' item on the 'User Management' tab shows the users icon and an add/remove students description. I've modified it as follows:

print '<td align="center"><img src="'.$CFG->pixpath.'/i/roles.gif" alt="assign roles" align="texttop" /></td>';
print '<td><a href="'.$CFG->wwwroot.'/admin/roles/assign.php?contextid='.$context->id.'">'.get_string('assignroles', 'block
_course_menu').'</a></td>';
?>
<td><?php print_string('rolesdesc', 'block_course_menu');?></td>

I also, of course, added a 'rolesdesc' string to the lang file.

-Ann

In reply to Ann Adamcik

Re: Course Menu +

by Sandor Lukacs -
Hi!

Thanks for your observations and solution! We'll integrate it in the distribution.

Best regards
Alex Contis
In reply to Sandor Lukacs

Re: Course Menu + for Moodle 1.8

by Anil Sharma -
The original download has a lot of extra files which are duplicates. Also, the changes mentioned by Ann above are crucial, so I've created a new zip with the changed implemented, and the extra files removed. This works correctly in Moodle 1.8, and i'm sure it will in Moodle 1.7+ also.

Thanks !

Anil
In reply to Anil Sharma

Re: Course Menu + for Moodle 1.8

by Keyser Söze -
Everything looked good until I opened the Control Panel and had this error message at the top of the screen:

Undefined index: action in C:\\Inetpub\\wwwroot\\moodle\\blocks\\course_menu\\controls\\controls.php

I'm running W2K3, IIS6, Moodle 1.8 (2007021501), MyPHP version 5.2.1, MySQL version 5.0.37.
In reply to Keyser Söze

Re: Course Menu + for Moodle 1.8

by Sandor Lukacs -
Hi

We are going to release a new version of Course Menu + in the middle of next week. The new version will work with Moodle 1.8 and will have lots of new features.

Best regards
Sandor
In reply to Sandor Lukacs

Re: Course Menu +

by David Rhymes -

Sandor,

This is an excellent addition to moodle and one I have been looking and hoping for for quite a while. Thank you very much for all your hard work!

In reply to David Rhymes

Re: Course Menu +

by Mr. Shortcut -
How can I build the tree of category? I've installed Course menu with 1.7.1 and add that block to the frontpage but it don't show anything that I expected althrough I've created some categories and courses in that site. Which steps that I need to do more?


In reply to Mr. Shortcut

Re: Course Menu +

by Sandor Lukacs -
Hi

The Course Menu + block build a list of the topics/weeks in a course. You cannot use it to build a tree of courses or categories. I belive there is a block that you can download from the CVS that does that.

Best regards
Sandor Lukacs
In reply to Sandor Lukacs

Re: Course Menu +

by Mr. Shortcut -
Who can tell me where I can get that block? Thnaks
In reply to Mr. Shortcut

Re: Course Menu +

by Daniele Cordella -
Picture of Core developers Picture of Plugin developers
Look at the first comment of this thread.
In reply to Daniele Cordella

Re: Course Menu +

by Mr. Shortcut -
I mean the block that can show a tree of categories and courses in frontpage, not Course menu +. I've installed Course menu + but it only show the tree at course page not frontpage.
Thanks.
In reply to Mr. Shortcut

Re: Course Menu +

by Chad Outten -
Picture of Testers
You're referring to the FN My Courses block that displays a tree like structure of your categories, courses on the main site page. I've tested & used this successfully for 1.5. But, from what ive read in the forums, i can't confidently say it works with more recent moodle versions.

Click here for download & instructions.

Cheers, Chad.
In reply to Chad Outten

Re: Course Menu +

by Julian Ridden -

Actually Chad....after your post I thought i would finally get around to updating this block.

The new version (I have now re-released it under the name "myCourses") is no longer dependant on the FN course format and is finally stand alone, works in 1.8 and now finally uses lang files and relative paths rather than being hardcoded.

I will add this to the Modules and Plugins datase. In the meantime you can click here to download.

It could still use some cleaning up, but is dwefinatly working and stable (at least on my 1.8) smile

In reply to Julian Ridden

Re: Course Menu +

by Chad Outten -
Picture of Testers
Bravo, Julian > you never cease to amaze! Nice job also with Imagine 2.0 theme.
In reply to Julian Ridden

Re: Course Menu +

by Daniele Cordella -
Picture of Core developers Picture of Plugin developers
Ciao Julian
I used your Course Menu +. It is nice but... it doesn't pass the w3c validation so... it is not ready for Moodle 1.8.
If you want, give me a while and I will post here your same version passing the validation.
Waiting for your opinion.
In reply to Julian Ridden

Re: Course Menu +

by Daniele Cordella -
Picture of Core developers Picture of Plugin developers
attached is your "myCourses" block, passing the w3c validation. I didn't touch the contents. Only the appearance.

What still is missing is the behaviour of the block when a category is inside a category.

Ciao and congratulation.
In reply to Daniele Cordella

Re: Course Menu +

by Julian Ridden -
No Daniele, Congrats to you smile

Thanks for cleaning up the block. Ill update the download on Monday (not at my main PC at the moment) with your changes so that everyone can get the cleaner version.

Thanks again

JR
In reply to Julian Ridden

Re: Course Menu +

by Daniele Cordella -
Picture of Core developers Picture of Plugin developers
Julian
thank you for upgrading with my code.
Wait a bit, please.
I found a bug.
Install your block in the home page.
If you select the link "Enrol in another course" from your block you are redireted to the moodle18/course/.
If you select the link "All courses ..." from the "Course categories" block you are redireted to the moodle18/course/index.php.

Unbelieveble but... copy the two html source code and compare them. They are different and the code of the page contacted through the "myCourses" block link is worst.
This is true only if you have characters in your internet address that needs to be encoded.

My local address is:
http://daniele-ure.local/%7Edaniele/moodle18/course/index.php
and the "Course categories" block moves me there.
Your link moves me to:
http://daniele-ure.local/~daniele/moodle18/course/

Take care: ~ encoded becomes %7E
In reply to Mr. Shortcut

Re: Course Menu +

by Mariusz Krasinski -
Have you found the solution of your problem? I have the same. I need expandable tree of categories and courses at the front page.
In reply to Mariusz Krasinski

Re: Course Menu +

by Shashi kanth -

Hai, i have installed CourseMenu and it is working fine, but i have one issue with it. When i click on Control Panel and go to User Management, and click on Teachers, Groups and Students links, i get an Error 500. What am i missing or doing wrong?
Even "Turn Editing On" in the control Panel is giving error: "A required parameter (sesskey) was missing".
What i should do additionally to fix this problem.
Please guide me.

In reply to Sandor Lukacs

Re: Course Menu +

by Mike Allen -

I have installed this on 1.6.4+ and 1.7 - Great. A very useful block.

A small suggestion.....Our topic titles are quite long - is it opossible to reduce the font size for this block only. I'm happy with modifying the site themes but this would change the font for everything. I'm not familiar enough to locate the code in this block that would overide the site theme. Is this possible?

Many thanks,

Mike

In reply to Mike Allen

Re: Course Menu +

by Sandor Lukacs -
Hi

We'll take your sugestion into consideration for a future release, I guess the font size could be set in a drop down list.

Sandor

In reply to Sandor Lukacs

Re: Course Menu +

by Mike Allen -

Many thanks Sandor, I would appreciate that.

In the meantime is there a code hack that could reduce the font size?

Mike

In reply to Sandor Lukacs

Block does appear in admin after install under 1.8+

by Stephen Digby -
Can't see the block to configure or use.
In reply to Stephen Digby

This forum post has been removed

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

Re: Course Menu + Fatal Error

by Ann Adamcik -
Hi,

This block is working great for us in most courses. In one course, however, we get the following errors and the course page does not finish loading. Any ideas what might be going on?

Thanks!
-Ann

webFXTreeConfig.rootIcon = "../blocks/course_menu/icons/folder.gif"; webFXTreeConfig.rootIcon = "../blocks/course_menu/icons/folder.gif"; webFXTreeConfig.openRootIcon = "../blocks/course_menu/icons/openfolder.gif"; webFXTreeConfig.folderIcon = "../blocks/course_menu/icons/folder.gif"; webFXTreeConfig.openFolderIcon = "../blocks/course_menu/icons/openfolder.gif"; webFXTreeConfig.fileIcon = "../blocks/course_menu/icons/file.gif"; webFXTreeConfig.lMinusIcon = "../blocks/course_menu/icons/lminus.gif"; webFXTreeConfig.lPlusIcon = "../blocks/course_menu/icons/lplus.gif"; webFXTreeConfig.tMinusIcon = "../blocks/course_menu/icons/tminus.gif"; webFXTreeConfig.tPlusIcon = "../blocks/course_menu/icons/tplus.gif"; webFXTreeConfig.iIcon = "../blocks/course_menu/icons/i.gif"; webFXTreeConfig.lIcon = "../blocks/course_menu/icons/l.gif"; webFXTreeConfig.tIcon = "../blocks/course_menu/icons/t.gif"; webFXTreeConfig.blankIcon = "../blocks/course_menu/icons/blank.gif"; var tree = new WebFXTree("SOWK271-01_07su","","classic","",""); tree.setBehavior('classic');var weeks1 = new WebFXTreeItem('','http://elearning.isu.edu/course/view.php?id=65&week=1" alt=""','','',''); tree.add(weeks1); var weeks2 = new WebFXTreeItem('...','http://elearning.isu.edu/course/view.php?id=65&week=2" alt="..."','','',''); tree.add(weeks2); var weeks3 = new WebFXTreeItem('...','http://elearning.isu.edu/course/view.php?id=65&week=3" alt="..."','','',''); tree.add(weeks3); var weeks4 = new WebFXTreeItem('...','http://elearning.isu.edu/course/view.php?id=65&week=4" alt="..."','','',''); tree.add(weeks4); var weeks5 = new WebFXTreeItem('...','http://elearning.isu.edu/course/view.php?id=65&week=5" alt="..."','','',''); tree.add(weeks5); var weeks6 = new WebFXTreeItem('...','http://elearning.isu.edu/course/view.php?id=65&week=6" alt="..."','','',''); tree.add(weeks6); var weeks7 = new WebFXTreeItem('...','http://elearning.isu.edu/course/view.php?id=65&week=7" alt="..."','','',''); tree.add(weeks7);
Fatal error: Maximum execution time of 30 seconds exceeded in /moodle/htdocs/blocks/course_menu/xtree/xtree.php on line 141
In reply to Ann Adamcik

Re: Course Menu + Fatal Error

by Sandor Lukacs -
Hi

Working great in most courses? Are there any other problems besides the error message from one particular course. It order to help you it would be great to know:

-What version of Course Menu + are you using?
-What version of Moodle are you using?
-What platform? Linux or Windows, database and version of PHP

Btw we have a new version of Course Menu + with some fixes, new features and support for Moodle 1.8

Regards
Sandor
In reply to Sandor Lukacs

Re: Course Menu + Fatal Error

by Ann Adamcik -
Hi Sandor,

No other symptoms. This one course has a lot of images, so it does load more slowly than our other courses.

We're using Moodle 1.8+ and the 1.8 version of course menu +, both updated from the CVS 1.8 STABLE tree on 5/12.

Our platform is a Sun v440/Solaris 10, with CoolStack 1.1 (Apache 2.2.3, MySQL 5.0.33, PHP 5.2.0).

Thanks for your help!
-Ann
In reply to Ann Adamcik

Re: Course Menu + Fatal Error

by Jim McGregor -

Can't comment about other errors but the max execution time may be fixed by putting the likes of

set_time_limit(600);

at the top of the appropriate php page. This will override the default so the script can continue to the bitter end.

In reply to Ann Adamcik

Re: Course Menu + Fatal Error

by Julie Voce -

We've got a course which has exactly the same problem, was there a solution? We're running 1.7.

Julie

In reply to Julie Voce

Re: Course Menu + Fatal Error

by Sandor Lukacs -
Hi

You seem to have a timeout issue, try to increase the timeout value according the instruction in the previous posting. Do you have many images and "show all sections" on?

Sincerely
Sandor Lukacs
NetSapiensis AB
In reply to Sandor Lukacs

Re: Bug Report on Course Menu +

by A. T. Wyatt -
Bug report for Course Menu Plus, 1.7-1.8 version downloaded from
http://www.netsapiensis.com/Download/CourseMenu1.7.x-1.8.x.zip

I am using a local install of Moodle 1.8+

1) Groups link gives me a 404. I think the problem is that the URL has changed from older versions of moodle. Your link is http://localhost/course/groups.php?id=6

But I think it is supposed to be:
http://localhost/group/index.php?id=6

2) Could you possibly post some instructions in the readme file for people who need to set up a default block appearance? For example, my faculty use the control panel link on the old humboldt course menu block. We don't generally use the Moodle administration block at all in our courses. They are going to think that this new block ought to start out looking like the old one and then they will be very happy editing the settings themselves. I am not enough of a programmer to know how to set the defaults for this block as each course is created.

3) You might want to edit the language on the "user management" tab. I would suggest leaving "Use this link to add or remove students from your course." and striking all the rest.

I am very excited about the "chapters" feature! I think that looks great!

Thank you,
A. T. Wyatt
In reply to A. T. Wyatt

Re: Bug Report on Course Menu +

by Sandor Lukacs -
Hi!

We are working on a patch for the bug and we hope to release it during this week.

Regarding the default settings, we'll have to think about how to implement it. An elegant solution would be to be able to set it from:

Site Administration->Modules->Blocks and Course Menu -> Settings.

We do not plan to release any new version of Course Menu + until Moodle 1.9 has been released and properly tested by us. That usually takes about one month.

Sincerely
Sandor Lukacs
NetSapiensis AB
In reply to Sandor Lukacs

Re: Bug Report on Course Menu +

by A. T. Wyatt -
Greetings, Sador!

I love the idea about setting the defaults from the admin interface. I didn't dare ask for that! But wow, it would be terrific!

atw
In reply to A. T. Wyatt

Re: Bug Report on Course Menu +

by Sandor Lukacs -
Hi everyone,

We have updated the distribution of Course Menu + to include the fixes for the Groups link in Control Panel->User Management. We have also included spanish language files courtesy of Javier Añó.

Sincerely
Sandor Lukacs
NetSapiensis AB
In reply to Sandor Lukacs

Course Menu + with Trouble Ticket

by Stuart Anderson -
Hi there, love the block and hopefully will roll it out next September. Thanks for all your great work.

One question though, has anyone managed to get the TroubleTicket add-on working? I'm guessing the Course Menu + team aren't maintaining the TroubleTicket as well. I think that TroubleTicket needs updating for 1.8. It fails to send the emails out and I think it is a problem with the URLs/form data changing in the 1.8 version of moodle.

Thanks,

Stuart
In reply to Stuart Anderson

Re: Course Menu + with Trouble Ticket

by Sandor Lukacs -
Hi

Thank you for using Course Menu +. We don't have unfortunately any plans in making Trouble Ticket and Quickmail work with Course Menu +. We could of course make them work with Course Menu + but that means also that we must assume the responsibility to maintain those blocks. For the time being we are focusing our resources on other projects. We are open for discussions if someone wants a Moodle 1.8.x Trouble Ticket and Quickmail block.

Sincerely
Sandor Lukacs
NetSapiensis AB
In reply to Sandor Lukacs

New problem with Course Menu +

by A. T. Wyatt -
I am at a loss here. I installed this block on my local instance and it worked fine. I move it to the production server and I get this (see screen capture). I have tried this with a copy I downloaded today--June 20, 2007--and the one I installed on my test server which was downloaded on June 10. They both scramble up the configuration page.

I have installed it properly, so far as I know. The block works properly except for the edit/configuation view. Language files are in the language directory, block files in the blocks directory.

Is this a php version problem? My local instance was php5.2, WAMP (I think) and the production server is WIMP with php5.1.2 or something a bit older. I can't think it is a browser problem.

Any advice? This has got me very puzzled!

atw
Attachment error_screencap.gif
In reply to A. T. Wyatt

Re: New problem with Course Menu +

by Sandor Lukacs -
Hi

We could not repeat the scenario. The block worked as it should, we tested it on OpenSuse 10.1-10.2, CentOS 4.4-5.0 and on WAMP. Did you get anything related to the problem in your error logs? This is the first time someone reported this kind of problem. Anyway we'll take notice about it in case someone reports it again.

Sincerely
Sandor Lukacs
NetSapiensis AB



In reply to Sandor Lukacs

Re: New problem with Course Menu +

by A. T. Wyatt -
Well, you need something I cannot provide! I don't run the server, just the moodle part. I don't believe I can get error logs.

At this time, I will go with Anil Sharma's version of the block. It is older and has not got all the features, but it works! If I can figure out the problem, I will try installing the latest/greatest version later.

My server:
Windows XP, IIS 6?
PHP Version 5.1.2
mysql 4.1.22

Besides the strange configuration display posted in the screen shot above, any changes could not be saved. Also, the "eye" icon would sometimes display and sometimes the text link displayed instead. It was very odd!

I have to think it is some conflict with the server configuration; it worked fine with the moodle4windows install package.

atw


In reply to Sandor Lukacs

Re: New problem with Course Menu +

by Nasha Jiang -

Hi Sandor,

I got the same issue while I tried to configure a course menu block, see attached screen shot.

We are running Moodle 1.8.2 on Win2k3, Apache 2.2, 2, MySQL 5.0.22, PHP 5.2

I downloaded CourseMenu1.7.x-1.8.x.zip and installed it without problems on a test server and then on the production server.

The Course Menu didn’t show up at Site Administration->Modules-> Blocks on any one of servers.

After we clicked around on courses on the test server, we activated the course menu without knowing or by an accident. Now, the Course Menu does show up at Site Administration->Modules->Blocks.

But, when we tried to got Course Menu Setting, we got another issue. Also see the attachment for the details. 

We haven't tried on the production server.

It would be very appreciated if you could guide us how to get the Course Menu showing up after the installation and how to get rid off those problems.

Thanks in advance,

Attachment Error_CourseMenuBlock.GIF
In reply to A. T. Wyatt

Re: 2nd Bug Report on Course Menu +

by A. T. Wyatt -
Found another bit of a problem--
If you click on control panel, the breadcrumb trail does not include the course link.

atw
Attachment course_menu_breadcrumb.gif
In reply to A. T. Wyatt

Re: 2nd Bug Report on Course Menu +

by Sandor Lukacs -
Hi

We'll create a fix for this problem.This is actually by design on many blocks, there are a couple of other blocks that have the same problem. Take the Blog Menu for example. We'll update the distribution on our website and on Moodle-CVS in the few days.

Best regards
Alex Contis
NetSapiensis AB
In reply to A. T. Wyatt

Re: 2nd Bug Report on Course Menu +

by Sandor Lukacs -
Hi

We have updated the Course Menu + block fixing the bug/design flaw of the missing course link in the breadcrumb trail. Observe that we had to fork the Moodle 1.7.x and the Moodle 1.8.x versions since the issue showed up only on Moodle 1.8. The new version can be found under contrib/course_menu on Moodle CVS and at:

http://www.netsapiensis.com/Download/CourseMenu1.8.x.zip

There are a few tools/blocks that break the breadcrumb trail link leaving the user outside a course. The blog menu block and the backup link are such examples.

Best regards
Sandor Lukacs
NetSapiensis AB
In reply to Sandor Lukacs

Re: Course Menu + with Configuration page problem

by Nasha Jiang -

Hi Sandor,

I got the same issue as A.T. Wyatt reported while I tried to configure a course menu block, see the attached screen shot.

We are running Moodle 1.8.2 on Win2k3, Apache 2.2, 2, MySQL 5.0.22, PHP 5.2.

I downloaded CourseMenu1.7.x-1.8.x.zip and installed it without problems on a test server.

After installation, the Course Menu didn’t show up at Site Administration->Modules-> Blocks on any one of servers. After clicked around on courses or somewhere else on the test server, the course menu has been activated without knowing or by an accident. Now, the Course Menu does show up at Site Administration->Modules->Blocks.

But, when we tried to go Course Menu Setting, we got another issue on the configuration page. See the attachment screenshot for the details.

We haven't tried on the production server.

It would be very appreciated if you could guide us how to get the Course Menu showing up after the installation and how to get rid off the issue on course menu configuration page.

Thanks in advance,

Attachment Error_CourseMenuBlock.GIF
In reply to Nasha Jiang

Re: Course Menu + with Configuration page problem

by Sandor Lukacs -
Hi

We have a new version of CM+. We had to fork the previous version, so right now we have different versions for Moodle 1.7 and 1.8. Uninstall the version of CM+ that you have now and install CM+ for Moodle 1.8. You can download the new version either from Moodle CVS or from our site:

http://www.netsapiensis.com/Download/CourseMenu1.8.x.zip

We have fixed a few bugs in the new version, if your problem still persists we'll ask our developers to take a closer look at it.

Sincerely
Sandor Lukacs
NetSapiensis AB
In reply to Sandor Lukacs

Re: Course Menu + with Configuration page problem

by Nasha Jiang -

Sandor,

I download and installed the new version CM+ for Moodle 1.8 after uninstalled the previous version. I got the same issues as before. See attached screen shots.

  1. The Course Menu didn’t show up at Site Administration->Modules-> Blocks after installation;
  2. After I manually added one more record: 'course-menu' into table Block, the Course Menu shows up, but when I tried to go Setting and tried to  Configuring a Course Menu block, I got all broken links on the configuration page.

Attachment Error_CM_for_Moodle_1.8.GIF
In reply to Nasha Jiang

Re: Course Menu + with Configuration page problem

by Michael Reiter -

Hello Sandor,

First of all we are very happy this block is maintained again!!!
I think it's a very good idea to sort the items and to be able to hide those one doesn't need!


Some comments:
1) Could you document how to migrate from course_menu 1.6 (Humboldt University) to 1.7 and then to 1.8? My experience: backup mdl_block and mdl_block_instance table to mdl_block_bak and mdl_block_instance. Uninstall course_menu from the administration menu, delete old course_menu folder from moodle/blocks (and language files if any from moodle/lang/en_utf8/block_course_menu.php and moodledata/lang/<language>/block_course_menu.php for the other languages). Install new course_menu (copy folder to moodle/blocks and languages to language directories, then go into administration, notifications). Run query that inserts the block where it was before in the courses, maybe even with the displaying options of your choice (order and hide items). For example, if you want the course_menu at the top left position:
INSERT INTO mdl_block_instance (blockid, pageid, pagetype, position, weight, visible, configdata)
SELECT b.id, bi.pageid, bi.pagetype, bi.position, bi.weight, bi.visible, '<configurationstring>' AS configdata 
FROM
mdl_block_instance_bak bi, mdl_block_bak bb, mdl_block b
WHERE
bi.blockid = bb.id
AND bb.name = 'course_menu'
In our case (sections, then Control Panel, GradeBook, Calendar, Show all Sections) <configurationstring> = 'Tzo4OiJzdGRDbGFzcyI6MjM6e3M6ODoiY2hhcHRlcnMiO3M6MToiMSI7czo4OiJibG9nbWVudSI7czo0OiJoaWRlIjtzOjg6Im1lc3NhZ2VzIjtzOjQ6ImhpZGUiO3M6MTI6InNlY3Rpb25ncm91cCI7czowOiIiO3M6NDoidHJlZSI7czowOiIiO3M6MTI6ImNvbnRyb2xwYW5lbCI7czo0OiJzaG93IjtzOjk6ImdyYWRlYm9vayI7czo0OiJzaG93IjtzOjg6ImNhbGVuZGFyIjtzOjQ6InNob3ciO3M6MTU6InNob3dhbGxzZWN0aW9ucyI7czo0OiJzaG93IjtzOjEzOiJ0cm91YmxldGlja2V0IjtzOjQ6ImhpZGUiO3M6MTU6ImV4cGFuZGFibGVfdHJlZSI7czo0OiJoaWRlIjtzOjEwOiJjaGFwdGVyaW5nIjtzOjQ6ImhpZGUiO3M6MzoiaWQwIjtzOjg6ImJsb2dtZW51IjtzOjM6ImlkMSI7czo4OiJtZXNzYWdlcyI7czozOiJpZDIiO3M6MTI6InNlY3Rpb25ncm91cCI7czozOiJpZDMiO3M6NDoidHJlZSI7czozOiJpZDQiO3M6MTI6ImNvbnRyb2xwYW5lbCI7czozOiJpZDUiO3M6MTA6InNob3dncmFkZXMiO3M6MzoiaWQ2IjtzOjg6ImNhbGVuZGFyIjtzOjM6ImlkNyI7czoxNToic2hvd2FsbHNlY3Rpb25zIjtzOjM6ImlkOCI7czoxMzoidHJvdWJsZXRpY2tldCI7czo4OiJjaGFwTmFtZSI7czo5OiJDaGFwdGVyIDEiO3M6OToiY2hhcENvdW50IjtzOjk6IkNoYXB0ZXIgMSI7fQ=='
2) I'm not quite sure what the "blog menu" is for, could you tell us?
3) I installed the course menu + on our test server and everything works fine. I also installed it locally on my computer (WAMP5 1.6.6 + moodle 1.7 or 1.8) but
a) once you add the block in a course all (1.7) or some (1.8) of the arrows for moving the blocks disappear and some blocks disappear (1.8) 
b) when you go into configuration of the course_menu it brings the errors Nasha Jiang tells (see his screenshot)
do you have any idea? 

In reply to Michael Reiter

Re: Course Menu + with Configuration page problem

by Sandor Lukacs -
Hi

Thank you for the compliments! The answers to your questions are:

1. Since we have different version of CM+ (Course Menu+)for the different versions of Moodle we recommend you going installing CM+ once you have uppgraded to your desired version of Moodle. If you are using CM or CM+ i recommend you to uninstall them first and then continue ti upgrade your Moodle installation.

2. The blog block appeared in Moodle 1.7 and it offers blog features for you Moodle site.

3) We are aware of those problems and as soon as our developers return from vacation we will release a fix to the problem. Fortunately this problem has been repported only in a Windows environment.

Sincerely
Sandor Lukacs
NetSapiensis AB
In reply to Nasha Jiang

Re: Course Menu + with Configuration page problem

by Sandor Lukacs -
Hi

We have released an updated version of Course Menu + that fixes the problem with the configuration page when running Moodle in a WAMP environment. Feedback is appreciated.

The new version can be downloaded from Moodle CVS or:

http://www.netsapiensis.com/Download/CourseMenu1.8.x.zip

Sincerely
Sandor Lukacs
sandor.lukacs@netsapiensis.se
NetSapiensis AB
In reply to Sandor Lukacs

Re: Course Menu + with Configuration page problem

by Ahmed Metwally -

Hi everybody,

I really love this plus version, but unfortunately it does not support the Arabic Lang. So, Could anyone develop an Arabic file for it?

Thank you in Advance,

In reply to Ahmed Metwally

Re: Course Menu + with Configuration page problem

by Sandor Lukacs -
Hi!

If someone develops an Arabic language file for Course Menu + we'll happily include it in the distribution.

Sincerely
Sandor Lukacs
NetSapiensis AB
In reply to Sandor Lukacs

Re: Course Menu + with Configuration page problem

by Ahmed Metwally -

Thank for your reply. If any one show me how to creat it, I can translate it to be integrated with available language packs.

Thanks

In reply to Sandor Lukacs

Re: Course Menu + with Configuration page problem

by klal klal -

hi

thank you for that great block.

but we have a problem. the block works fine but when we enter into moodle text-page some icons are missing. when we click on a chapter in the block everything is working again.

see picture.

hope you can help.

alfred

Attachment kursmenue.gif
In reply to klal klal

Re: Course Menu + with Configuration page problem

by Sandor Lukacs -
Hi!

Please tell us what your Moodle environment looks like:

  • version of Moodle
  • operating system
  • Apache version
  • PHP version
  • MySQL version
  • theme
Does all your Moodle installation have this problem?

Sincerely
Sandor Lukacs
NetSapiensis AB
In reply to Sandor Lukacs

Re: Course Menu + with Configuration page problem

by klal klal -

Hi Sandor,

moodle: 1.8.2+

Os: Linux
apache:2.0

php: 5.2.0
mysql:5.0.26

theme: formal_white
All installations show this problem,

thx

alfred

In reply to Sandor Lukacs

Re: Course Menu + with Configuration page problem

by A. T. Wyatt -
Could the theme code be the problem?

In a similar block, this is proposed (by Alan Trick):
http://moodle.org/mod/forum/discuss.php?d=76661#p341390

atw


In reply to A. T. Wyatt

Re: Course Menu + with Configuration page problem

by klal klal -

thank you atw!

needs course menu the theme code? aren't there all pics in the block directory?

thx

alfred

In reply to Sandor Lukacs

Re: Course Menu + with Configuration page problem

by klal klal -

hi!

in the case the icons do not appear:

there ist a wrong path http://moodle.xxx.at/mod/blocks/course_menu/icons/file.gif

mod/blocks cannot be alright.

where can i find this path-info.

greetings

alfred

In reply to klal klal

Re: Course Menu + with Configuration page problem

by klal klal -

file: block_course_menu.php line 407.

<img src="../blocks/course_menu/icons/file.gif"

.. leads to mod!

but this is not the only wrong path.

hope this will help.

greeting, alfred

In reply to klal klal

Re: Course Menu + with Configuration page problem

by Sandor Lukacs -
Hi

All necessary images are included in the Course Menu + distribution. The link to the missing picture should not point to the /mod directory. Would you explain what do you mean by "but when we enter into moodle text-page some icons are missing". We tried without success to replicate the error on a Moodle site running:

CentOS 5.0
MySQL 5.0.22
Apache/2.2.3

If you want you can send mail directly to my mail address.

Sincerely
Sandor Lukacs
Sandor.lukacs@netsapiensis.se
NetSapiensis AB
In reply to klal klal

Re: Course Menu + with Configuration page problem

by maria suarez -

hi

thank you for that great block.

but we also have the problem that some icons are missing. when we click on a chapter in the block everything is working again.

see picture.

hope you can help.

maria

Attachment course_Menu_Problem.jpg