Criteria Reference Block for 1.9 - RELEASED

Criteria Reference Block for 1.9 - RELEASED

David Fountain -
回帖数:69
I am pleased to announce that the Criteria reference block has been updated for 1.9.
A few changes have resulted:
  • The csv upload facility for grades has been removed (this is now part of gradebook proper)
  • The number of levels per block has been extended, it had been limited to 3. Now by choosing from a drop down you can extend it by 3 each time...so I guess it can have as many as you want.
  • The link from the table to the module I think should work for most; if your favourite module doesn't let me know it should be relatively easy to code. Modules tested so far are 'assignment', 'quiz' and 'manual'.
  • Manual grade items when clicked through this table will display the iteminfo field. This field, completed when you add a new manual grade to the gradebook, can contain html.
  • Pass grades are no longer =1, it takes the pass grade specified for the module.
Problems I have yet to investigate:
  • If you have two assessments with the same name, eg an assignment, a quiz etc then the links break and it cannot be set to choose one to display a pass/incomplete for
  • Language strings - I have not used enough of these to allow for customisation.
  • Anything else that you find for me to look at
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Dale Quattrin -
David,
Thanks for this. Is there documentation somewhere describing how to implement this capability?

Dale
回复Dale Quattrin

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -
Hi Dale,

Sorry Dale, not sure what you are referring to. So put me right if I've not covered what you are after.

