Quantcast
Channel: Assignment
Viewing all articles
Browse latest Browse all 9646

Making moodle web links in reports

$
0
0
by Leon Wooldridge.  

I'd like some advice about the database table mdl_course_modules and mdl_assignment and mdl_assignment_submissions

I'm trying to link from a report like this:

/moodle/mod/assignment/submissions.php?id=150&userid=1653&mode=single&offset=0 

The 150 is the course module id (OR SO I THINK because when I use an assignment id or an assignment submission id I get a message on the linked page saying "Course Module ID was incorrect"

I have two questions:

1) How can I get the COURSE MODULE ID from a select of mdl_assignment or mdl_assignment_submissions? What is the database join? 

 

2) Once before someone here gave me a little magic tip for a link. So there seems to be a number of options when making links eg id=150 might be only one option but some pages offer alternative options. 

Where can I read about all these URL options?

 


Viewing all articles
Browse latest Browse all 9646

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>