I'd like to increase the admin menue to include additional functions.
The admin has to define that a student can use the course when he has payed the bill.
in the moment I can define these in an additional table in the database.
Now I want to provide these function in an comfortable script to the administrators.
I has included a new button into the admin menue (between course and statistics). With these button I should come to the
menue to define when a student can use the course.
Furthermore I has generated a new directory. There is an index.php file too.
here my problem:
I want to use the actually defined theme in moodle in the new scripts too.
Which file I have to include that the theme layout is defined?
Must I handle the user-id and the session-id in my new scripts or can I truse a cookie?
I had looked into the course\index.php.
But there I cannot find an include statement to use a theme.
I hope you can help me.
With kind regards