How To / General

course enroll through menu item click

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 6 months ago #1 by saman سامان
course enroll through menu item click was created by saman سامان
hi
is it possible to create menu item and when user click on that enroll to course and redirect to that course? i want action such as click on the enroll button on the joomdle courses , for menu item.

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

More
8 years 6 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic course enroll through menu item click
No, there is no menu item like that.

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

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 6 months ago #3 by saman سامان
Replied by saman سامان on topic course enroll through menu item click
i use the joomdle plugin to load simply course enroll button in the menu with use some way(custom module and etc)...and it is work but is it possible to add custom class to each?

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

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 6 months ago - 8 years 6 months ago #4 by saman سامان
Replied by saman سامان on topic course enroll through menu item click
for example we can use :
{joomdlecourse id=3} {joomdlecourse id=3 link_to=detail show_description=1 link_to_course=0 show_language=0 show_startdate=0 show_enroldates=0 show_enrolperiod=0 show_cost=0 show_topicsnumber=0 free_courses_button=enrol paid_courses_button=buy}
for show course. but i want add some class to each one separately (not in the plugin config for all of them) ...
1-if it is not possible now can you say what file need to customize to do that?
2-is it possible to use custom text for each course button?(not same for all in the plugin config)
Last edit: 8 years 6 months ago by saman سامان.

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

More
8 years 6 months ago #5 by Antonio Durán
Replied by Antonio Durán on topic course enroll through menu item click
Hi.

1. Right now you cannot do it. If you were to do it, you would need:
a) Add new parameter in plugins/content/joomdle_content_course/joomdle_content_course.xml
b) Use parameter in plugins/content/joomdle_content_course/joomdle_content_course/tmpl/view.php

2. Sorry, I don't know what you mean here

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

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 6 months ago #6 by saman سامان
Replied by saman سامان on topic course enroll through menu item click
2. i need use "Override button text" for each course separate look at attachment:

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

More
8 years 6 months ago #7 by Antonio Durán
Replied by Antonio Durán on topic course enroll through menu item click
Ah, ok, that would be: override_button_text

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

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 6 months ago #8 by saman سامان
Replied by saman سامان on topic course enroll through menu item click

Antonio Durán wrote: Hi.

1. Right now you cannot do it. If you were to do it, you would need:
a) Add new parameter in plugins/content/joomdle_content_course/joomdle_content_course.xml
b) Use parameter in plugins/content/joomdle_content_course/joomdle_content_course/tmpl/view.php

for add individually css class to each button i need simply add field in joomdle_content_course.xml and simply use that such as other parameter (like Override button text) in the view.php ?
not other thing needed?

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

More
8 years 6 months ago #9 by Antonio Durán
Replied by Antonio Durán on topic course enroll through menu item click
Yes, I think that should be enough.

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

  • saman سامان
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • samansamani2[at]yahoo.com
More
8 years 6 months ago #10 by saman سامان
Replied by saman سامان on topic course enroll through menu item click
hi...i create that for selfuse and i want share it,simply add class for register button if anyone need to use in future can use this modified plugin:

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