Thanks!
Debby Kilburn
There is a Reference Block which was developed by Tony Hursh which includes a Calculator and a Search and Translate tool.
Follow this link
You can always add more links to it by changing the block_reference.php
I hope this helps...
Debby
- The HTML block can include text, links, images etc, added with the standard Moodle Wysiwyg editor
- Teachers can edit the contents of the block by just clicking the "configure" icon for the block
- The title of the block can be edited as well from the same screen
- Multiple HTML blocks in the same course are allowed
Jon
Hi there,
We have just developped two different blocks for Moodle 1.4.3
* HTML Block: allows to include any html
* Menu Block: allows to create blocks that work as the main menu
Both of them can be introduced in the main page or in any course and you can introduce as many of then as you want.
The code is quite tricky as we have introduced the content of the blocks in the stdClass structure of the course and, to allow multiple instances, we have introduced in the blockinfo field the id of the block plus the section, separated by a '_'.
So it implies to modify quite a few number of files.
Ah, we couldn't wait for 1.5 ...
If you are interested in using it (and trying it, because we have just finished developping), tell me so, and I will attach it to the forum.
I am not sure its code is very nice but if I post it, all you, moodlers, will be able to check .
Lorena.
can you sent me the menu block.?
Ralf
Hi Lorena,
It seems very useful and pretty, i'll test it on a Moodle 1.5 and it's exactly what I was looking for.
Would you be so kind to send me the whole Html Block packet?
I couldn't find it on the CVS...
Please send it to: aula.magna@unito.it
Thanx
Luca
Sorry I last so much in answering.
I am posting the following issues in the zip file for Moodle 1.4.3:
- HTML block
- Menu Block
- The hack to be able to change any block title (this has been made by another person and taken from the CVS but I don't remember the name of the author, sorry!)
If you have the standard Moodle version, it is just replacing the files and adding the new ones in the Moodle structure. If its not, you should have to make diffs of the files
I hope I didn´t forget anything. If you have any problem, please, ask.
We are still trying it so if there is any bug tell us and we will correct it. Also if anyone find that the code could have been done in a better way, say so, as we want to do it better each day
Lorena.
Juuum, you were very lucky that you could scape ...
(and the merengues are worse every day)
If I knew you were a 'la Juve' fan maybe I woudn´t have shared the block ... (just joking! ;) )
Did anyone tried the blocks?
Did it work??
They both worked great for about ten minutes.
Then the content of both blocks vanished and I lost the ability to put any more in. (I can add content, but instead of going into the new blocks, the information magically appears in the top Content (Topic) block for the page.)
Also, now Moodle is running much slower than it did before, and it logged me out without warning.
I think I must have done something wrong.
That is really strange!!
Did you install anything new after installing these blocks?
We have been trying it for a month and for now it's working properly, and it sounds very strange that it worked for a while and suddenly not.
I'll try to see if I posted everything just in case I missed any file in my zip.
Ah, and sorry, I hope you had a backup!!!
Lorena.
I am very new to Moodle and may have done something weird while installing. (I tried to copy over all the files into the directories they were in in the zip file, and then I went to the admin page and it ran the routines saying both blocks had installed successfully.) The only weird thing I did after they initially were working was to move them over to the left. But they didn't repair themselves when I moved them back to the right where they'd gone by default either.
In both blocks, I can successful change the block title and save that change. And it actually saves.
In the Resource block, I can pick a Resource or Activity from the drop-down list and name it. However, when I hit "save," it actually saves in the main course topic, not in the Resource block.
The HTML block usually won't actually save the text at all, although my first attempt it saved in Topic 16 (I have 15 Topics and can't actually see this Topic 16 in the main view, but the text of the html block is listed in Topic 16 when I view the Resources page.)
Should I disable the blocks and try reinstalling them from scratch? Or do these behaviours give anyone a clue as to what is happening and how I can fix them?