- Posts: 70
Course on Sell by Default
- shekar
-
Topic Author
- Offline
- Senior Member
-
Less
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]
Handler Module = auth/joomdle
Handler File = auth/joomdle/auth.php
[mdl_events_handler]
- course_created
- course_deleted
- role_assigned
- role_unassigned
- user_created
- user_updated
- 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
-
Less
More
- Posts: 70
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
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
-
Less
More
- Posts: 70
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.
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.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
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
As it is now, everything is done manually. If you want all auto, you have to code it all
Please Log in or Create an account to join the conversation.
- shekar
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 70
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.
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
-
Less
More
- Posts: 70
15 years 4 months ago - 15 years 4 months ago #26
by shekar

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??????
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.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
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.
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.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7848
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!
Thanks!
Please Log in or Create an account to join the conversation.