Hi...
New feature:
- Categories: An entry could belongs to zero or more categories.Thanks to Ger Tielelman for the idea!
Bugs fixed:
- If an entry is deleted, its attachment is also deleted.
Will
I found the bug that caused this problem and it's solved (in cvs). However, the first bug (the one with the guest account) is still unsolved as I can't duplicate the error.
Would you mind to send me a copy of the course where you are having this problem? If you can't, perhaps if you create a temporal course and import only that glossary...
Thanks,
Will
You're welcome...
Well... I login as a guest and I saw more than 40 entries in the "Othe Online resources" glossary and a another big lot in the "Glossary of Microstructures"...
Could you tell me how many entries are in each glossary?
It's kinda strange...
Will
np... thanks for your comments...
And your glossaries looks great!
Hi Przemek, thanks for your useful suggestions.
Points 1, 2, 4, 5, and 6 are done now.
Point 3... Once he has created at least one category, "not categorized" entries are not possible any more They are indeed! You have to keep the control key pressed in order to toggle the status of a category. If you do not select any category, the entry will not belongs to any category at all.
However, I include a "Not categorized" link at the top of the list to make it less confusing so it's done too. If you select this "category", the entry will not be associated with any other category (even if they are selected too).
Thanks again!
Will
Hello Brothers Moodlers,
I've looked at the glossary module for the first time and find out that:
1. view.php
if ( !$course->visible ) {
notice(get_string("activityiscurrentlyhidden"));
}
I think it will be better to look if the current activity is hidden but not the course
2. The search function works only for words written in English letters( or I mistake?)
3. deleteentry.php needs lib.php to be included to work properly
Hope it will help
Hi.
Point 1 is done now.
Point 2, sincerly, is out of my current skills. If you could help me, I would appreciate that.
Point 3 was already solved in a previous post... You should be working with a out of date version.
Thanks,
Will
Uhmm... I don't agree with this point.. I think they should be deleted directly from the main glossary...
Let's what others thinks...
Dissapearing the plus icon... I though about it too... However, I drop it because it implies one extra query to DB... However, it makes more sense to me than changing it for a minus sign...
Once again, thanks a lot.. You've been very helpful!
Will
A question:
If an entry is exported to a main glossary, who should be able to delete or edit that entry? The teacher and the creator or just the teacher?
If I base this question on the current setting ("Student Can add entries"), s/he should be able to edit or even delete her/his entries.. No matter if it is an imported one or not.
However, I'm not sure it should work this way in the imported entries...
It makes sense to me indeed... However, I see a little problem in all this:
A student can't export entries no matter what... It is a feature reserved only for teachers. I see this exporting feature almost like an administrative task (remember that I'm planning to make this a graded activity once it has all its basic features)
In fact... I was thinking about make the main glossaries only editable (it includes add/edit/delete) by teachers... The idea that I had in mind is that a main glossary will be like a final product created by students' entries "blessed" by teachers... I've been really tempted to stablish this behavior in the main glossaries... What do you think? If it is not the purpouse of a main glossary then... what's the point with them? Why are we differenciating them? I can't find any other reason.. Please, help me on this one, I'm not a teacher nor an educator or constructivist expert.
Well.. Back to point.
In point B you said: Now, if the teacher exports a "student-owned" entry from the secondary glossary to the main one, the student will not be able to delete it from the main glossary, and - consequently - he will not be able to delete it from the secondary one.
Assuming that if the main glossary purpouse is the one I mentioned before, then the student will not be able to edit/delete his own entries in the main glossary. Is it right? Then, will he be able to edit/delete from the secondary glossary? From your words I guess he will not.
Now, I'm the one who hope that his own words makes some sense..
Will
Hi,
As the current CVS version is somewhat stable, I'd prefer to post this here in order to allow you to test it without compromise the "official" version... I've changed many places in the code and I think I've test it enough but who knows...
Could you test it and let me know your comments?
There's an en language file inside too.
By the way... I've added that noone (not even a teacher) could edit or delete an exported entry from the secondary glossary. If a teacher needs to change it, s/he must edit or delete it in the main glossary.
Regards,
Will
I seem to be keeping you very busy (sorry for that),
Nah... I'm on vacation right now and I really enjoy moodling... Thus, I'm learning PHP on the way, which is something that I was about to do since a long time ago and never actually did it until now when I just noticed that I've a lot to learn yet (Thanks God!)...
Anyway...
The only bug is that when I'm logged in as a teacher, I cannot delete or "un-export" entries from the main glossary. I get "You are not allowed to edit or delete entries".What? It is quite strange. Are you completelly sure that that teacher is a valid teacher for that course??? It shouldn't happen. That message should appear only when:
However, I missed that point in the category view... and you're right... Not categorized should be the default view.
Will
are you completely sure that the condition is You are not a teacher for that course or the students can't add/edit/delete entries?
Sorry... My fault.. I meant to said not a teacher and student can't add entries...
I still wonder why you are getting that message... :/ I'm going to do more testing tonight...
Displaying images inline... I forgot to respond this... Yes, it is easy but I didn't do that that way because the images could have any size and could damage the layout.. I'd prefer to post just a link to a popup window which seems to be more elegant.
My second option was to crunch or cut the image the way the "Update Profile" do with user's images, but I drop it too because it could distort the image or cut important parts of it.
Will
Hi Przermek,
Sorry... I can't duplicate the error. I've posted the new release to CVS so everyone can test it and give his/her feedback.
It also solved the issue with the short tags.
Regards,
Will
Nop... I still can't duplicate the problem... I set that setting to No and I still can add, edit or delete imported or not imported entries if I'm loged on as a teacher of that course...
I REALLY need someone else that test it... I see that everything works smooth from my end...
Will