- Posts: 253
course enroll through menu item click
- saman سامان
-
Topic Author
- Offline
- Elite Member
-
- samansamani2[at]yahoo.com
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.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7936
Please Log in or Create an account to join the conversation.
- saman سامان
-
Topic Author
- Offline
- Elite Member
-
- samansamani2[at]yahoo.com
- Posts: 253
Please Log in or Create an account to join the conversation.
- saman سامان
-
Topic Author
- Offline
- Elite Member
-
- samansamani2[at]yahoo.com
- Posts: 253
{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)
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7936
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
-
- samansamani2[at]yahoo.com
- Posts: 253
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7936
Please Log in or Create an account to join the conversation.
- saman سامان
-
Topic Author
- Offline
- Elite Member
-
- samansamani2[at]yahoo.com
- Posts: 253
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 ?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
not other thing needed?
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
- Posts: 7936
Please Log in or Create an account to join the conversation.
- saman سامان
-
Topic Author
- Offline
- Elite Member
-
- samansamani2[at]yahoo.com
- Posts: 253
Please Log in or Create an account to join the conversation.