Posts made by Itamar Tzadok

Turn editing on. Right-click on the edit icon of another block and copy the url which should be something like:
http://www.baker-evans.com/community/course/view.php?id=6&instanceid=15&sesskey=dgHTbcErtw&blockaction=config

The instanceid number depends on the particular block and the sesskey is set by your session so you should expect these to be different in the url. Now, according to your page source the instance id of the stubborn titleless block is 1 so you can replace the instanceid number in that url with 1 and if you run the url it should open the block for editing. If you want to delete the block then change config to delete.

Hope it works.

smile
An alternative to hacking the code is adding to the list view some commented out lines which when activated (and the others commented out and the database made unavailable to students) output the info in csv format which you can copy/paste to txt file and open in Excel. smile

Actually it should be fairly easy to associate the images in the Files area with the database module. In the database you can have a text field for the image file name, say, imageName. Then you import (csv) the image file names (e.g. image001.jpg) into the imageName field. Then you add to the single or list view template or both, an img tag with the image file path and the image name.

For example, suppose your images location in your Moodle files is:

http://your.moodle.org/moodle/file.php/3/images/

You can add to the template the following html:

<img src="http://your.moodle.org/moodle/file.php/3/images/||imageName||" />


(|| stands for square brackets) and the image should be displayed.


Hope this helps smile
Average of ratings: Useful (1)