It seems that this should be a typical editing function for assignment management that can be done by the content creator or admin, however, I don't find anything that looks like this to me and I've not found any info when searching the user documentation or the "Using Moodle" book.
What am I missing?
So now I've deleted the Assignments block altogether and even as admin I don't see a way to get it back. I hate it when that happens!
Maybe after 40 years of designing software, I've gotten stuck in my paradigm of how basic functions should work but I've got to admit that, for me, Moodle does not have an intuitive interface. Once you get the idea of how each twist and turn works (sort of like the old "Adventure" game!) it has a lot of really good stuff but finding it is a lot like learning to carve a turkey.
Anyway, enough whinging - I now have two questions, 1) How do I get my Assignments block back? and 2) How do I delete a particualr assignment?
To the second part: yes, I think I've sawed off that limb and deleted the assignment module (to save face I could say that I clicked the "X" accidentaly). Anyway, it seems to be gone without warning.
Short of uploading what again? all of Moodle? How about working from a backup done a few hours before this foolishness struck?
BTW - I never did find the "X" associated with an individual assignment.
Re: How do I delete an assignment?
Before the assignments module disappeared, I saw nothing like this around an assignment. I assume the the "Dave Brown" part is just a place holder represetning an assignment title or some such. I see the editing symbols next to many entries, such a forums but when I opened the assignments section (before it was declared a non-module or non-block) I saw none of these symbols next to an assignment name. I did see them next to the Assignments Module block title which is where I clicked the deadly "X".
Yes, I drilled down far enough in the admin interface to determine that AJAX is enabled.
Why do I feel like I'm dropping down the rabbit hole or in a scene from To Say Nothing of the Dog?
Dave,
if you have deleted the whole activity from Administration -> Modules -> Activities -> Manage activities
and click link "Notifications" from administration menu (or go to http://yoursite/admin/ ) moodle should install tables of deleted activity back - without previous data unfortunately...
If you hide activity from Administration -> Modules -> Activities -> Manage activities all icons and links of that activity will be hidden from courses - also from adminstrators. If you hide the activity from course itself hidden activities will be still visible to administrator and you should be able to delete single assignments from each course...
It sounds like the "plug-ins database" that you reference may be the home of "gold" list of registered modules and may be what needs to modified to recover the assignments.
Even though I am missing the Activites Block under frontpage for the course (is that correct Moodle speak? or is the front page only the page tha shows up before a course is selected?) it seems that I can still create assignments within the central block for a particualr week - and -once I look in the correct week, I can just as easily delete them.
Okay, that part is resolved, thanks for helping me wrestle my shadow to the ground. Now let's see if I can fix the damage I've done while flailing about.
I don't know that I can help you recover your module, but maybe I can clarify one small thing for you?
When I started working with moodle for the first time, a wise person advised me to create an admin account AND an instructor account. This is so simple as to be "Duh!", and I am not trying to insult your intelligence. It was insurance, of course, because when I was doing "instructor" type things, I would a) be safe from doing accidentally doing anything that would affect the whole system--admin stuff is hidden by virtue of the fact that I was logged in as an instructor, b) I would see and use what instructors see and use (preparatory for helping our faculty use the system), and c) my activity is logged with the correct role (i.e., so people don't message the admin account when I rarely check that). When I need to do admin things, of course, I log in as admin. Once we are set up and ready to go, I spend much less time on the system as admin than I do as instructor.
I have read several times that people who are new to moodle expect the admin interface to be QUITE different from the instructor/course building interface. This is true in many other software applications. But moodle uses much the same basic interface (although there are some admin pages that look somewhat different). I think this requires some getting used to!
The modules and activities pages, when you are logged in as admin, have to do with the system wide settings. I rarely actually delete one of these (sorry this happened to you!), preferring instead to just hide it if it is something I want to make unavailable. Easy to unhide later! If you delete it, I believe you also delete the files and database tables. I think I did this once on a 3rd party plugin, so to retrieve it, I copied the code back in to the correct file location and go to the "notifications" link in the admin panel. (You said you replaced the code, but you didn't say that you visited the notifications link.) Hopefully, that will rebuild the proper tables in the database.
The activities dropdown box that Mary refers to is only available within a specific course. Anything you delete in the context of the course will only affect the course.
I do hope you get this sorted. Please post back if we can help you further.
atw
I try to stay in the instructor account as much of the time as I can (the knives in the admin area are usually very sharp!). In fact, I thought I was in the instructor account when I clicked the nefarious "X" tat started this adventure.
I don't know that I replaced "code" but I guess that is database speak for scripts (sorry - I'm an old assembly lang and up programmer) that are contained in the assignments directory. I'll see if I can get any behavioral change by finding and tweaking the "Notifications" link in the admin panel.
- patter of little feet headed over to the Admin panel - type-type-type-peck-click-grunt-grrr!
- okay - I'm back
Clicking on Notifications under Site Administration takes me to the admin/index.php page which opens up as perfectly blank - nada - tried it twice. BTW the "Notifications" heading is the only one that has a little sqare black bullet instead of a larger blank rectangle - significant?
I'm not sure that I understood but if you clicked
from a block it should close that block and you should be able to get the block back from Blocks block (Drop down list).
If Notifications gives totally blank page you may have for example uploaded some block to mod folder or some module to blocks folder...
before Notifications is alone (item) because it is not under any sub folder
or
.
Turning Debugging to ALL from Administration -> Server -> Debugging could give some more info.
Turning Debugging to ALL, I get the following error (and nothing else) in Notifications:
Fatal error: Cannot redeclare assignment_upgrade() (previously declared in /home/kellbro6/public_html/draw-life/mod/assignment/db/mysql.php:8) in /home/kellbro6/public_html/draw-life/mod/assignment_rubric/db/mysql.php on line 174
Is this some sort of residue from the Rubric Grades plug-in that I thought I had deleted?
I'll go back and replace the /mod/assignments directory that was downloaded with the rubric plug-in directory, get rid of the rubric assignments directory (assignment_rubric) all together and see what happens.
If this doesn't get it how can I get a pristine copy of the /mod/assignments directory for 1.9.2?
BTW, previous info that I provided re ATLAS was incorrect, it is turned off.
http://moodle.org/mod/data/view.php?d=13&rid=34
So if you get rid of the one with the rubric altogether and upload this instead maybe you'll have some success..
Version mismatch: assignment can't downgrade 2008071712 -> 2007101511 !
Activity block is still missing (expected that). Would uploading the /blocks/admin and/or the /blocks/activity_modules from the 1.9.2 image be likely to help or just dig me in deeper?
Site administation for activities - modules and blocks - is a separate thing and siteblocks is another... You can get deleted sideblocks back from Blocks block (see the attached image)
All files of each module and each block should be from the same version that your moodle is - for Assignments that is a standard module you should have the files from your current package.
You can get different older versions of moodle 1.9 package from http://download.moodle.org/stable19/
and the latest version (1.9.2+) from http://download.moodle.org/
Thanks for your patient explanation.
Since I installed the 1.9.2 upgrade (over 1.9) using Fantastico I never really had the initial version of the upload image. I'll see if I can't track this down and get the right directory back.
Thanks again for the assistance.