Course on Sell by Default

  • shekar
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 4 months ago #21 by shekar
Replied by shekar on topic Re: Course on Sell by Default
There are only 7 events as follows

[mdl_events_handler]
  1. course_created
  2. course_deleted
  3. role_assigned
  4. role_unassigned
  5. user_created
  6. user_updated
  7. user_deleted

Handler Module = auth/joomdle
Handler File = auth/joomdle/auth.php

Please Log in or Create an account to join the conversation.

  • shekar
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 4 months ago - 15 years 4 months ago #22 by shekar
Replied by shekar on topic Re: Course on Sell by Default
ok ok ok got its working now.. I have created new row for course_updated event.

thank you so much.. I think we can add this for next release ;)
Last edit: 15 years 4 months ago by shekar.

Please Log in or Create an account to join the conversation.

  • shekar
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 4 months ago #23 by shekar
Replied by shekar on topic Re: Course on Sell by Default
One more thing.../bug

When we delete any course in MOODLE, the course is still remains in VM.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #24 by Antonio Durán
Replied by Antonio Durán on topic Re: Course on Sell by Default
Same thing as always.

As it is now, everything is done manually. If you want all auto, you have to code it all :) You already have creation and update, so only thing left is removal ;)

Please Log in or Create an account to join the conversation.

  • shekar
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 4 months ago - 15 years 4 months ago #25 by shekar
Replied by shekar on topic Re: Course on Sell by Default
DONE

If auto_sell is enabled
Able to create course in VM
Able to update course in VM
Able to delete course in VM

Without any intervention in Joomla, thank you so much for all your support.
Last edit: 15 years 4 months ago by shekar.

Please Log in or Create an account to join the conversation.

  • shekar
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 4 months ago - 15 years 4 months ago #26 by shekar
Replied by shekar on topic Re: Course on Sell by Default
:(

In MOODLE, there is one feature available for Bulk course uploading, when I use this method it's not triggering the event "course_created" so the courses are not publishing automatically in VM.


Any help??????
Last edit: 15 years 4 months ago by shekar.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #27 by Antonio Durán
Replied by Antonio Durán on topic Re: Course on Sell by Default
I don't know why, but Moodle don't call events when doing bulk upload.
At least taht is what happens for users, I guess is the same for courses.

So, to sum up: it cannot be done.

Please Log in or Create an account to join the conversation.

More
15 years 4 months ago #28 by Antonio Durán
Replied by Antonio Durán on topic Re: Course on Sell by Default
BTW, please send your mods, so we can include them for next release.

Thanks!

Please Log in or Create an account to join the conversation.