Modules and plugins

RSS (jarioak)
Orria: ()  1 ...  506  507  508  509  510  511  512  513  514  515  516  517  518  519  520  521  522  523 ...656   ()

Block: myCourses Block

Type: Block
Requires: Moodle 1.7 or later
Status: Contributed
Maintainer(s): Julian Ridden

This block provides a collapsable tree view for users to browse their enrolled courses.


Update 22/04/08: Have just updated this block to hopefully address all known issues.
Update 12/05/08: Download link updated


Record added by Julian Ridden - osteguna, 2007(e)ko martxoa(r)en 22(a)n, 11:49(e)tan
Last modified - osteguna, 2009(e)ko martxoa(r)en 12(a)n, 06:32(e)tan
Irudia
Egilea eta data: Michael Kowalczyk - osteguna, 2007(e)ko maiatza(r)en 3(a)n, 19:21(e)tan
 

Hi

Thank you for your block Irribarrea

I´ve installed it without a problem

I wanted to add this block using "sticky pages" to all the courses and found a problem: i add this block to my course and click on "enrol in another course"
this should take me to : http://yoursite/course  but instead it takes me to http://yoursite/course/course then getting a 404.

also, ive translated the en_utf8 - block_myCourses.php into german and when i select german in my moodle, all the block description words except the title of the block is displayed in german, how can i solve this?

thanks and have a good day!

MiK

Puppy
Egilea eta data: Karen Taylor - ostirala, 2007(e)ko maiatza(r)en 25(a)n, 14:42(e)tan
 

Sorry I am new to moodle.
How can I install this new block? do I just copy it to the block directory and it should then work?

Thanks
Karen

Irudia
Egilea eta data: Shaun Daubney - ostirala, 2007(e)ko maiatza(r)en 25(a)n, 21:25(e)tan
 

The block doesn't appear to handle long course catagories, instead it makes the right column stretch. Tried with many different themes and IE6, IE7 and FF2. All have similar issues. Is there any way to resolve this? Thanks.

MyCourses column width error

Puppy
Egilea eta data: Karen Taylor - astelehena, 2007(e)ko maiatza(r)en 28(a)n, 07:46(e)tan
 

Hi Julian,
I got the block installed but it does not show any of the catagories or list any course which I am enrolled in.
Any ideas?
Thanks
karen

Irudia
Egilea eta data: Christopher Plaistow - ostirala, 2007(e)ko ekaina(r)en 15(a)n, 22:08(e)tan
 

Hi Julian,

We would like to have the option to turn the "Enrol to another course" on or off via a configuration and also to configure the title. We know that you can remove/change code in the files, but would seem better as a configuration option.

Could you let me know the best approach.

Thanks,

Chris

Irudia
Egilea eta data: Juan Raul Garcia Canet - ostirala, 2007(e)ko azaroa(r)en 16(a)n, 21:57(e)tan
 

Hi Julian,

Great work with this block. It is perfect for me, because teachers requested it. However I have a problem with the block.
I have installed it correctly on localhost and it runs perfect, but when I install it on server, nothing is seen,  neither categories nor courses, no data. The same problem as Karen.
Any solution?

Thanks.
J. Raúl (juagarc4) :-B

larry's pix
Egilea eta data: Larry Elchuck - igandea, 2007(e)ko azaroa(r)en 18(a)n, 02:36(e)tan
 

Julian

With developer debugging turned on, in latest 1.9 CVS, I get the following messages. Is it anything to be concerned about?

Notice: Undefined variable: CFG in /Applications/MAMP/htdocs/moodle19/blocks/myCourses/HTML_TreeMenu-1.2.0/TreeMenu.php on line 660

Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/moodle19/blocks/myCourses/HTML_TreeMenu-1.2.0/TreeMenu.php on line 660

larry

Irudia
Egilea eta data: Valery Fremaux - astelehena, 2007(e)ko abendua(r)en 17(a)n, 08:21(e)tan
 

Fix it by adding :

in HTML_TreeMenu_1.2.0/TreeMenu.php

