Add a button to singlepage template in database activity.

Re: Add a button to singlepage template in database activity.

by Ranil Peiris -
Number of replies: 0

I will explain the case with more information.

I am trying to customize Moodle Database to do 

1) Student should submit Ideas to a database module as an entry. 

2) If a teacher interested of an idea, he should be able to select it. 

    Teacher can go to single view to get more details

     if teacher like to work as an indivdual project, then, teacher should be able create a new course when click a button.

      I have create a moodle page to accept as agruments and call to create_course() function and it works fine (when i test directly calling to it) . 

My problem is to add a button to "single view" to go that page passing parameters. 


I tried to use a button but I cannot go and it redirect to the "database" view page