Installation of the block follows the same pattern for installing any 3rd party block.
  1. Download the zip file from this site
  2. Upload to your moodle/blocks directory (unzip now or before upload)
  3. Visit your admin-notifications page (http://???/moodle/admin/index.php)
The block is now available to be placed in any course.

Setting up the block involves clicking on the edit icon and, hopefully, setting the values as desired - I can see this might be a little confusing, particularly as the editing teacher sees different content to a student - I'll try to knock up some documentation explaining the settings some more.
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Claire Browne -
Hi David,

I seem to be struggling with the item info and the hyper linking.

I wondered if you could give me more information on this.
回复Claire Browne

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

Hi Claire

You should (when logged in as a student) have a grid in the block, each of which has a hyperlink that when clicked takes you to the task/assignment - or for manual grade items displays what was entered in the item info section.

Is this not happening and if not what is?

Dave

回复Dale Quattrin

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Dale Quattrin -
David,
Thank you for the assistance.

Dale
回复Dale Quattrin

Re: Criteria Reference Block for 1.9 - RELEASED

Tim Florian -

David,

Can you provide more informaiton on installing this feature? I have put in in my moodle root folder, but the program is not reading it. My quiz set up in the lates version of 1.9 is no different thien prior to adding the plugin.

Tim

回复Tim Florian

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -
Hi Tim,

It is a block so you need to put it in the blocks folder within the moodle root and then visit your admin page to install it. This is the same process whenever you want to install a third-party block.

There is a guide to using it when it is installed a couple of messages higher in this thread.
Hit me again if you are still having problems,
Dave
回复Tim Florian

Re: Criteria Reference Block for 1.9 - RELEASED

Alistair Mitchell -

I have managed to install this block with no problems. Ihave looked at your docuentation Dave, but cannot see how to get it working correctly. Does anyone have 'idiot-proof' instructions?

Thanks

Alistair

回复Alistair Mitchell

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -
Hi Alistair
Could you be a little more specific about the problem and I'll try.

Dave
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Alistair Mitchell -

I'm trying to it up for the OCR Nationals, but I can't see how I setup the criteria. I've got the block on the student pages, and have setup an assignment, but can't get any further.

Alistair

回复Alistair Mitchell

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

You can set assignments but a restriction with this is that one assignment can only have one criteria point using my block because it is the name of the assignment that gets used to identify the criteria being assessed. The other way (I use this) is to create items directly in the grade book that have no assignments.

If we start with unit 1 AO1 I have broken down the grading grid into separate criteria with initial letters for the level. For example:

P1: Candidates will set up at least two directories

P2: They will save some files in appropriate locations using appropriate filenames

...

M2: They will save most files in appropriate locations using appropriate filenames

...

D2: They will save all files in appropriate locations using appropriate filenames

In moodle's gradebook I picked, from the top left drop down under the Edit, 'Categories and items'.

In here I added 6 categories (AO1, AO2, AO3, AO4, AO5, AO6). I then click 'Add grade item' and name it AO1P1. I repeat this until all of the criteria from the grid have a grade item (18 items for unit 1 AO1) - when I first did this I did write a little script to add them directly to the database from a csv file but this was when we used gradebook plus, a hack from before 1.9...you are using 1.9 aren't you? - I'll carry on with this explanation, but if you are using an earlier version let me know.

Now I can configure the block. In fact I think I've covered the sticking point and the instructions are now ok in the help file referred to earlier in this thread.

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

Whoops!...forgot something quite important...

If you have a course for each unit then the above works, if you have a course that has all of the units in it then you will need to add something to the grade/assignment name to distinguish between them, eg Unit1AO1P1

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -
As I have started to use this in anger again this term I have found a few bugs, these have now been corrected and you should download the updated block.

Issues noted and resolved:
  • Links from the block to the manual grade item info were not working
  • Presentation of manual grade item info polished a little - now displays the course name and grade item's name
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Dan Leighton -
I have created a video capture to try and help explain how to set up the criteria reference block.

This covers what you need to do after you have installed the block in your Moodle.

There is a bit of a glitch at the end of the process...however, I think this glitch should be resolved in the latest version of the CR block!

Hope it helps.

http://screencast.com/t/adVBidrXm
回复Dan Leighton

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

Hi Dan,

Thank for this, very useful and yes the linking to the manually graded description was a bug that I have just fixed, as I did it I added in a few more details, course name, grade name. It could do with me knowing a bit more about moodle itself to make it fit within the navigation/page creation.

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Alistair Mitchell -

Where can I get the updated block from? The link in the Modules and blocks pages links to the old version.

Alistair

回复Dan Leighton

Re: Criteria Reference Block for 1.9 - RELEASED

T Brown -
Thanks very much for the video. Everything now makes sense as is working!
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Alistair Mitchell -

Thanks for your help on this Dave, I have now got it working.

As a development thought, would (or is it already) possible to mark directly from the upload marking? It appears its a two stage process, you look at the upload, then you manually amend the markbook.

Alistair

回复Alistair Mitchell

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

Hi Alistair,

It should work as you describe, you look at the upload, give it a grade and this feeds directly into the gradebook without you having to make any changes to it through the gradebook. I'm just in my first weeks of using the 1.9 version in anger so if you find it is not please let me know.

Dave

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Alistair Mitchell -

David,

I'm missing something here, when I look at the upload to grade, allI get is numbers from 1-100, how do I say that that piece of work has passed AO1 for example?

Probably trying to do too much at once and have miussed something fundamental.

Alistair

回复Alistair Mitchell

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

No problem...I did set it up so that a mark of 1 indicated it was passed and a 0 was not, so just put in a 1 for the mark and it should indicate a 'Pass'.

I also know that you can edit the graded item/assignment in the grade book and set your own pass grade level. I think that the latest version of the block can use either a '1' or a grade higher than that set.

The latest version is in the same location as the old one, if you open the block_dfocrnational.php the version number at the top should be 2008090901.

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Alistair Mitchell -

I give up! If I create an assignment, it puts it in the Grader Report, and no matter how I try I cannot get it to link to the Grades. I must be doing something fundamentally wrong. I am using V1.9, and I have got the grades setup.

Having a very bad day!!!

Alistair

回复Alistair Mitchell

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -
Glad things got sorted in the messaging, sorry that about the confusion. Manual Grade items and assignments are separate - you might want to have a look at Mark Tyers block which does something similar to this one only with outcomes. Many outcomes can be attached to one assignment.
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

David Hogg -
Hi David,
Many thanks again for this block. I have finally got my head around the settings needed to show the progress students make with outcomes-I was a bit slow!

I needed to rename the outcome grade items in 'Categories and Items' to the code that the block requires e.g. AO1_pa etc. rather than the name of the outcome that appears there by default. It is now working very well, thanks.

I think this will be a great motivator for the students.
回复David Hogg

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

Glad to hear it David. I think you may also be mixing the terms 'grade item' and 'outcome' (but I've not checked) - they are two distinct things within moodle. 

I have found the block to be great for motivation - it works particularly well if you can get them to proudly show their parents early on, as later their parents will then know where to go to check on their progress (they need their child's access/help).

The gradebook can very quickly get very full so I have used the patch available on the tracker (http://tracker.moodle.org/browse/MDL-12132) that repeats the student's name down the right side of the gradebook and would encourage others to vote for it!

Also, it's worth reminding people (IMHO) about the click-highlight functionality in moodle 1.9's gradebook.

回复David Fountain

Criteria Reference Block for 1.9 - >10 items Bug

David Fountain -
If you have more than 10 items per level the block should make them appear over two lines. It didn't, but I think I have fixed it - the current version for download is 2008092901.

My thanks to Suzanne for finding this bug (you appear to have blocked messaging from me).
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Sarah Quantick -

I have added this to my installation however when I made the block present I lost the ability to add other blocks as the block block vanished

Any ideas

Sarah

回复Sarah Quantick

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -
Hi Sarah,

Afraid I don't - the block doesn't make any changes to the database or other settings, essentially it just 'reads' data and presents it. What happens if you delete it from the blocks folder, do you regain the ability to add blocks? (Are you using version 1.9?)

I did have an issue similar to this a while ago with a test site and an update of my moodle core resolved it, but I never found out why it happened and it wasn't related to my block as it wasn't one I had installed.

Do you get any helpful messages by turning on the developer reporting?

PS. have you seen this block which is quite exciting:
http://moodle.org/mod/data/view.php?d=13&rid=1659
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Sarah Quantick -

David

Issue was caused by me trying to look at the block on te front page rather than in a course. If I put it into a course it loads up fine and I keep my block block aswell

Thanks

Sarah

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

David Hogg -
Hi,
Thanks for this block, it looks superb.

I have set up my OCR nationals Unit 1 course with Outcomes connected to assignments. It would be good to show the sudents what outcomes they have achieved. Is this possible?

Thanks
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

alan murtagh -

Hi,

This looks like a great block

How can I get instructions on linking progress automatically to lesson/quiz completion

Many thanks

alan

回复alan murtagh

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -
Hi Alan

Ahhh...yes, this worked with the quiz before I set it up to compare the grade to a 'pass' grade. Previously it marked as completed anyone who took the quiz and scored more than zero. Now I don't think there is anywhere to assign a quiz a 'pass' grade so this is not going to work. The same is true of a lesson - though please correct me. It might be possible to hack something together where the block's configuration is told the pass grades but I don't like it as it separates the pass grade from the quiz/lesson. I have not used quiz/lesson much so if you know more please let me know and I'll have a go.

Sorry to have misled you on this.blush

Dave
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Helen Everitt -
Hi,

I have this block working on my site and love it, it's just what I need.

Because of the way my site is structured I'd really like this block to appear on a web page. I have set show course blocks but this block does not appear. Is there a way that I can do this?

Many thanks for your help

Helen
回复Helen Everitt

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -
It appears worse than that, as soon as I put the block on the left any blocks below it do not appear either. I'll try to look into it but I'm pushed for time at the moment.
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Martin Griffiths -

I am a bit confused about how to set up this unit.

I had created a custom Marking Scale simply "No Grade, Not Yet Pass, Pass, Merit, Distinction"

How can i use this block along side these criteria.

The "overall" grade window seems to set a % to each of the grades so i am thinking could i edit something somewhere that says for example if grade is over 25% it goes green?

回复Martin Griffiths

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -
Don't think it is possible.
I made this block to put on the course so that students could see if they had met, or not met, criteria. For me the criteria to obtain a Pass is different to the criteria to gain a Merit and so these are set up as separate criteria. It is not designed to work with a scale.
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Martin Griffiths -

I understand how the OCR courses work, but the problem with creating different upload slots for both pass, merit and distinction criterion would mean that students are uploading the same piece of work once, twice or even 3 times.

For me i could have done with a little bit more flexibility as i was using this to map the functional skills criterion.

Which would have been , no grade, not yet pass, or pass.

I could do with actually looking at your coding to determine what variable with what "state" actually constitutes a "pass" or green.

Were you leaving students work "ungraded" if they had not yet passed a criterion, but still leaving feedback for them?

回复Martin Griffiths

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -
You might want to have a look at outcomes and the block that has been written to show, I can't remember the link off hand but try Pass, merit, distinction in your search.

The code for my block refers to the pass grade set for the activity, it should be simple to switch it back to a hard-coded version where you can set a variety of levels so that, for example, a null indicates not attempted, a 1 indicates 'under way', a 2 a 'Pass', a 3 a 'Merit' and a 4 a 'Distinction'.

HTH
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Martin Griffiths -

I came back to the block because i was convinced it would help me with several things.

Which scale should i be using?

I am planning on using the Outcomes block at the same time. which means that i am using the criteria scale.

Unless that is not working correctly, i am assigning 1's to completed tasks to text, but i am getting no green bars.

Whenever i do mark a piece of work as "1" as opposed to "y" using the scale i get no mark in the "grade" column of my "assignments" window.

回复Martin Griffiths

Re: Criteria Reference Block for 1.9 - RELEASED

Martin Griffiths -
*edit* I realise i might not have given enough information in my previous post.

This might actually be the wrong place to discuss this but here goes..

I think i have a couple of problems here,
The progress block installed seems to have installed a scale with it (not set, 1, y)

I was assuming that if i use this criteria scale on all tasks it would simplify my marking.
I therefore presumed that i could set a 1 for a completed task, and therefore the task would go green

I have created lots of assignments with prefixes such as 1.1 1.2...6.1-6.4 etc and in the OCR block informed it that the prefix of 1. or 6. and that they were numerical, and that they had 3 or 4 subtasks.

I have tested "by marking" some assignments but no change has taken place.

Automatically a 1 seems to be inserted into the mark for a student, and the progress block does not seem to pick up the mark if a 1 is selected but does if the "y" is selected. The progress block is only picking up the "outcomes".

The gradebook does not show a "1" but does show "1"'s.

I have changed the main grades to a pure number either 0/1 and still i get no colour change.

I have also changed the prefixes but there was still no change

回复Martin Griffiths

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

Hi Martin

I'm away from my computer at the moment so please forgive me if it takes a while to get back to you.

There should be no scales imported when you install the block.

If you have set up assignments (online/offline/etc) then you need, in the assignment, to set a 'pass' grade - the block will compare the grade awarded against this.

If you have set up 'grade items' (not sure I have the correct terminology there) in the grade book itself then I think a 1 should indicate a pass.

Dave

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Martin Griffiths -

Apologies the "criteria" scale was imported when i installed the progress block, not the docrnational block.

All of my assignments are "advanced" ones (I found it a pain just using a simple assignment because students were not able upload changes after feedback and a grade).

I haven't set up grade items, i have only set my scale for the grades to be the "criteria", either 0 or 1, for each assignment.

I understood it to be that if i gave an assignment a name task 1a or 1b etc, set the block to detect 2 alphabetetical tasks with the task 1 prefix, and marked the assignment with a grade of "1" instead of 0 this block would work.

Forgive me it this sounds rude, but I don't really want to have to fumble about adding additional settings to each task in gradebook, and i don't think staff will understand that they need to enter the grades window and add additional details just for this block to work.

回复Martin Griffiths

Re: Criteria Reference Block for 1.9 - RELEASED

Martin Griffiths -

Since posting the above, i also went back into a couple of tasks.

Changed the maximum mark to 1, and set the pass criteria as 1 also.

I also inputted the task.. e.g Task 9a into the id.

When i logged in as a student that had work marked as a 1, then nothing happened.

IMHO changing from scaled to values and then editing grade boundaries seems a lot of work for something quite fundamentally simple.

Or is there something wrong with my linux box.

Please dont get me wrong, i really want this block to work, i have spent the first 3 weeks of my school holiday creating new content for a brand new moodle server for school, my next 3 weeks consist of moving house and my wife giving birth to our first child.

My added rush is because our servers got zapped by a lightning strike (in the last week of school), and we found out at that time the backup server had been not backing up our NAS Array since December - loosing our proxy server, webserver, and moodle. We lost no student work because that is backed up from a different array, but we had lost all the marking and feedback. All the servers are now rebuilt (and backed up). 

I've never got this block working on my previous box, but i believe it is fundamental tool this time for my students to re-upload all the work that have done since Christmas for marking. Although the progress block i am using alongside it will show the student their pass/merit/distinction progress, i am using this to show progress in subtasks, where a P1 criterion may contain 5 or 6 minitasks. These 6 tasks will be shown in the dfocrnational block. Whilst an Offline assignment task will contain the final P1 Outcome, and a KS3/4 Level.

I would prefer to use the criteria scale of 0/1 or not passed/passed for each subtask, which i think i have discussed before much earlier in this thread.

Forgive my stupidity but if the assignment (albiet an advanced assignment) has the correct prefix, and the mark is a 1 why wont it work, or even detect it?

Every task on the block informs me that "no gradeset" if i hover over it.

回复Martin Griffiths

Re: Criteria Reference Block for 1.9 - RELEASED

Martin Griffiths -

Anyone free to suggest some things to look at and give me some help?

2 weeks until school starts back, and still none the wiser about how to solve my configuraion issues.

回复Martin Griffiths

Re: Criteria Reference Block for 1.9 - RELEASED

Martin Griffiths -

I must thank Dave for the 1-2-1 help given the last week or so.

With his coding knowledge he has been able to edit his block so that it works perfectly for my needs.

Most of my errors came down to the fact that my assignment titles were long descriptive titles instead of snappy 1.1.. 1.2 etc or 1a 1b.


Thanks Dave for your patiencebig grin
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

steve picton -

Hi David,

a quick query, we run the ocr nd Health and social care and we are about to change our course to a holistic assessment method, we would really like to use the criteria ref blocks to help students to monitor their progress and for us to be able to clearly cross reference. the question is whether it is possible to have one assignment that will link to different criteria ref blocks (rather than criteria we want to use the blocks to link to AO's) each assignment will link to AO's in different units.

not sure if i am being very clear but would be really useful to get some guidance....HELP!!!!

Cheers

Steve

回复steve picton

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

Hi Steve

Might be an idea to look at outcomes and the progress block that's associated with them, mentally swap the word 'outcome' for 'AO' and I think conceptually it is a good match.

But back to your question...

The criteria ref block depends on the 'name' of the assignment so I see no reason why you cannot have blocks that display the same assignment's results under different headings. Eg An assignment called AS1 covers health AO1 and social AO2 could be put into both health and social blocks... there will be a problem however if you have an assignment AS2 that you want to cover only health AO1 and an assignment AS3 that only applies to social AO2 as the block uses sequential numbering. The only way to fine tune this would be to have single items in a block...

If I'm not making sense please ask...

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

steve picton -

Thanks David, I am pretty sure that should resolve it, i am going to have a play over the summer so may have to get back to you with more queries. Very much appreciated, thank you.

I will let you know how i get on.

Steve

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

steve picton -

Hi David

me again, had a little fiddle with it all and it works well (looks ace from a student perspective) buuuuuut, what i really want to do is to grade a task (let's say U13AO1) at pass, merit or distinction and for the criteria reference block to be able to display achievement at p,m or d for that one task. at the moment all i can make it do is to award all of the potential grades. My brain is now circling the top of my head, i think that it will not be possible to do what i want to do in the way that i am currently doing it but it feels like there is a way to solve, currently unable to see the solution.

wondering if you had any ideas.

thanks again

Steve

回复steve picton

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

Hi Steve

I know where you are coming from, I considered the same method when I devised the block but came down on the side of criteria being either passed or not passed. With a little bit of hacking at the code it should be possible to get it to do what you want - after all the code that decides what colour to make the block is a simple IF function that compares the grade to the passing grade and all you want to do is alter this so it can display 4 different variations (Not passed, P, M or D...)

SBG is at http://moodle.org/mod/data/view.php?d=13&rid=3961

回复steve picton

本讨论区帖子已移除

本讨论区帖子的内容已移除,无法再访问。
回复删除的用户

Re: Criteria Reference Block for 1.9 - RELEASED

steve picton -

just posted a query to David and then noticed your response to my earlier query, will check it out thanks Matt

Steve

回复删除的用户

Re: Criteria Reference Block for 1.9 - RELEASED

steve picton -
Sorry Matt, one more question, where can i find some info about SBG?
回复steve picton

本讨论区帖子已移除

本讨论区帖子的内容已移除,无法再访问。
回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

Kevin Lawrence -

Hi

Are there any plans to upgrade this block for Moodle 2? 

回复Kevin Lawrence

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

I expect to look at this in the summer term (June/July), I'm not expecting it to be too big a job but I will need to put up a Moodle 2 server first.

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

I haven't had time this summer to look at upgrading to v2.0, not sure when I will have time.

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

David Anderson -

Hi David,

Did you manage to do an upgrade for 2.0 or 2.2?

Students have found this block really useful and we are looking to upgrade or 1.9 to 2.2 for next September.

Many Thanks

Regards

Dave

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

David Anderson -

Hi David,

My students have found this block really useful, however have asked is there a way to show a summary of all their results from all their different units/courses.

I am currently running the BTEC Ext Dip and have your block setup within each course but would love an overview of each students progress for all their units. Would be really helpful for parents day lol

I know Mark Tyers Progress Block had a summary page but cannot get it working wth our Win2003/IIS7 and MS-SQL2005 install.

Any help would be greatful

Thanks

Dave

回复David Anderson

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

It's been a long time since I touched the code for this block. I did restrict it to finding only assignments in the current course which should be easy to remove (a bit of SQL I think) - but each assignment across ALL courses would need to have a unique prefix or suffix

回复David Fountain

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

When I said each assigment must have a unique prefix I meant each group of assignments eg Unit1AO being the prefix and Unit1AO1, Unit1AO2 etc being the assignments and there not to be any other use of "Unit1AO" throughout the Moodle installation.

回复David Anderson

Re: Criteria Reference Block for 1.9 - RELEASED

David Fountain -

Having just had a quick look you might try knocking out a few of the lines in the lib.php that restrict the results to those for the current course, that might get it to do what you want:

19: AND gi.courseid =$course

28: AND ge.course=$course

65: AND course=$course 

76: a.course=$courseid AND

78: c.course=$courseid

The hyperlinks that get put in at around 132 will probably need some work too