§672 should show :

    function _nodeToHTML($nodeObj, $prefix, $return = 'newNode', $currentDepth = 0, $maxDepthPrefix = null){
        global $CFG;
       
        $prefix = empty($maxDepthPrefix) ? $prefix : $maxDepthPrefix;
  $charLength = @$CFG->block_myCourses_charLength;

in block_myCourses.php

§381 : replace $icon by $nicon

§22 : replace $course by $COURSE

Irudia
Egilea eta data: Florent Lartet - asteartea, 2007(e)ko abendua(r)en 18(a)n, 00:09(e)tan
 

Hi Julian,
I got the block installed but it does not show any of the catagories or list any course which I am enrolled in.
Any ideas?
Thanks
karen

I had this problem and I solved it adding addslashes function because of our quoted university (french) name.

block_myCourses.php
l.235
$mnode = new HTML_TreeNode(array('text' => addslashes($text), 'link' => addslashes($url), 'icon' => $icon, 'cssClass' => $cssclass, 'expandedIcon' => $expandedIcon, 'expanded' => true));

l. 359
$node = &$pnode->addItem(new HTML_TreeNode(array('text' => ' '.addslashes($catnode->name), 'link' => '', 'icon' => $nicon, 'expandedIcon' => $eicon, 'cssClass' => 'treeMenuDefault')));

l. 379
$node->addItem(new HTML_TreeNode(array('text' => addslashes($text), 'link' => addslashes($url), 'icon' => $nicon, 'cssClass' => $cssclass)));

I don't think addslashes is necessary everywhere but it makes it work...

Irudia
Egilea eta data: Florent Lartet - asteartea, 2007(e)ko abendua(r)en 18(a)n, 00:59(e)tan
 

A better answer should be

block_myCourses.php
l. 223
$text = ' <span style="font-weight: bold;" title="'.htmlspecialchars($SITE->fullname, ENT_QUOTES).'">'.$SITE->shortname.'</span>';

l. 228
$url = $CFG->wwwroot.'" title="'.htmlspecialchars($SITE->fullname, ENT_QUOTES).'"';

Adding htmlspecialchars as it's done in "courses leafs" l.375

Irudia
Egilea eta data: Lacey Vickery - osteguna, 2008(e)ko urtarrila(r)en 10(a)n, 07:23(e)tan
 

Hi Julian,

I installed your block no problem, but do not see the 3 colored blocks in the upper-right corner. I assume these allow users to toggle active/inactive courses. Any idea how to enable that functionality?

Thanks,
Lacey

Irudia
Egilea eta data: F W - ostirala, 2008(e)ko otsaila(r)en 29(a)n, 03:20(e)tan
 

This block is a great idea and we have been using for a few months now. It works great however, for students that have a lot of courses (10-15) it takes a long time to load that page, all of the other pages that do not contain the "My Courses" block load pretty quickly. Are there any plans to update or to make the code more efficient for moodle 1.8 and above? Is anyone experiencing the same issue?

Thanks

Irudia
Egilea eta data: Lynn Harvey - igandea, 2008(e)ko martxoa(r)en 23(a)n, 19:49(e)tan
 

Am keen to use this but when I added it after upgrading to 1.8.4+
there was a mass of errors so had to delete it.

Any chance of looking at my error log and suggesting where to start fixing it ?

Thanks
Lynn

Irudia
Egilea eta data: Daniel METHOT - asteazkena, 2008(e)ko apirila(r)en 30(a)n, 04:31(e)tan
 

Hello,
Here the MyCourses block translated into French.
Cordially

Daniel METHOT

Irudia
Egilea eta data: Rosemary Dutka - asteazkena, 2008(e)ko uztaila(r)en 9(a)n, 02:49(e)tan
 

Hi Julian-
Many thanks for creating this block! It is definitely a great step towards re-structuring the faculty's and student's course list. And it works very well with Moodle 1.8.3.

I did run into one small error while I was installing the block. The lang file is incorrectly named as block_mycourses.php. It should be block_myCourses.php, according to the code:
$mtitle = ' title="'.get_string('showmycourses','block_myCourses').'"';

Sincerely,
Rosemary

Irudia
Egilea eta data: Lisa Dodson - igandea, 2009(e)ko urtarrila(r)en 25(a)n, 14:55(e)tan
 

Download link does not work

Irudia
Egilea eta data: Alan Cherwinski - asteazkena, 2009(e)ko otsaila(r)en 18(a)n, 02:39(e)tan
 

Download link still not working February 17, 2009.

Module should be removed or corrected.

now with Less Beard(TM)
Egilea eta data: Jeffrey Silverman - osteguna, 2009(e)ko martxoa(r)en 5(a)n, 09:23(e)tan
 

Argh! Download link is broken. Where is the latest source for this block?

now with Less Beard(TM)
Egilea eta data: Jeffrey Silverman - osteguna, 2009(e)ko martxoa(r)en 5(a)n, 10:25(e)tan
 

Here is the (working) download link:

http://quantum.riverview.nsw.edu.au/downloads/myCourses.zip

Later...

Irudia
Egilea eta data: do nam - larunbata, 2009(e)ko apirila(r)en 25(a)n, 00:40(e)tan
 

All links are broken. Help new link! plz!


Orria: ()  1 ...  506  507  508  509  510  511  512  513  514  515  516  517  518  519  520  521  522  523 ...656   ()