- Posts: 28
Tips & Tricks
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.
[Closed] Display more than the course name in Course module
- Aud
- Topic Author
- Offline
- Junior Member
-
Less
More
14 years 6 months ago - 14 years 6 months ago #1
by Aud
[Closed] Display more than the course name in Course module was created by Aud
Hi there,
I have set up a module, Joomdle courses, it displays the last 5 courses on the home page as it should.
My client is now asking for the list to include other information too, like a description and a sponsor name (the courses are sorted by categories that are the sponsors).
Is there any way of doing this please?
Many thanks
I have set up a module, Joomdle courses, it displays the last 5 courses on the home page as it should.
My client is now asking for the list to include other information too, like a description and a sponsor name (the courses are sorted by categories that are the sponsors).
Is there any way of doing this please?
Many thanks
Last edit: 14 years 6 months ago by Chris.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
14 years 6 months ago #2
by Chris
Replied by Chris on topic [Closed] Display more than the course name in Course module
Where is the information coming from in Moodle? Ie the fields from the moodle course.
Please Log in or Create an account to join the conversation.
- Aud
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
14 years 6 months ago #3
by Aud
Replied by Aud on topic [Closed] Display more than the course name in Course module
Tt is currently displaying the course title, that seems to be the default.
I would like to also display the course summary from moodle.
Thanks
I would like to also display the course summary from moodle.
Thanks
Please Log in or Create an account to join the conversation.
- Aud
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
14 years 6 months ago #4
by Aud
Replied by Aud on topic [Closed] Display more than the course name in Course module
I have found a solution, posting it here in case it is useful:
in file mod_joomdle_courses\tmpl\default.php
echo "<li><a $target href=\"".$moodle_auth_land_url."?username=guest&mtype=course&id=$id&use_wrapper=$open_in_wrapper&Itemid=$itemid\">".$curso."</a></li>".$curso;
i added this at the end, it needs to go in other places lower in the file as it deals with logged in / out scenarios:
.$curso;
in file mod_joomdle_courses\tmpl\default.php
echo "<li><a $target href=\"".$moodle_auth_land_url."?username=guest&mtype=course&id=$id&use_wrapper=$open_in_wrapper&Itemid=$itemid\">".$curso."</a></li>".$curso;
i added this at the end, it needs to go in other places lower in the file as it deals with logged in / out scenarios:
.$curso;
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
14 years 6 months ago #5
by Antonio Durán
Replied by Antonio Durán on topic [Closed] Display more than the course name in Course module
Thanks for sharing. We might add a configuration option to show summary along with the course name.
Please Log in or Create an account to join the conversation.
- Chris
-
- Offline
- Moderator
-
14 years 6 months ago #6
by Chris
Replied by Chris on topic Re: [Closed] Display more than the course name in Course module
Moved to Tips & Tricks
Please Log in or Create an account to join the conversation.