- Posts: 253
How To / General
how to create course list with better UI?
- saman سامان
-
Topic Author
- Offline
- Elite Member
-
- samansamani2[at]yahoo.com
Less
More
8 years 8 months ago - 8 years 8 months ago #1
by saman سامان
how to create course list with better UI? was created by saman سامان
hi
i want create something such as this page:
demo.joomdle.com/index.php/courses/course-list
with the joomdle course module.
i create override default.php of tmpl of joomdle course module.but i can't show action button.can you give me a code to render action button in each course?
by default, joomdle show something such as this:
www.joomdle.com/wiki/Modules
www.joomdle.com/wiki/File:J_mod_courses.png
but it is a bit weak UI and i can bring description of each course but i can't bring button. it seems the action button function in the core of joomdle.how can i use that?
i want create something such as this page:
demo.joomdle.com/index.php/courses/course-list
with the joomdle course module.
i create override default.php of tmpl of joomdle course module.but i can't show action button.can you give me a code to render action button in each course?
by default, joomdle show something such as this:
www.joomdle.com/wiki/Modules
www.joomdle.com/wiki/File:J_mod_courses.png
but it is a bit weak UI and i can bring description of each course but i can't bring button. it seems the action button function in the core of joomdle.how can i use that?
Last edit: 8 years 8 months ago by saman سامان.
Please Log in or Create an account to join the conversation.
- saman سامان
-
Topic Author
- Offline
- Elite Member
-
- samansamani2[at]yahoo.com
Less
More
- Posts: 253
8 years 8 months ago #2
by saman سامان
Replied by saman سامان on topic how to create course list with better UI?
ok
it is solved.
for other user in the future:
go to :
mod_joomdle_courses.php LIne 57 and 64 and use this code:
$cursos = JoomdleHelperContent::getCourseList ( 0, $order, $guest_courses_only, $username);
i added $username and with this work you can have a button with "Go to course" in cases user was enrolled in that course.
it is solved.
for other user in the future:
go to :
mod_joomdle_courses.php LIne 57 and 64 and use this code:
$cursos = JoomdleHelperContent::getCourseList ( 0, $order, $guest_courses_only, $username);
i added $username and with this work you can have a button with "Go to course" in cases user was enrolled in that course.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7936
8 years 8 months ago #3
by Antonio Durán
Replied by Antonio Durán on topic how to create course list with better UI?
Hi.
That page uses the Courses view, not the courses module, although creating templates overrides is similar for both.
Here is the doc for this:
www.joomdle.com/wiki/Modifying_Joomdle_look_and_feel
That page uses the Courses view, not the courses module, although creating templates overrides is similar for both.
Here is the doc for this:
www.joomdle.com/wiki/Modifying_Joomdle_look_and_feel
Please Log in or Create an account to join the conversation.